-
AuthorPosts
-
tkc12 Friend
tkc12
- Join date:
- May 2008
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 14
- Thanked:
- 4 times in 1 posts
February 2, 2009 at 3:57 am #137714Hi,
I would like to have the first image linked to a URL (joomla.org etc) upon clicked but it keeps going to the homepage.. can someone help? The codes I have is:
<h3>Gears of War 2</h3>
<p>With 10 nominations under its belt, Gears of War 2 has the distinct honor of being tied for the most nominations for the peer-based awards.</p>
The url is http://www.gamersmingle.com
Thank you!
mihirc Friendmihirc
- Join date:
- December 2008
- Posts:
- 597
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 62
- Thanked:
- 95 times in 39 posts
February 2, 2009 at 9:56 am #289204hello,
This is how your parameters should look. Please change it according to your website.
Webmain1.jpg:caption=<h3>2009 ABCD CALENDER.</h3><p>lorem ipsum dolor sit amun event for more experienced racers.&url=http://abcdeft.com/joomla/index.php?/component/option,com_content/Itemid,54/</p>
Please note how the ‘&’ is followed by the url. I think you missed that.
Regards,
Mihir Chhatre.tkc12 Friendtkc12
- Join date:
- May 2008
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 14
- Thanked:
- 4 times in 1 posts
February 3, 2009 at 7:14 am #289320Hi Mihirc,
I paste the codes but the second image is still not linking to Joomla site when clicked..
star-ocean.jpg:caption=<h3>2009 ABCD CALENDER.</h3><p>lorem ipsum dolor sit amun event for more experienced racers.&url=http://www.joomla.org</p>
Can you please help? Thank you.
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
February 5, 2009 at 1:42 am #289575Dear tkc12 !
You can do it following way below :
Open mod_jaslideshow.php file in modulesmod_jaslideshow folder, find following code section at about line 169 :
<img src="<?php echo JURI::base().$firstImage;?>" alt="<?php echo $altimage;?>" title="<?php echo $altimage;?>" />
change to :
<a href="http://www.joomla.org"><img src="<?php echo JURI::base().$firstImage;?>" alt="<?php echo $altimage;?>" title="<?php echo $altimage;?>" /></a>
tkc12 Friendtkc12
- Join date:
- May 2008
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 14
- Thanked:
- 4 times in 1 posts
February 5, 2009 at 5:09 am #289601Hi, I have changed the codes but it still did not work out… Another thing that puzzles me is that why should I need to manually input the URL into the codes?
I mean we should be able to change URL for each image to link to in the administrator panel using the codes as illustrated by mihirc or the default codes that comes with the template.
Please get back to me on this, thank you.
mihirc Friendmihirc
- Join date:
- December 2008
- Posts:
- 597
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 62
- Thanked:
- 95 times in 39 posts
February 5, 2009 at 5:22 am #289604Hello,
Can you tell me what is happening? Sorry havnt been online for the last couple of days.
Regards,
Mihir C.tkc12 Friendtkc12
- Join date:
- May 2008
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 14
- Thanked:
- 4 times in 1 posts
February 5, 2009 at 6:44 am #289613Hi Mihir,
Thanks for replying. I just want to link every images in my slideshow to a different URL.. but just couldn’t get it done..
I am assuming that I only need to change the admin panel -> module manager but it seems now I have to change the codes for it to work.. But it’s still not working even I have changed the codes..
mihirc Friendmihirc
- Join date:
- December 2008
- Posts:
- 597
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 62
- Thanked:
- 95 times in 39 posts
February 5, 2009 at 7:11 am #289621Hi,
If you can provide with the admin details (via PM ofcourse), i can go in and take a look.
Regards,
MIhir C.February 5, 2009 at 10:38 am #289689I have the same problem and I did the above suggested amendment. What can I do?
My Code in module.
<h3>For Answer Review </h3>
<p>Maecenas nibh congue justo est adipiscing elit mauris orci lacus dui. Nibh justo elit nunc Pellentesque malesuada leo nascetur faucibus malesuada semper.</p>
Thank
Jowb
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
February 6, 2009 at 2:24 am #289803Dear tkc12 !
Do you want to put link for first thumb or first image rotate of JA Slideshow module ?
tkc12 Friendtkc12
- Join date:
- May 2008
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 14
- Thanked:
- 4 times in 1 posts
February 6, 2009 at 6:48 am #289838Hi hainn84,
What I want is just to be able to link any images to any respective url I want. And the following codes is not working:
<h3>Gears of War 2</h3>
<p>With 10 nominations under its belt, Gears of War 2 has the distinct honor of being tied for the most nominations for the peer-based awards.</p>
All the images shows up ok but they all link back to my domain url upon clicking.. I want them to link to different urls.
Hope I am clear with this..
mihirc Friendmihirc
- Join date:
- December 2008
- Posts:
- 597
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 62
- Thanked:
- 95 times in 39 posts
February 6, 2009 at 11:38 am #289910Hello,
I took a quick look yesterday, but I couldnt figure it out. I am leaving for a photography exhibition today, and wont be back till monday. I promise to take a look then.
Between, while i was looking at this site, I noticed that the userlist is openly visible to all visitors. You locked the forum, but i think u forgot to lock that up 😉 . I could see all the details of your members.
Regards,
Mihir C.Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
February 11, 2009 at 2:43 am #290565Dear tkc12 !
Please kindy fix it following way below :
Open ja.slideshow.js file in modulesmod_jaslideshowja_slideshow folder, find following code section at about line 285 :
src = this.options.url + this.options.thumbnails.trim();
a.setStyle('background-image', 'url(' + src + ')');
change to :
src = this.options.url + this.options.thumbnails.trim();
a.setStyle('background-image', 'url(' + src + ')');
a.setProperty('href', this.options.urls);
after apply obove , you can add url property in admin it thumb of slideshow will get that link
url=”#”]tkc12 Friendtkc12
- Join date:
- May 2008
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 14
- Thanked:
- 4 times in 1 posts
February 11, 2009 at 10:01 am #290640Hi hainn84,
I have changed the codes but it is still not working..
My codes are:
<h3>Gears of War 2</h3>
<p>Epic took things further by expanding the all-important scope and scale of the action. It's there that Gears of War 2 separates itself from other videogames.</p>Any advice?
<em>@hainn84 111122 wrote:</em><blockquote>Dear tkc12 !
Please kindy fix it following way below :
Open ja.slideshow.js file in modulesmod_jaslideshowja_slideshow folder, find following code section at about line 285 :
src = this.options.url + this.options.thumbnails.trim();
a.setStyle('background-image', 'url(' + src + ')');
change to :
src = this.options.url + this.options.thumbnails.trim();
a.setStyle('background-image', 'url(' + src + ')');
a.setProperty('href', this.options.urls);
after apply obove , you can add url property in admin it thumb of slideshow will get that link
url=”#”]</blockquote> -
AuthorPosts
This topic contains 25 replies, has 8 voices, and was last updated by dgosijek 15 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum