Links by Page Alias Instead of Number

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Links by Page Alias Instead of Number

Post 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?
sinkpoint

Re: Links by Page Alias Instead of Number

Post 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.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: Links by Page Alias Instead of Number

Post 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'}
Last edited by kermit on Tue Feb 20, 2007 2:13 pm, edited 1 time in total.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Post Reply

Return to “CMSMS Core”