Friday 28 May 2010 3:48:39 am
Ok, so I've created a 'red more' link. No problem. But I need to limit the number of words from the intro text. E.g. I only want to display the first 15 words followed by '...' and then 'Read more'. Are there any functions in eZ for this? If not, I'm thinking of creating a function which reads the string (intro text), explodes it, and output the first 15 words. I've already created such a function in PHP for a Wordpress template. But how would I go about doing the same using the eZ "language"?
|