-
AuthorPosts
-
May 13, 2009 at 2:23 pm #141153
Is it possible to set a Max Words rather than Max Chars value in the Ja News and JA News Frontpage module?
When set max chars, last word is breaking and it’s looking not good. I think Max Words will be better solution.Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
May 22, 2009 at 9:12 am #305501Hi
For the last long time, a user have asked me about this issue. I supported him to he can change to Max Words.
Please kindly try to check this thread in the forum.
May 22, 2009 at 10:48 am #305526Thanks for your answer, but I’m searching and searching and can’t find this thread 🙁
Could you find this for me please?Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
May 23, 2009 at 7:37 am #305618Hi
Please backup your code and change hepler.php and blog_item.php file by my attachment file.
+ modules/mod_janews/helper.php
+ modules/mod_janews/tmpl/blog_item.php
2 users say Thank You to JA Developer for this useful post
May 23, 2009 at 11:08 am #305646Great job 😀 but I have template Ja Vauxite and this file: blog_item.php in template folder need modification, because I have this error:
Fatal error: Call to undefined method modJaNewsHelper::getallcatidsbycat() in /xxx/templates/ja_vauxite/html/mod_janews/blog_item.php on line 26
And one more request 🙂 please make Max Words in Ja News Frontpage Module (with Ja Vauxite template)
edroga Friendedroga
- Join date:
- March 2009
- Posts:
- 30
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 2
- Thanked:
- 2 times in 1 posts
June 10, 2009 at 8:51 am #307498great, but I still have a question on what to do by the end of the text there are three dots (…) ?
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
June 11, 2009 at 11:40 am #307646Hello, please answer with my error:
Fatal error: Call to undefined method modJaNewsHelper::getallcatidsbycat() in /xxx/templates/ja_vauxite/html/mod_janews/blog_item.php on line 26
I need this very much 🙁edroga Friendedroga
- Join date:
- March 2009
- Posts:
- 30
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 2
- Thanked:
- 2 times in 1 posts
June 12, 2009 at 8:22 am #307697Thanks, but I still have a problem, only dots appear in mod_janews on the homepage, after passing through a particular section, unfortunately, they do not already have, just not displayed on the main page in mod_janews_fp
edroga Friendedroga
- Join date:
- March 2009
- Posts:
- 30
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 2
- Thanked:
- 2 times in 1 posts
June 15, 2009 at 9:20 am #307948ok already solved the problem, simply replace the file on helper.php
[PHP]$row->introtext1 = SmartTrim::separate_word($row->introtext, $maxchars);[/PHP]
change to:
[PHP]$row->introtext1 = SmartTrim::separate_word($row->introtext, $maxchars) . ‘…’;[/PHP]
2 users say Thank You to edroga for this useful post
cansay Friendcansay
- Join date:
- February 2010
- Posts:
- 183
- Downloads:
- 2
- Uploads:
- 32
- Thanks:
- 20
- Thanked:
- 19 times in 1 posts
May 8, 2010 at 10:49 pm #343052<em>@edroga 132768 wrote:</em><blockquote>ok already solved the problem, simply replace the file on helper.php
[PHP]$row->introtext1 = SmartTrim::separate_word($row->introtext, $maxchars);[/PHP]
change to:
[PHP]$row->introtext1 = SmartTrim::separate_word($row->introtext, $maxchars) . ‘…’;[/PHP]</blockquote>
COOL that you reply back in the thread 😉
June 25, 2010 at 12:01 am #348002Hi,
I have the same problem here. I’m trying to download the attached file but seems to be not available any more. Can you please upload again the attached file?
July 2, 2010 at 11:09 pm #348841Solved now, works perfect for me, thanks a lot.
January 14, 2012 at 9:55 am #433830why isn’t this a standard feature yet after so many years…. we had to do a modification like this 3 yrs ago in Teline 2, and it is still not default behaviour… guess what Joomlart, people don’t want to read broken off words, it looks amate…
…ur
:p
-
AuthorPosts
This topic contains 14 replies, has 6 voices, and was last updated by chloregy 12 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum