PDA

View Full Version : Header problem


nestoras
04 Jul 2006, 17:57
Hi!
Dont know if that is the right forum to post it.
I have a little problem with my header.
im using the same header my main site does!
And to put it there i just make a plugin and put the $includedphp
to my forum header.
the problem i have is that now all the links have change.
in my main site its like that
www.mysite.com/contact.php but now in the forums its like www.mysite.com/forum/contact.php
why does this happen?

peterska2
04 Jul 2006, 18:05
you will need to edit the links in the plugin to be the full URL as the way the whole internet works is that it will always try to open a page within the current directory unless told otherwise.

nestoras
04 Jul 2006, 18:16
dont really understand what you are saying!
this is the plugin


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

peterska2
04 Jul 2006, 18:32
Then in your oginal head.php or the template/html that it uses, you need to change all the links to be the full links (ie yoursite.com/contact.php NOT contact.php) so that they will be correct on all pages where this is used.

nestoras
04 Jul 2006, 18:51
oh. ok thanks a lot!