rename page alias -> selflink breaks

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.
Locked
donnut

rename page alias -> selflink breaks

Post 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
cyberman

Re: rename page alias -> selflink breaks

Post by cyberman »

donnut wrote: Is there a way to rename aliases without losing 'database integrity'?
Use page id instead page alias  ;) ...
donnut

Re: rename page alias -> selflink breaks

Post 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
cyberman

Re: rename page alias -> selflink breaks

Post 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.
donnut

Re: rename page alias -> selflink breaks

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: rename page alias -> selflink breaks

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Locked

Return to “CMSMS Core”