Newbie question.
Figured out most of what I need to know from the documentation, experimentation and searching the forum, but this simple question has me stumped.
Say I have a page with the alias of "Home" what tag would I put in the page to link to that page?
I used the link command in the WYSIWYG editor but it seems to refer to the link by ID# rather then alias.
Thanks in advance for the help.
How do you link to another page based on the alias? [solved]
How do you link to another page based on the alias? [solved]
Last edited by comfixit on Wed Dec 26, 2007 10:11 pm, edited 1 time in total.
Re: How do you link to another page based on the alias?
IMHO:comfixit wrote: I used the link command in the WYSIWYG editor but it seems to refer to the link by ID# rather then alias.
Orange palm (internal link) in TinyMCE is based on alias
Alby
Re: How do you link to another page based on the alias?
I am using the latest version and when I click on the orange palm tree and select my Home page it inserts the following:
My guess is that I could probably replace page with alias or something and then insert the alias in single quotes....but I am not quite that adventurous.
Code: Select all
{cms_selflink page='52'}
Re: How do you link to another page based on the alias?
There is also the selflink tag which has parameters which are explained like modules...
Extensions > Tags > selflink...
Extensions > Tags > selflink...
Re: How do you link to another page based on the alias?
As mark said, if you see the help:comfixit wrote:Code: Select all
{cms_selflink page='52'}
page='52' or page='Home' is samepage - Page ID or alias to link to
Alby
Re: How do you link to another page based on the alias?
Excellent.
Thank you all for the help.
Thank you all for the help.