-
AuthorPosts
-
January 22, 2016 at 2:19 pm #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
tiganitaPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 25, 2016 at 2:59 am #867333Hi
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.January 25, 2016 at 7:14 pm #868123Hi 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?
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 26, 2016 at 5:22 am #868517Hi
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 .January 26, 2016 at 6:57 pm #869081This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 27, 2016 at 4:27 pm #869971Hi
The username/password for admin panel is not valid .
Please check the provide the working site admin details .http://prntscr.com/9vjsb8January 27, 2016 at 6:23 pm #870066Hi,
It should work now.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 28, 2016 at 4:19 am #870316Hi
I applied the The readmore in the item and its working fine at front end .
Here : http://prntscr.com/9vsedw
Frontend : http://prntscr.com/9vsel4Also 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
January 28, 2016 at 8:31 pm #870930Hi 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
AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 8 replies, has 2 voices, and was last updated by tiganita 8 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Latest Items – Intro Text
Viewing 9 posts - 1 through 9 (of 9 total)