Page 1 of 1

Strange Top of Page issue [SOLVED]

Posted: Wed Mar 18, 2009 2:20 pm
by stanb17
I'm getting a very odd result from a very simple bit of code.

Just after I have


just above the footer I have

^Top

On all other sites it works fine with www.domain.com/index.php?name-of-page.php/#box
as the URL

On this site the "?" is replaced with a "/" and the #box anchor always defaults to the root rather than the actual page it is on. I've tried several different anchor techniques and they all default to the root.

Example page in question.

http://collegeboundkits.net/index.php/medicine-cabinet

What is going on here? I'm praying for a simple fix.

Thanks

SB

Re: Strange Top of Page issue

Posted: Wed Mar 18, 2009 2:24 pm
by RonnyK
The ?page= that isnt showing, is because you have "Use internal pretty URLs" switched to TRUE, in the config.php.

I dont know about the issue/fix.....

Ronny

Re: Strange Top of Page issue

Posted: Wed Mar 18, 2009 2:26 pm
by Ziggywigged
stanb17 wrote:
Try using:

Code: Select all

<a id="box"></a>
instead.

Re: Strange Top of Page issue

Posted: Wed Mar 18, 2009 3:06 pm
by stanb17
Nope. Still goes to the root. The solution is in the diff between "?" then page name and the "/" and page name. Possibly an .htaccess setting.

Re: Strange Top of Page issue

Posted: Wed Mar 18, 2009 3:28 pm
by Ziggywigged
How about using the {anchor anchor='box' text='Top'} tag.

Re: Strange Top of Page issue

Posted: Wed Mar 18, 2009 3:51 pm
by stanb17
ZiggyWigged.... awesome! was the trick! Thanks

SB