1. judemac
  2. Free Templates / Extensions
  3. Saturday, 02 November 2013
  4.  Subscribe via email
Hi,

Is it possible to make an Image Link Hover Module go to an external link instead of an article?
I am using Pianoforte template).

Many thanks for any advice
Accepted Answer Pending Moderation
0
Votes
Undo
If i were you . i would transfer phone photos to computer in first ,as long as these photos have stored on the computer , you are able to edit by using computer , if you not know how to transfer , the process is very simple , just need a workable USB cable and the computer need to install a transfer tools , which can help you safely transfer photos to the computer without any lost or deleted data from phone , in this way ,i have completed transfer SMS to computer last week,
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
B)
Maybe you can try this:
<a href=" "> </a>
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

May I suggest sending temporary FTP access to the modules folder of your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hello,
I would like to use a j51imagelinkhover to change to another website but it doesn´t work. I tried the changing like described but after the first changes Error 404 - and now cannot find line 78/105 in my xml there are only 75 lines...? may be cause I´m working with Mac ?

Could somebody help me ?
Thanks
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you very much! It works well indeed :)
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you Maud

We have edited your ImageLinkHover module to accept URL paths. A working example of a URL path for your site would be /nouveausite/http://index.php/maitrise-d-oeuvre

Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Maud

May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

If you could also include FTP access to your modules folder that would be great :)

Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
Hi,

In fact, I checked today and there is still a strange problem: when I first click on the image, it works: it goes to my anchor.
But when I click a second time exactly on the same link, it rewrites the url to my main page. If I click a third time, it works. etc.
Where do you think it comes from?
What would be the php code to put on line 75 and 105, to say "go to an external url" instead of "go to this page"? Just to try in case it works like that... (I know nothing about php... I guess I have to replace echo JRoute::_("index.php{$hover_link}";) by something else?)

Thank you!!
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 8
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Maud

Yes that sounds perfect. Thank you for sharing your solution on the forum. :)

Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 9
Accepted Answer Pending Moderation
0
Votes
Undo
For info, I did as Ciaran said: change mod_j51imagelinkhover1.xml
then I had the 404 error.
So I opened mod_j51imagelinkhover.php
I changed line 75 into:
<a href="<?php echo JRoute::_("index.php{$hover_link}";) ?>" class="info" >Image Link</a>

And I changed line 105 into:
<div class="j51button"><a href="<?php echo JRoute::_("index.php{$hover_link}";) ?>" class="info" ><?php echo $j51_buttontext; ?></a></div>

Now, in my linkhover module administration, i just put the piece of address that is after "index.php", like this:
If my adress is "http://mydomain.com/index.php/newsite, I just put "/newsite" on the "set url" line.

Now it works.

Ciaran, am I right?

Forgive my english, I hope I was clear.
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 10
Accepted Answer Pending Moderation
0
Votes
Undo
As well as the above edit to the XML also edit the following in your modules mod_j51imagelinkhover.php (../modules/mod_j51imagelinkhover/mod_j51imagelinkhover.php)

Replace every instance of...

<?php echo JRoute::_("index.php?Itemid={$hover_link}") ?>


With...


<?php echo $hover_link; ?>


Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 11
Accepted Answer Pending Moderation
0
Votes
Undo
Hi, I would also like to use an external link. Anyone able to get this to work?
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 12
Accepted Answer Pending Moderation
0
Votes
Undo
We decided to use a different module as a workaround...

Thanks for your help.
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 13
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciarán,

I tried that and the field showed up, but still goes to a 404. I need a quick link out to Google, so no complicated URL just Google homepage.

Thanks
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 14
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Jude

In your modules modules mod_j51imagelinkhover.xml (../modules/mod_j51imagelinkhover/mod_j51imagelinkhover.xml) try replacing the following...


<field name="hover_link" type="menuitem" default="45" label="Select a menu item" description="Select a menu item to link to." published="1"/>


With..


<field name="hover_link" type="text" default="" label="Set URL" description="Set the URL to link to." published="1"/>


This will add a URL field to your modules parameters in which you can set a URL to link to rather than selecting a menu item from a dropdown menu.

Ciarán
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 15
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok