Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • tkc12 Friend
    #137714

    Hi,

    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 Friend
    #289204

    hello,

    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 Friend
    #289320

    Hi 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 Friend
    #289575

    Dear 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 Friend
    #289601

    Hi, 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 Friend
    #289604

    Hello,

    Can you tell me what is happening? Sorry havnt been online for the last couple of days.

    Regards,
    Mihir C.

    tkc12 Friend
    #289613

    Hi 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 Friend
    #289621

    Hi,

    If you can provide with the admin details (via PM ofcourse), i can go in and take a look.

    Regards,
    MIhir C.

    jowb Friend
    #289689

    I 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 Friend
    #289803

    Dear tkc12 !

    Do you want to put link for first thumb or first image rotate of JA Slideshow module ?

    tkc12 Friend
    #289838

    Hi 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 Friend
    #289910

    Hello,

    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 Friend
    #290565

    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=”#”]

    tkc12 Friend
    #290640

    Hi 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>

    Sherlock Friend
    #291040

    Dear tkc12 !

    Please kindly update FTP in require help text fields, I will do it for you.

Viewing 15 posts - 1 through 15 (of 25 total)

This topic contains 25 replies, has 8 voices, and was last updated by  dgosijek 15 years, 5 months ago.

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