Forums / Setup & design / Determing Body length

"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".

Determing Body length

Author Message

Rick van Lieshout

Wednesday 23 April 2003 9:11:37 am

Hi,

I wanna use the Article class for News messages, however not all the messages will have a Body. This implies not all the messages having a "Read more..." link.

The question however is how to determine the length of the body identifier from 'line_class_2.tpl'? Any ideas? I could not find a usefull operator to do this.

Paul Borgermans

Thursday 24 April 2003 10:08:03 am

use the count operator, this will return the string length in case of a string

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans