link to an articlle by clicking on an image? how-to
Posted 17 years 1 month ago
I am trying to make a point of the website when you click on an image it takes you to an article about that image. But, I don't know what I would point to as the articles are stored in mysql (I believe). Can someone please help. You can look at the page by going to:
www.hrmc.net/joomla/Joomla_RT_Firenzie_j15/ 
; and then clicking on the image which just gives an error (used to be a link to another webpage but know want it a link to an article instead). thanks!
Retired, but build and run websites for organisations of school leaders and others - e.g. http://www.icponline.org, http://www.aspa.asn.au, http://www.appa.asn.au
Re: link to an articlle by clicking on an image? how-to
Posted 17 years 4 weeks ago
If you set up a Section and Category that are not linked to any menu item, then you can link to articles in that section/category, because they will not be accessible through any menu and so will not appear anywhere else. Will that work for you? I have some set up that way.
Re: link to an articlle by clicking on an image? how-to
Posted 17 years 4 weeks ago
How are you making the link?
If it's a static page not created in Joomla, without a section, category, or article ID to link to, right click on the image and past the full path in the Link URL.
[In the link you provided, you were linking to a .shtml page, but it wasn't the full path. I also wondered if the file was in that folder. And, if you are going to be linking that way, it might be a good idea to put all those pages in a separate folder...]
If it is an article created in Joomla in a section / category as article ID, the info John gave will work.
To get the correct path to the articles, you can create a dummy menu, publish the articles there and take the path from the browser window.
It seems like I'm doing something similar to but maybe not exactly what you want.
Re: link to an articlle by clicking on an image? how-to
Posted 17 years 4 weeks ago
I have found that by creating an article and then using the following url I am able to go straight to that article:
index.php?view=article&catid=21%3Apublished&id=54
you can go back to the website now and just click on the image on the frontpage and it will show the article in text now. Thanks for the ideas.
Re: link to an articlle by clicking on an image? how-to
Posted 16 years 11 months ago
I combined the ideas from John H and JEM618 then it works for me.
This thread has saved me a lot of time looking for similar solution within or outside of RT Forum.
Re: link to an articlle by clicking on an image? how-to
Posted 16 years 11 months ago
A better ways:
If you are working in a content item, use JCE's link button.
- First embed the image, using JCE's Image button.
- Then click on the image to select it.
- Click on JCE's link button.
- When the popup appears, use the bottom section, where you can navigate directly to whatever article you want to link to.
Done!