Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • MarHaj Friend
    #961367

    There is another simpler possibility – using built in Joomla! function:

    Substitute code

    <?php echo $this->item->introtext; ?>

    with (180 is an example limit)

            <?php echo JHtml::_('string.truncate', ($this->item->introtext), 180); >
    Ninja Lead Moderator
    #961824

    @marhaj: Thank you for sharing

    Spell Friend
    #963504

    @marhaj and @ninja Lead, where in Teline V should i use the above code so all my articles across thw whole page to have limits? in templatesja_teline_vhtmllayoutsjoomlacontentitemdefault.php ?

    Ninja Lead Moderator
    #963688

    @spell: We have been worked on both files of Purity iii and JA Decor templates.

    templates/purity_iii/html/com_content/category/xblog_item.php
    templates/ja_decor/html/com_content/category/masonry_item.php

    and you can apply about that to templates/ja_teline_v/html/layouts/joomla/content/item/default.php file if you want

    from

    <?php echo $item->introtext; ?>

    to

    <?php echo JHtml::_('string.truncate', ($item->introtext), 180); ?>
    Spell Friend
    #963853

    Did the change . Regretfully it didnt work. 🙁

    Is there a module or compoment that does this?

    Ninja Lead Moderator
    #964111

    @spell: Please let me know where do you need to limit the text on your site and besides that, don’t forget to give me the URL and admin login backend of your site via private reply. I will check directly on your site.

    Spell Friend
    #964210
    This reply has been marked as private.
    Ninja Lead Moderator
    #964480

    I’m not experiencing with this plugin and you need to content owner plugin and maybe you will get best answer from their.

Viewing 8 posts - 16 through 23 (of 23 total)

This topic contains 22 replies, has 6 voices, and was last updated by  Ninja Lead 7 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum