test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • kidi Friend
    #181245

    Hello,

    The clic on Ja contentslider go to an article or show image from folder.

    For “win” one clic I would want a direct link to an external url (different to each hôtel).

    It’s very important.

    How can I do it ?

    Than you in advance for your help.

    Have a good day.


    1. ExternalUrl
    swissa Friend
    kidi Friend
    #469323

    Hello swissa

    Thank you for the link.

    I wishes you an excellent day.

    kidi Friend
    #469408

    Hello,

    I’m not very well in english but understand how change the code (I hope).

    So in the modules/mod_jacontentslider/helper.php files I change the line :

    } else {
    $image = '';
    }

    $image = '<a href="index.php/showcase/item-page" title="Sample Item Page" class="ja-image">' . $image . '</a>';
    // clean up globals
    return $image;
    }

    But, sorry for my question, after, how add a different link to an external url for each image (or text) under each content on the content slider ?

    It’s certainly an easy question, but I doesn’t know the answer

    Thank you for your help.

    Have a good evening.

    Ninja Lead Moderator
    #469611

    You can do that but pls clarify the following:

    1) Do you get the list content and link from com_content or K2component on JA Contentslider module?
    2) Where do you put external link on com_content or K2 component?

    You can make array external link matching with array data of JA Contentslider module and change the link. Look at attachment file.


    1. Code_render
    kidi Friend
    #471271

    Hello Ninja Lead,

    1) on JA Contentslider module I use com_content
    On the article concerning, i add an external link on the image.

    Thank you for your help and the code printscreen, but is it possible to add external link without enter on code ?

    I want add a different content slider, depending of page (one page = one town = one content slider concerning the hotels of the the town)

    Than you for your help.

    Ninja Lead Moderator
    #471331

    I have checked and feel sorry that your request exceeds the scope of our service. But i give you suggest
    <blockquote>Open modules/mod_jacontentslider/helper.php file</blockquote> and find

    function getListContent($catid, $params)
    and customize on this script

    $data[$i]->image = modJacontentsliderHelper::renderImage($row->title, $data[$i]->link, $image, $params, $params->get('iwidth'), $params->get('iheight'));
    Hope help you out of it

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

This topic contains 7 replies, has 3 voices, and was last updated by  Ninja Lead 12 years, 1 month ago.

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