Page 1 of 1

rename page alias -> selflink breaks

Posted: Tue Apr 03, 2007 9:15 am
by donnut
Hi,

When I rename a page alias, all the referring (CMS_self)links get broken. I hoped that the referring links would be renamed as well. Is there a way to rename aliases without losing 'database integrity'?

BTW the reason for wanting to change an alias is to 'ugly' names they get when adding and removing pages with the same menu text: school, school-1, school-2

Thanks

Re: rename page alias -> selflink breaks

Posted: Tue Apr 03, 2007 10:08 am
by cyberman
donnut wrote: Is there a way to rename aliases without losing 'database integrity'?
Use page id instead page alias  ;) ...

Re: rename page alias -> selflink breaks

Posted: Tue Apr 03, 2007 10:23 am
by donnut
Sorry, but I do not understand your answer. If I make a new page and I refer to this page in another page with a cms_selflink using FCKeditor, than I have to choose a page from the menu. The code generate {cms_selflink page=...} uses the page alias. Where can I find/use the page ID?

Thanks

Re: rename page alias -> selflink breaks

Posted: Tue Apr 03, 2007 11:44 am
by cyberman
donnut wrote: If I make a new page and I refer to this page in another page with a cms_selflink using FCKeditor, than I have to choose a page from the menu. The code generate {cms_selflink page=...} uses the page alias. Where can I find/use the page ID?
You've never told us you speak about FCK - for that you have to modify CMSms plugin.

Re: rename page alias -> selflink breaks

Posted: Tue Apr 03, 2007 2:26 pm
by donnut
Sorry for the confusion. So if I understand it correctly, when I want to change the name of a page-alias I have to edit the references to this page alias in other pages manually?

Thanks

Re: rename page alias -> selflink breaks

Posted: Tue Apr 03, 2007 2:28 pm
by calguy1000
Yes, nothing will go through all of your pages and make all of those changes.  and personally, I wouldn't want it to anyways, as you never know what is happening as to why the alias is changing.