cms_selflink will not output link on all pages
Posted: Fri Sep 25, 2020 7:30 am
I have an issue with cms_selflink within the normal page contents.
On most pages, links like:
Works fine, and output the full correct URL to this page. But on some pages, this is the result:
The pages use the same design and template. The content uses the MicroTiny editor, and I notice that when I hover the link in MicroTiny, I see the above, not converted, link. But on most pages the preview is OK. But not on all pages. I've tried to edit the link and page, but it does not help.
I just upgraded to the latest version 2.2.14 (from 2.2.12). The content itself was earlier upgraded from an old 1.11.* version a few months back. It could be that this error occurred then. But why is it not working post editing on this pages?
I found an older post with this issue regaring the News module, but the cms_selflink works fine in the News module of my CMS. And since it works fine on most content pages, I cannot see that this solution is helpful here.
On most pages, links like:
Code: Select all
<a href="{cms_selflink href='alias'}">
Code: Select all
https://my.site.no/%7Bcms_selflink%20href='alias'%7D
I just upgraded to the latest version 2.2.14 (from 2.2.12). The content itself was earlier upgraded from an old 1.11.* version a few months back. It could be that this error occurred then. But why is it not working post editing on this pages?
I found an older post with this issue regaring the News module, but the cms_selflink works fine in the News module of my CMS. And since it works fine on most content pages, I cannot see that this solution is helpful here.