Strange Top of Page issue [SOLVED]

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
stanb17
Forum Members
Forum Members
Posts: 70
Joined: Sat Apr 12, 2008 3:01 pm

Strange Top of Page issue [SOLVED]

Post 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
Last edited by stanb17 on Wed Mar 18, 2009 3:52 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Strange Top of Page issue

Post 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
Ziggywigged
Power Poster
Power Poster
Posts: 424
Joined: Sat Feb 02, 2008 12:42 am

Re: Strange Top of Page issue

Post by Ziggywigged »

stanb17 wrote:
Try using:

Code: Select all

<a id="box"></a>
instead.
Take a penny, leave a penny.
stanb17
Forum Members
Forum Members
Posts: 70
Joined: Sat Apr 12, 2008 3:01 pm

Re: Strange Top of Page issue

Post 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.
Ziggywigged
Power Poster
Power Poster
Posts: 424
Joined: Sat Feb 02, 2008 12:42 am

Re: Strange Top of Page issue

Post by Ziggywigged »

How about using the {anchor anchor='box' text='Top'} tag.
Take a penny, leave a penny.
stanb17
Forum Members
Forum Members
Posts: 70
Joined: Sat Apr 12, 2008 3:01 pm

Re: Strange Top of Page issue

Post by stanb17 »

ZiggyWigged.... awesome! was the trick! Thanks

SB
Post Reply

Return to “Layout and Design (CSS & HTML)”