Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • arckoo Friend
    #171635

    Hello,

    I like to adjust the lenght of the description in the JA Slideshow2 module (using Joomla 1.5.23 / JA Rave)
    Logical thinking made me think I just change the parameters in the module: Description Max Length >> 500 (for example)
    But that didn’t do the trick.

    Is there something I can change in a file or something?
    Any help much appreciated!

    Arnoud.

    khoand Friend
    #428953

    You replace this code from /modules/mod_jaslideshow2/tmpl/default.php


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

    with


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

    arckoo Friend
    #429024

    Thanks for the quick reply!

    I’m afraid that didn’t do the trick though: I replaced the code, double checked it, but the description is still limited to just half of the lenght of the image. Beside the code, is there maybe anything else I need to adjust?

    khoand Friend
    #429077

    Could you give me username+password of your backend and ftp? I will check it.

    arckoo Friend
    #465655

    It would’ve been easier if the solution to this problem was mentioned. Besides the fact that it is not logical that the description doesn’t use the whole length and it being strange the parameters in the backend don’t seem to work, there is still no solution to this problems for other like myself.

    Ninja Lead Moderator
    #465748

    Please try to it

    <blockquote>From Image setting: 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 Image setting: modules/mod_jaslideshow2/tmpl/default_articles.php is still support with script</blockquote>

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

    If you have still error please send PM me with URL, admin access and FTP account. I will help you solve it

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

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

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