Creating ‘Back to top’ links in CMSMS
If you don’t use CMSMS, skip this post.
In html, if you want to do a back to top link, you can just do <a href=”#top”>Back to top</a>, and it will take you to the top of the page no problems. Pretty simple.
But in CMSMS, if you do that, for one reason or another you’re taken back to the home page. Luckily, there’s a very simple solution.
At the top of your page, put <a name=”top”></a> as you normally would.
For your back to top link, use:
{anchor anchor='top' text='Top' class='whatever'}
That correctly keeps you on the same page.
There’s more info on the {anchor} tag by going to Extensions -> Tags in your CMSMS installation.



27. Apr, 2010 







About the author
Worked like a charm
Tnx
Great to hear