-
AuthorPosts
-
kidi Friend
kidi
- Join date:
- March 2009
- Posts:
- 134
- Downloads:
- 0
- Uploads:
- 44
- Thanks:
- 28
- Thanked:
- 2 times in 1 posts
October 7, 2012 at 8:58 am #181245Hello,
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.
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
October 7, 2012 at 9:09 am #4693201 user says Thank You to swissa for this useful post
kidi Friendkidi
- Join date:
- March 2009
- Posts:
- 134
- Downloads:
- 0
- Uploads:
- 44
- Thanks:
- 28
- Thanked:
- 2 times in 1 posts
October 7, 2012 at 9:22 am #469323Hello swissa
Thank you for the link.
I wishes you an excellent day.
kidi Friendkidi
- Join date:
- March 2009
- Posts:
- 134
- Downloads:
- 0
- Uploads:
- 44
- Thanks:
- 28
- Thanked:
- 2 times in 1 posts
October 8, 2012 at 8:34 am #469408Hello,
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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 10, 2012 at 7:44 am #469611You 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.
kidi Friendkidi
- Join date:
- March 2009
- Posts:
- 134
- Downloads:
- 0
- Uploads:
- 44
- Thanks:
- 28
- Thanked:
- 2 times in 1 posts
October 27, 2012 at 2:23 pm #471271Hello 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 29, 2012 at 3:14 am #471331I 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 itAuthorPostsViewing 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
Jump to forum