Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • tiganita Friend
    #865376

    Hello,

    I’m trying to set a limit for the intro text at the "K2 latest items".
    I could fix a limit to a category (list) and there it works perfectly fine.
    But I can’t get it to work on the latest items, it always show the full text.
    Using the "Read more" link at the editor screws up my layout and I’d like to have it automatically set for all items.

    Did I miss anything?

    Regards
    tiganita

    Pankaj Sharma Moderator
    #867333

    Hi
    The article introtext is work as per the readmore added in the item . You need to add readmore in editor to show the introtext .
    Could u provide details what issue you are getting when using readmore with site details and screenshot where i can check it .
    I also found the a thread on K2 forum to limit the introtext here is it can help u to edit the code for introtext.

    tiganita Friend
    #868123

    Hi Pankaj,

    thank you for your reply. I actually tried this one already, but it didn’t have any effect.
    The result while using the "readmore" button is shown in the screenshot.

    Any guess?


    1. FireShot-Screen-Capture-002
    Pankaj Sharma Moderator
    #868517

    Hi
    kindly submit your site super user admin details via private reply and provide me the menu item details .
    I will check the issue directly on your site .

    tiganita Friend
    #869081
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #869971

    Hi
    The username/password for admin panel is not valid .
    Please check the provide the working site admin details .http://prntscr.com/9vjsb8

    tiganita Friend
    #870066

    Hi,

    It should work now.

    Pankaj Sharma Moderator
    #870316

    Hi
    I applied the The readmore in the item and its working fine at front end .
    Here : http://prntscr.com/9vsedw
    Frontend : http://prntscr.com/9vsel4

    Also i set the word limit for intro text . You can check it on your site .

    Changes here: "/html/com_k2/templates/ja_blazes_blog/latest_item.php" in template "ja_blazes".
    I changed this code

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

    into

    <?php echo K2HelperUtilities::wordLimit($this->item->introtext, 40); ?>
    

    Word limit is working fine on your site > http://prntscr.com/9vsg8u

    tiganita Friend
    #870930

    Hi Pankaj,

    thanks a lot.
    I did these things befor, cleaned cache, T3 cache and browser cache and it looked weird. Somehow it works now. I don’t know why.
    Thanks again.

    nightmare1942

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 8 replies, has 2 voices, and was last updated by  tiganita 3 years, 2 months ago.

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