-
AuthorPosts
-
June 25, 2011 at 6:00 pm #165648
Hi
I get this error when I enable the slideshow.
Fatal error: Call to undefined method SmartTrim::mb_trim() in /home/xxx/modules/mod_jaslideshow2/helper.php on line 261
Uncommenting the line works, but I’m afraid I could be breaking something else.
Help
thangnn1510 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
June 27, 2011 at 8:43 am #398604Hi villagesquare!
Please try to open /home/xxx/modules/mod_jaslideshow2/helper.php and replace
if (function_exists ( 'mb_substr' )) {
$row->introtext1 = SmartTrim::mb_trim ( $row->introtext, 0, $maxchars, $doc->_charset );
} else {
$row->introtext1 = SmartTrim::trim ( $row->introtext, 0, $maxchars );
}
with
$row->introtext1 = JString::substr( strip_tags($row->introtext), 0, $maxchars );
Tell me the result please.July 4, 2011 at 4:55 am #399752Unfortunately this is not helping much. The slideshow image is there, but with no Title nor Intro Text. I’ve attached the image for you to see
thangnn1510 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
July 5, 2011 at 7:08 am #399891Hi Philip!
The Slideshow missing title and description because you have some missing in configuration of this module. Please follow this:
http://www.joomlart.com/forums/topic/ja-community-plus-userguide-old/
from
(2) JA Slideshow 2 module
To make sure all settings are correct.
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 2 voices, and was last updated by thangnn1510 13 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
JA Slideshow error /SmartTrim:
Viewing 4 posts - 1 through 4 (of 4 total)