How to hyperlink in CMS

October 6, 2009 at 15:15:28
Specs: Windows XP, 2GB RAM
I am converting my html website to a CMS format. I have anchor point hyperlinks (from a word or phrase on one page to a specific point in the text of another page.

In html webpages, pages are separate files with file names and I know how to do that. CMS however is a database format. Pages are not file names. So I don't know how this is done.

Could someone possibly show me the code that is used to do this in CMS. As I'm not a real code master, hopefully someone can explain what goes in each segment of the code.

In advance, thanks much

See More: How to hyperlink in CMS

Report •

October 13, 2009 at 14:38:20
Thanks for responding.

I am using Mambo. In their WYSIWYG editor (but you can also edit via text editing mode to actually write code) there is a button for to insert anchors, and a box comes up to name the anchor. That part works fine.

Let's call that page the target page. Now when you then go to create a link to that anchor in a different page (we'll call the source page), I can highlight a word that I want to create as the link to, and then can click on a link to icon. A box comes up with several dropdown type boxes of possible types of links. One of those is labeled Anchors. The problem is that the anchor I named earlier does not appear there. That dropdown is totally empty. So you are foiled right there. Very frustrating.

Report •

October 15, 2009 at 04:25:42
Not familiar with Mambo (aren't they called Joomla now?), but I think you should use this:


... as links in the source page.

Basically you only need #anchor_name in the last part of a URL, to directly "scroll" to an element named or ID'd anchor_name in a target page.


Report •

Related Solutions

Ask Question