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

    Is there a way to remove the photo resizer from JA ContentSlide so I can create my own thumbnails?

    Also, how do I move the link below each photo?

    Thanks.

    Anonymous Moderator
    #330732

    Hi torenewa

    For the case, please open modulesmod_ja_contentslidetmpldefault.php file, find following code section to change:

    <?php foreach( $contents as $contn ) { ?>
    <?php

    $link = modJaContentslideHelper::articleLink( $contn );

    $contn->text = $contn->introtext;
    $mainframe->triggerEvent( 'onPrepareContent', array( &$contn, &$params, 0 ) , true );
    $contn->introtext = $contn->text;

    $image = modJaContentslideHelper::replaceImage( $contn, $params->get( 'numchar' ),
    $params->get( 'showimages' ),
    $params->get( 'iwidth' ),
    $params->get( 'iheight' ) );

    ?>
    <div class="content_element">
    <?php if( $params->get( 'showtitle' ) ) { ?>
    <div class="ja_slidetitle">
    <?php echo ($params->get( 'link_titles' ) ) ? '<a href="'.$link.'" title="">'.$contn->title.'</a>' : $contn->title;?>
    </div>
    <?php } ?>
    <?php if( $params->get( 'showimages' ) ) { ?>
    <div class="ja_slideimages clearfix">
    <?php echo '<a href="'.$link.'" title="">'.$image.'</a>'; ?>
    </div>
    <?php } ?>

    <?php if( $params->get( 'showintrotext' ) ) { ?>
    <div class="ja_slideintro">
    <?php echo ( $params->get('numchar') ) ? $contn->introtext1 : $contn->introtext; ?>
    </div>
    <?php } ?>

    <?php if( $params->get('showreadmore') ){ ?>
    <div class="ja-slidereadmore">
    <a href="<?php echo $link;?>'" class="readon"><?php echo JTEXT::_('READMORE');?></a>
    </div>
    <?php } // endif;?>
    </div>
    <?php } //endforeach; ?>

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

This topic contains 2 replies, has 2 voices, and was last updated by Anonymous 14 years, 11 months ago.

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