Keyword

Only Show Read More if Article has ReadMore Divide

More
10 years 10 months ago - 10 years 10 months ago #61177 by Bart Baetens
I did exactly the same and it didn't work. I also tested if the length of fulltext was bigger than the introtext with mb_strlen and it appeared that the length of the introtext was as expected, but the length of fulltext was always zero. Any ideas how I can test the length of fulltext, because than I can solve it using:

<?php if ($this->item->params->get('catItemReadMore') && (mb_strlen($this->item->fulltext) > mb_strlen($this->item->introtext))): ?>

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum