Forums / Setup & design / Xml block max lines/characters

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Xml block max lines/characters

Author Message

Fou Jino

Monday 23 May 2011 6:02:13 am

Hi everyone,

If it's possible to specified a max characters or lines of a xml block datatype like the text line datatype ?

Thanks in advance !

Foujino ~ http://www.foujino-blog.be

Marko Žmak

Monday 23 May 2011 6:38:04 am

Not by default.

You could do an extension that does it (via content edit handlers), but think about what it implies. XML block can have a a lot of different formating and tags (bold, italic, links, images, tables...).

You could be abkle to count the characters (by stripping away the tags) but how would you count the lines with all this?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth