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

    I am just wondering if there is a way I can create a custom link using the JA Side News extension. I currently use JA Side News to link to my content articles, but I would like to also use it to link it to some of my properties that I advertise on my site (using the Jomres component). For example I would like to keep the same styling but I want to create a link for “Villas with Pools” (url: http://www.naarzuidfrankrijk.com/vakantiehuizen-franrijk/villas-met-zwembad-frankrijk) so when visitors click on an image they will go to the Jomres component.

    Ninja Lead Moderator
    #532082

    JA SlideNews module does not support custom link by default. If you are familiar with coding, you can customise from php file.

    Open the templates/ja_mero/html/mod_jasidenews/sidenews_content.php file and change the link in red.

    <?php foreach( $list as $i => $item ) :
    $item->text = $item->introtext . $item->fulltext;
    $onclick = ' onclick="location.href=''.$item->link.''"';
    ?>

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

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

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