[solved] Anchor '^ Top' not working
Posted: Mon May 26, 2008 9:09 am
Setup:
CMS Made Simple 1.2.5 "Free Hill"
Operating System: Linux
PHP 4.x
MySQL 4.1
Problem:
Can't get '^ Top' anchor to function properly.
Description:
I've just set up a site and I failed to insert:
Obviously this goes just under section of the template.
and this just under {content}
I've since added the above code within the template, however on the frontend, '^ Top' just takes me to the default page 'Home'. I don't want it to take me to the default page. I'd like it to take me to the top of the page. The 'Next' and 'Previous' links work perfectly.
I've been through the forum in search of similar problems like mine, and have tried several ways to solve this problem including:
Which also doesn't seem to work.
Any suggestions and/or have I missed anything out?
Cheers Patrick
CMS Made Simple 1.2.5 "Free Hill"
Operating System: Linux
PHP 4.x
MySQL 4.1
Problem:
Can't get '^ Top' anchor to function properly.
Description:
I've just set up a site and I failed to insert:
Code: Select all
{* start accessibility skip links *}
<ul class="accessibility">
<li>{anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}</li>
<li>{anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}</li>
</ul>
{* end accessibility skip links *}
Code: Select all
{* Start relational links *}
<div class="hr"></div>
<div class="right49">
<p>{anchor anchor='main' text='^ Top'}</p>
</div>
<div class="left49">
<p>{cms_selflink dir="previous" label="Previous page: "} <br />
{cms_selflink dir="next"}</p>
</div>
{* End relational links *}
I've since added the above code within the template, however on the frontend, '^ Top' just takes me to the default page 'Home'. I don't want it to take me to the default page. I'd like it to take me to the top of the page. The 'Next' and 'Previous' links work perfectly.
I've been through the forum in search of similar problems like mine, and have tried several ways to solve this problem including:
Code: Select all
{metadata showbase="false"}
Any suggestions and/or have I missed anything out?
Cheers Patrick