Linking to an internal page

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
MT vd Plaat

Linking to an internal page

Post by MT vd Plaat »

Why can i only link to external links and not internal links. I mean, a "dump" user dont know how to copy/paste a link URL from an internal page. I want to see a listing of internal pages when i add a link.

Greets Martijn
westis

Re: Linking to an internal page

Post by westis »

Do you mean when you use FCKeditor? There is a button for internal links (next to the button for external links), although it is not adding the text that is typed.

Or if you mean when you use the Link Content Type when editing content, then you could use the Content Aliases module to link to an internal page.

The third option is to use the tag {cms_selflink page='Home' text='Home page'} anywhere in a page or template. That links to the internal page that you have given the page title Home in this case.

Hope that gives you some ideas. :-)
Post Reply

Return to “Developers Discussion”