Page 1 of 1

cms_selflink dir='up' leads to very same page

Posted: Fri Sep 09, 2016 6:37 pm
by dlen
Hi there,

my intention is to take the user back to the parent page with
{cms_selflink dir='up' image='uploads/images/allgemein/beenden-kreuz.svg' imageonly=1}
.

problem is, the url produced is not that of the parent page but of the page containing the link, so it's a link to itself.

cmsms v2.1.5

Any remarks appreciated!

Re: cms_selflink dir='up' leads to very same page

Posted: Sat Sep 10, 2016 12:06 am
by calguy1000
Thanks for spotting this. This is a bug that was introduced in CMSMS 2.0 (or earlier?) and never spotted til now. It's fixed in svn.

Re: cms_selflink dir='up' leads to very same page

Posted: Tue Sep 27, 2016 6:29 pm
by dlen
This is cool. Glad to have contributed.