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
Strange Top of Page issue [SOLVED]
Strange Top of Page issue [SOLVED]
Last edited by stanb17 on Wed Mar 18, 2009 3:52 pm, edited 1 time in total.
Re: Strange Top of Page issue
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
I dont know about the issue/fix.....
Ronny
-
Ziggywigged
- Power Poster

- Posts: 424
- Joined: Sat Feb 02, 2008 12:42 am
Re: Strange Top of Page issue
Try using:stanb17 wrote:
Code: Select all
<a id="box"></a>Take a penny, leave a penny.
Re: Strange Top of Page issue
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.
-
Ziggywigged
- Power Poster

- Posts: 424
- Joined: Sat Feb 02, 2008 12:42 am
Re: Strange Top of Page issue
How about using the {anchor anchor='box' text='Top'} tag.
Take a penny, leave a penny.
Re: Strange Top of Page issue
ZiggyWigged.... awesome! was the trick! Thanks
SB
SB

