Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • edd Friend
    #206011

    Hi there

    I’m displaying images in the Ja content slider and by default the image links to the article and I need to avoid that, I mean: I dont not want that the image links anywhere.
    My image is not linking anywhere, my image is a simple image, so why it creates a link.
    In the admin: Extensions > Module Manager > Ja content slider, there is no option for it, just to avoid link the title but not the image.

    So, please, could some one tell me how can I avoid the link in the image?

    Thanks a lot

    Saguaros Moderator
    #569286

    Hi edd,

    By default, the image inside this JA Content Slider module will be linkable. If you want to remove it, you can open the file: ROOT/modules/mod_jacontentslider/helper.php

    Then look for this function renderImage and comment this line of code:
    [PHP]
    $image = ‘<a href=”‘ . $link . ‘” title=”” class=”ja-image”>’ . $image . ‘</a>’;
    [/PHP]

    And clean all caches once done.

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

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 4 years, 6 months ago.

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