anchor not working

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
toolman
Forum Members
Forum Members
Posts: 51
Joined: Wed Sep 12, 2007 5:10 pm

anchor not working

Post by toolman »

Hi there,

I have tried to add a page anchor to some of my pages for users to jump to the top of the page, but it seems to link to the homepage and not to the top of teh page.

This is what I am usign:

Code: Select all

<a name="top"></a>

<a href="#top">Top</a>
Is this not possible with cmsms?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: anchor not working

Post by RonnyK »

toolman,

the defaullt templates have "relational links" in the template, that uses:

Code: Select all

	 <div class="right49">
	 	<p>{anchor anchor='main' text='^ Top'}</p>
	 </div>
Ronny
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: anchor not working

Post by KO »

if you use {metadata} tag in your template try also {metadata showbase="false"}.

That has helped in some cases.

Br, K
toolman
Forum Members
Forum Members
Posts: 51
Joined: Wed Sep 12, 2007 5:10 pm

Re: anchor not working

Post by toolman »

Thanks :)
Post Reply

Return to “CMSMS Core”