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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.