We have a user macro for linking to parent page but after an upgrade (maybe it occured when we switched from server to data center) the macro isn't working.
This is the macro;
## @noparams #if (!$content.getParent()) No parent page found #else #contentLink2($content.getParent() false false) #end
When klickning on the macro we get "Page not found".
What could be wrong? It seems that the link ads "$baseUrl" to the url...
Thanks in advance :)
Hey,
faced the same problem after upgrading to 9.2.5
#contentLink2 is still broken
Try that, does the same :) :
## @noparams
#if (!$content.getParent()) No parent page found
#else
<a href="/pages/viewpage.action?pageId=$content.getParent().id">$content.getParent().getTitle()</a>
#end
BR
Cenk
We are facing the same problem. Did anyone find any solution or work around ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here the same problem after an upgrade to Data Center 9.x.x.
Is there a fix known / available for this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Saravanan Sekar we did not and therefor ended the use of this user macro. The breadcrumbs are a fine alternative, this was an extra.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have the same problem. Have you fixed it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.