test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • joev Friend
    #149425

    Regarding the SlideShow2 component, each time I try to launch an article by clicking on the description or read-more button, the following error occurs below.

    Is this because I’m running my test site locally using wamp? Is there a way to get the article link working when running a locally versus on a hosted server? Thanks!

    You don’t have permission to access /test/<br /><b>Notice</b>: Undefined variable: row in <b>C:/wamp/www/test/modules/mod_jaslideshow2/tmpl/default_articles.php</b> on line <b>14</b><br /><br /><b>Notice</b>: Trying to get property of non-object in <b>C:/wamp/www/test/modules/mod_jaslideshow2/tmpl/default_articles.php</b> on line <b>14</b><br /> on this server.

    Saguaros Moderator
    #336042

    pls update the source code your files /modules/mod_jaslideshow2/tmpl/default_articles.php

    [PHP]<div class=”ja-slidewrap<?php echo $params->get(‘moduleclass_sfx’);?> ja-<?php echo $source;?>” id=”ja-slide-articles-<?php echo $module->id;?>” style=”visibility:hidden”>
    <div class=”ja-slide-main-wrap<?php echo ($navAlignment == ‘vertical_left’ ? ‘ ja-slide-right’ : ” )?>”>
    <div class=”ja-slide-mask”>
    </div>
    <div class=”ja-slide-main”>
    <?php foreach( $list as $k=> $item ) :
    // parse image in the article’s content.
    $helper->parseImages( $item, $params );
    $list[$k] = $item;
    ?>
    <div class=”ja-slide-item”>
    <?php echo $helper->renderImage ($item->title, $item->mainImage, $params, $mainWidth, $mainHeight );?>
    <?php if ( $showdescwhen == ‘always’ ):?>
    <div class=”ja-slide-desc”>
    <a <?php echo $target; ?> href=”<?php echo $item->link; ?>”>
    <span><?php echo $helper->trimString( $item->title, $titleMaxChars );?></span>
    </a>
    <p><?php echo $helper->trimString( strip_tags($item->introtext), $descMaxChars ); ?></p>
    <?php if ($showDescription==’desc-readmore’): ?>
    <a <?php echo $target; ?> class=”readon readmore” href=”<?php echo $item->link; ?>”>
    <?php echo $readmoretext;?>
    </a><?php endif; ?>
    </div>
    <?php endif; ?>
    </div>
    <?php endforeach; ?>
    </div>

    <?php if ( $animation==’move’ && $container ) :?>
    <div class=”but_prev ja-slide-prev”></div>
    <div class=”but_next ja-slide-next”></div>
    <?php endif; ?>

    <!– JA SLIDESHOW 3 MARK –>
    <div class=”maskDesc”>
    <div class=”inner”>

    </div>
    </div>
    </div>
    <!– END JA SLIDESHOW 3 MARK –>
    <?php if( $showDescription && $showdescwhen != ‘always’ ) : ?>
    <div class=”ja-slide-descs”>
    <?php foreach( $list as $item ) : ?>
    <div class=”ja-slide-desc”>
    <a <?php echo $target; ?> href=”<?php echo $item->link; ?>”>
    <span><?php echo $helper->trimString( $item->title, $titleMaxChars );?></span>
    </a>
    <p><?php echo $helper->trimString( strip_tags($item->introtext), $descMaxChars ); ?></p>
    <?php if ($showDescription==’desc-readmore’): ?>
    <a <?php echo $target; ?> class=”readon readmore” href=”<?php echo $item->link; ?>”>
    <?php echo $readmoretext;?>
    </a><?php endif; ?>
    </div>
    <?php endforeach; ?>
    </div>
    <?php endif; ?>

    <!– JA SLIDESHOW 3 NAVIAGATION –>
    <?php if ( $navigation ): ?>
    <div class=”ja-slide-thumbs-wrap<?php echo $classNav;?>”>
    <div class=”ja-slide-thumbs”>
    <?php foreach( $list as $key => $item ) : ?>
    <div class=”ja-slide-thumb”>
    <?php if ($navigation==’thumbs’){?>
    <div class=”ja-slide-thumb-inner”>
    <?php if( $navShowthumb ) : ?>
    <?php echo $helper->renderImage ( $item->title, $item->thumbnail, $params,
    $thumbWidth, $thumbHeight, ‘align=”left”‘ ); ?>
    <?php endif; ?>
    <h3><?php echo $helper->trimString( $item->title, $titleMaxChars );?></h3>
    <?php if( $navShowDate ) : ?>
    <span class=”ja-createdate clearfix”>
    <?php echo JTEXT::_(“POSTED DATE”). ”  “. JHTML::_(‘date’, $item->date, JText::_(‘DATE_FORMAT_LC4’)); ?>
    </span>
    <?php endif; ?>
    <?php if( $navShowdesc ): ?>
    <?php echo $helper->trimString( strip_tags($item->introtext), $navDescmaxlength ); ?>
    <?php endif; ?>
    </div>
    <?php }else{?><span><?php echo ($key+1);?></span><?php } ?>
    </div>
    <?php endforeach; ?>
    </div>

    <div class=”ja-slide-thumbs-mask” style=” display:none “>
    <div class=”ja-slide-thumbs-mask-left”> </div>
    <div class=”ja-slide-thumbs-mask-center”> </div>
    <div class=”ja-slide-thumbs-mask-right”> </div>
    </div>

    <p class=”ja-slide-thumbs-handles”>
    <?php foreach( $list as $item ) : ?>
    <span> </span>
    <?php endforeach; ?>
    </p>
    <!– JA SLIDESHOW 3 NAVIAGATION –>

    </div>
    <?php endif; ?>
    <!– JA SLIDESHOW 3 BUTTONS CONTROL –>
    <?php if ($control): ?>
    <div class=”ja-slide-buttons clearfix”>
    <span class=”ja-slide-prev”>« <?php echo JText::_(‘PREVIOUS’);?></span>
    <span class=”ja-slide-playback”>‹ <?php echo JText::_(‘PLAYBACK’);?></span>
    <span class=”ja-slide-stop”><?php echo JText::_(‘STOP’);?></span>
    <span class=”ja-slide-play”><?php echo JText::_(‘PLAY’);?> ›</span>
    <span class=”ja-slide-next”><?php echo JText::_(‘NEXT’);?> »</span>
    </div>
    <?php endif; ?>

    </div>
    [/PHP]

    joev Friend
    #336105

    Hi Tienhc. Thanks so much for the quick update. I applied the code above and it did resolve the error that I was receiving. However, when I click on the Title or Read More button, it looks like it attempts to load the article (I can see the link in the browser status bar) but nothing happens. It simply returns back to the next image in the slide show. Any ideas?

    Anonymous Moderator
    #336180

    Hi Joev,

    Your membership has been expired already. For our further technical support, please kindly renew your membership.

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

This topic contains 4 replies, has 3 voices, and was last updated by Anonymous 14 years, 9 months ago.

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