The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed Feb 17, 2010 7:06 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Sep 26, 2009 2:14 pm
Posts: 129
Location: South Africa
Hallo,

I want to put a link on a page to a different page on my site.

But I want the link to not only go to the page - but to a SPECIFIC SECTION in the page, for instance to a specific paragraph somewhere in the middle.

Can this be done?

Thanks and have a wonderful day!
Riaan


Last edited by Riff88 on Wed Feb 17, 2010 1:00 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Wed Feb 17, 2010 7:24 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Wed Oct 10, 2007 9:08 am
Posts: 650
Location: Spain
You need to put an anchor in the page then point the url to it.
Have a look at this:
http://extensions.joomla.org/extensions ... links/4010

_________________
Joomla! Hosting: Test your Joomla site here!
http://www.southwesthosting.co.uk/


Top
 Profile  
 
PostPosted: Wed Feb 17, 2010 8:44 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Sep 26, 2009 2:14 pm
Posts: 129
Location: South Africa
Hi, thanks

I have installed it, but I'm having diffuculty in figuring out how to link a SPECIFIC section of the page, not just the article. I can't seem to find a proper tutorial on how to go about what I want to do.

If it links only the article then the software would be pointless, since I could simply add a normal link to that page.

Any suggestions?
Thanks a bunch
Riaan


Top
 Profile  
 
PostPosted: Wed Feb 17, 2010 11:29 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Wed Oct 10, 2007 9:08 am
Posts: 650
Location: Spain
To link to a specific section of a page, if you insert <a name="paragraph4"></a> at the start of paragraph 4 in the code of your page, then to call the link from same page the link would be:
Click <a href="#paragraph4">here</a> to read paragraph 4.
To link from an external page you would enter:
<a href="http://www.yourpage.com/anypage.html#paragraph4"> to read paragraph 4 on my page/a>

_________________
Joomla! Hosting: Test your Joomla site here!
http://www.southwesthosting.co.uk/


Top
 Profile  
 
PostPosted: Wed Feb 17, 2010 1:00 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Sep 26, 2009 2:14 pm
Posts: 129
Location: South Africa
Nikko,

you are brilliant! Indeed a Joomla Guru. Thanks so much. I've been struggling with that one for a looong time.

Simpsons fan eh? My favourite seasons are 4 and 9.

Take care
Riaan


Top
 Profile  
 
PostPosted: Sat Apr 28, 2012 3:42 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Apr 28, 2012 3:38 pm
Posts: 2
This info is useful to me but I want a Menu Item to do this rather than just a hyperlink.

How do I achieve that?


Top
 Profile  
 
PostPosted: Sun Apr 29, 2012 1:21 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Thu Feb 15, 2007 5:48 am
Posts: 3344
Location: Sydney, Australia
You can select the menu item type 'External' or similar and use the full link which includes # and the reference to the anchor on the page.

_________________
toivo
my first programs were assembled and run in 16KB :)
http://archive.computerhistory.org/resources/text/GE/GE.GE-115SystemSoftware.1967.102646096.pdf#zoom=100


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 



Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group