cms_selflink dir='up' leads to very same page

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.
Post Reply
dlen
Forum Members
Forum Members
Posts: 67
Joined: Fri Apr 09, 2010 11:32 pm

cms_selflink dir='up' leads to very same page

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

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

Post 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.
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.
dlen
Forum Members
Forum Members
Posts: 67
Joined: Fri Apr 09, 2010 11:32 pm

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

Post by dlen »

This is cool. Glad to have contributed.
Post Reply

Return to “CMSMS Core”