Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • gmanikumar Friend
    #189822

    How can I change the hyperlinks of the slideshow module?

    I want to manually edit the Read more button to point to a different page. I also wish to remove the hyperlink of the heading.

    Will appreciate any help.

    Thanks,
    Gopal

    Ninja Lead Moderator
    #502676

    Hi Gopal,

    This way will help you to change it

    + Open modules/mod_jaslideshow/tmpl/default_articles.php file

    from

    <a <?php echo $target; ?> class="readon readmore" href="<?php echo $item->link; ?>">

    change to

    <a <?php echo $target; ?> class="readon readmore" href="<?php echo "your_manual_link"; ?>">

    Remember to clear cache from Admin area

    gmanikumar Friend
    #502697

    That did the trick! I do have one more question. How can I change the hyperlink for the images? When I click on the images, it still leads to those pages. Thank you.

    Ninja Lead Moderator
    #502775

    You can follow my below solution, it helps you to change the hyperlink for the images

    Open modules/mod_jaslideshow/mod_jaslideshow.php file

    find

    <blockquote>$urls[] = $lis->link;</blockquote>

    And you can re-define $lis->link.

    Always remember to clear cache from the Admin area after apply any changes

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

This topic contains 4 replies, has 2 voices, and was last updated by  Ninja Lead 10 years, 9 months ago.

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