test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • arckoo Friend
    #180322

    How to change the lenght of the description of JA Slideshow 2 in JA Rave (Joomla v1.5.23)? I know I need to update it and am working on it too, but until then…

    I tried changing the maxchar parameters in helper.php from 60 to 180, but didn’t help.
    I also tried changing this code:

    <div class=”ja-slide-desc”><?php echo $desc?></div>

    to this code:

    <div class=”ja-slide-desc”><?php echo $helper->trimString( $desc, $descMaxChars, $includeTags );?></div>

    in default.php and I tried both solutions at the same time, without luck.

    Ninja Lead Moderator
    #465698

    May be you changed wrong file

    <blockquote>From Image: modules/mod_jaslideshow2/tmpl/default.php </blockquote>

    <?php foreach($captionsArray as $desc) {?>
    <div class="ja-slide-desc"><?php echo $desc?></div>
    <?php }?>

    change to

    <?php foreach($captionsArray as $desc) {?>
    <div class="ja-slide-desc"><?php echo $helper->trimString( $desc, $descMaxChars, $includeTags );?></div>
    <?php }?>

    <blockquote>From Article: modules/mod_jaslideshow2/tmpl/default_articles.php file is still support it</blockquote>

    <?php echo $helper->trimString( $item->introtext, $navDescmaxlength, $includeTags ); ?>

    If you have still the same error please send PM me with URL, admin access and FTP account, i will help you out of

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

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 12 years, 3 months ago.

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