Hi, I've found problem in gallery behaviour in JA Resume template. When I click on image it appears on screen as usual (with next, previous and close buttons), but when I click on it's title, it opens in new window instead. That means it replaces our website and has no navigation buttons. Is it possible to disable this behaviour? This is also true for demo on your website, so it isn't caused by Joomla settings on our side. Thank you.

    dtp386

    You can disable link for title / description of image with this tweak:

    1) Go to file: /templates/ja_resume/acm/gallery/tmpl/style-1.php
    2) Line 58-65:

    <div class="item-image-content">
    <?php if($helper->get ('gallery.title', $i)) : ?>
    <h3 class="title"><a href="<?php echo $helper->get ('gallery.img', $i) ?>"><?php echo $helper->get ('gallery.title', $i) ?></a></h3>
    <?php endif ; ?>
    <?php if($helper->get ('gallery.desc', $i)) : ?>
    <p class="desc"><a href="<?php echo $helper->get ('gallery.img', $i) ?>"><?php echo $helper->get ('gallery.desc', $i) ?></a></p>
    <?php endif ; ?>
    </div>

    change to this:

    <div class="item-image-content">
    <?php if($helper->get ('gallery.title', $i)) : ?>
    <h3 class="title"><?php echo $helper->get ('gallery.title', $i) ?></h3>
    <?php endif ; ?>
    <?php if($helper->get ('gallery.desc', $i)) : ?>
    <p class="desc"><?php echo $helper->get ('gallery.desc', $i) ?></p>
    <?php endif ; ?>
    </div>

    Thank you, we fixed it using your tweak and it works now.

    Write a Reply...
    You need to Login to view replies.