I followed this manual to set links which are auto-updated when Page Title changes:
I used them in Menu. For some reason, when I am saving page, some of the links are saved with Page Title as a Label, thus they are no longer dynamic, but static.
Example source code:
*** [[Nastavení>>Main.Official manuals.Competent - Uživatelská příručka.Případy použití - Administrátor.Nastavení.WebHome]]
*** [[Main.Official manuals.Competent - Uživatelská příručka.Případy použití - Administrátor.Soubory.WebHome]]
second link works fine, but when I delete “Nastavení>>”, after save it will appear again.
Is there trouble with special Czech characters in Page path?
Delete from where? From the Source mode? Did you then save directly from Source mode or did you switch back to WYSIWYG mode before? Can you list the exact steps you did?
Goal:
I want to create link with dynamic generated label. When I rename the page, I would like to see updated link name in menu (Menu created by me, not Navigation panel)
Config details:
I am using in xwiki.properties rendering.linkLabelFormat = %t
In Advanced Configuration of WYSIWYG editor I have
config[‘xwiki-link’] = config[‘xwiki-link’] || {};
config[‘xwiki-link’].autoGenerateLabels = true;
step 1)
I will test two target pages, one named “Štítky” and one named “StitkyX” to be sure to compare behavior.
I am in edit mode of Menu page, default is WYSIWYG mode.
step 2) I click link tool in WYSIWYG, search target page, delete content of “Display text” field and create link.
step 3) Save and View menu page
step 4) Rename target page (via Move / Rename tool) and refresh to see behavior
result:
Label of page with special characters remains unupdated.
Label of page without special characters is updated correctly.