PDA

View Full Version : custom page outside forum directory


booktoweb
01-19-2009, 04:04 AM
i programed custom page outside forum directory

i fetching the template like this

eval('$navbar = "' . fetch_template('navbar') . '";');
eval('$headinclude = "' . fetch_template('headinclude') . '";');
eval('print_output("' . fetch_template('file_display') . '");');

every thing is OK but all link in navbar are shared to present file and all js link
because it written like this ( href="search.php" )

i can repair this problem by changing write full link for all links in navbar&headerinclude but still some links like member link to he's profile

i see that vbseo replace all links in the page

How can they do that !!

Dismounted
01-19-2009, 04:37 AM
To fix your problem, add this to the top of your headinclude template.
<base href="http://www.yoursite.com/forum" />