Page 1 of 1

Links by Page Alias Instead of Number

Posted: Sat Dec 30, 2006 1:04 am
by slloyd
I noticed with the latest release (1.0.2) the links are created using the page alias rather than generating a number. I prefer the older release that assigned a number to the page because if you changed the page alias later, you didn't create broken links. Is there a way of changing this?

Re: Links by Page Alias Instead of Number

Posted: Tue Feb 20, 2007 5:08 am
by sinkpoint
bump

I'm using CMS for a second site right now. The site is in Chinese, and it's a real pain to assign individual aliases to each page.
Would be nice if there's an option in the config file to turn the aliasing off, and just use the pageid in the url instead.

Re: Links by Page Alias Instead of Number

Posted: Tue Feb 20, 2007 2:10 pm
by kermit
slloyd wrote: I noticed with the latest release (1.0.2) the links are created using the page alias rather than generating a number. I prefer the older release that assigned a number to the page because if you changed the page alias later, you didn't create broken links. Is there a way of changing this?
the {cms_selflink} tag will accept EITHER a page alias or id:
(optional) page - Page ID or alias to link to.

{cms_selflink page='my-page'} or {cms_selflink page='21'}