Keyword

Advanced Search

Search Results (Searched for: IntroText words limit not working while selecting)

  • Lefteris
  • Lefteris's Avatar
02 Jul 2012 16:19

[SOLVED] IntroText words limit not working while selecting

Category: English K2 Community

@Trister

Ensure that the paramaters are OK. Also make sure that you have not set your category to inherit it's settings from another one which doesn't have the relative setting enabled.
  • Trister
  • Trister's Avatar
01 Jul 2012 02:31
  • william white
  • william white's Avatar
30 Jun 2012 22:39

[SOLVED] IntroText words limit not working while selecting

Category: English K2 Community

You should probably call that helper line before the echo statement, as it looks to be a string trim function of sorts
  • Trister
  • Trister's Avatar
30 Jun 2012 20:19 - 30 Jun 2012 20:21

[SOLVED] IntroText words limit not working while selecting

Category: English K2 Community

I'm also having the same problem with introtext not working.

I haven't touched any settings, just installed, create a category, and 2 items. I've set the home page to point to this one and only category. The only setting I changed was to add 100 to the intro text but, it shows the whole thing still.

I've read the forums and it says to change the template with the below code.

FROM:
<?php if($params->get('itemIntroText')): ?> <?php echo $item->introtext; ?> <?php endif; ?>
TO:
<?php if($params->get('itemIntroText')): ?> <?php echo K2HelperUtilities::wordLimit($item->introtext,30); ?> <?php endif; ?>

I've looked around and the only place I found this code was in modules/mod_k2_content/tmpl/default/default.php

But when I changed this, it still showed the whole article. Is there something I'm missing or maybe it's a different file I should be editing?
  • Lefteris
  • Lefteris's Avatar
25 Jun 2012 13:02

[SOLVED] IntroText words limit not working while selecting

Category: English K2 Community

Hi. Anyone facing these issues please ensure that:
1. You have correctly setup the settings for the desired category.
2. You have not messed up the settings inheritance.

In any case you can always apply the word limit in your template overrides by calling the following code:

K2HelperUtilities::wordLimit($item->introtetx, 100);
  • Manoj Goel
  • Manoj Goel's Avatar
25 Jun 2012 11:40

[SOLVED] IntroText words limit not working while selecting

Category: English K2 Community

I had a bad experience on K2 Forum, whenever I asked for any help on this forum, nobody has responded ever. So, I decided not to share my solutions.
At least developers must have a support forum, at least paid one if not free.
  • ghog
  • ghog's Avatar
24 Jun 2012 09:31

[SOLVED] IntroText words limit not working while selecting

Category: English K2 Community

@ Manoj, are you saying that you want to be paid to share the solution? I don't see any offers from you to pay for the solution when you were requesting help.

If anyone with the spirit of sharing knows how to do this please share as I have the same issue.
  • Manoj Goel
  • Manoj Goel's Avatar
23 Jun 2012 08:53

[SOLVED] IntroText words limit not working while selecting

Category: English K2 Community

Paid solution is available, if you need you may contact me, see my profile for my email.
  • Mandy
  • Mandy's Avatar
22 Jun 2012 18:35

[SOLVED] IntroText words limit not working while selecting

Category: English K2 Community

I am also experiencing the same issue with K2 and joomla 2.5. does anyone know how to fix the intro text not displaying properly issue?
  • david craig
  • david craig's Avatar
06 Jun 2012 21:40

[SOLVED] IntroText words limit not working while selecting

Category: English K2 Community

Hi Manjo

Glad you found a soulution. Can you share what you found as I am experiencing the same issue?

Thnaks
  • Manoj Goel
  • Manoj Goel's Avatar
06 Jun 2012 11:09

[SOLVED] IntroText words limit not working while selecting

Category: English K2 Community

I found the solution.

Thanks to all those who tried to solve this problem.
BK Manoj Goel
  • Manoj Goel
  • Manoj Goel's Avatar
05 Jun 2012 14:44
  • Manoj Goel
  • Manoj Goel's Avatar
05 Jun 2012 08:13

[SOLVED] IntroText words limit not working while selecting

Category: English K2 Community

IntroText words limit not working while selecting multiple categories for Home Page

I have a Articles directory freearticles.mohul.com built on Joomla 1.5 and K2 2.5.0 that I am redesigning on Joomla 2.5.4 and K2 2.5.7, but facing following problem:
I have lots of categories at level1 and level2. All these categories inherit the parameters from 1 category at level1. These categories have their respective menus. Category view of individual categories is working fine. It is showing their respective items/articles list with Introtext as par my specified words limit.
Check here: mohul.com/articles/index.php/advertising
Or mohul.com/articles/index.php/arts-and-entertainment
It is showing items/articles as I want.
But for Home page I have selected multiple categories to display all items/articles under these selected categories with Introtext and my specified word limit in categories parameter. But it is not showing the result as expected.
It is displaying all articles with whole text(full articles). It is not limiting the Introtext as set in parameters.
Check Here: mohul.com/articles/
But my older site on Joomla 1.5 with same setting is working fine (it should look like this one)
Check Here: freearticles.mohul.com
Same is the problem with Author pages
Check Here: mohul.com/articles/index.php/component/k2/itemlist/user/42-superuser
But working fine on my older site
Check Here: freearticles.mohul.com/author/dave-sprint
I don’t understand why Introtext words limit is not working while selecting multiple categories or on Author pages, may be some PHP code error in latest version.
Is there anybody else who is also facing the same problem?
Other Info:
Server PHP: 5.3.8
Using Single Editor Window as Introtext and FullText.

Any Help will be highly appreciated.
Thanks in Advance
Manoj Goel
Displaying 21 - 33 out of 33 results.

Powered by Kunena Forum