Using {anchor} in news module detail template

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
Sendlingur
Forum Members
Forum Members
Posts: 62
Joined: Wed Aug 08, 2018 4:59 pm

Using {anchor} in news module detail template

Post by Sendlingur »

In my news detail template I've an "slidebar" which contains links to various sections in the news detail template.

I've been spending lots of time to get the {anchor} tag to work.
But the link always goes to the this path (https://mypage.com/index.php?page=mainpage#section03) but never goes to corresponding section of the news template page.


I've also tried to wrap the anchor in a {selflink} but with no results.

here is what I've got so far. Can some one guide me on this?

Code: Select all

<li><a href="{cms_selflink anchorlink='section03'}">{$entry->title}</a></li>
<li>{anchor anchor='section03' accesskey='s' text={$entry->title}}</li>
Post Reply

Return to “CMSMS Core”