Quote:
Originally Posted by Gary W
Quote:
Originally Posted by The Watcher
This looks promising gary -> a few questions !!!
1) How can I use this outside my forums directory? Do i just use this?
PHP Code:
chdir('/home/site/public_html/forums/');
require('./global.php');
|
1) correct
|
I believe this is incorrect. If yo do it this way, you will display a non-functioning navbar. The pop-up menus will not work. I don't know why, and I don't know how to fix it, but I do know if you create test.php in your forum root dir and the TEST template exactly as given in the first post, it works.
Take that same script and more it to another directory and it breaks on global.php. Add the chdir as above just before your require statement and you will have a non-functioning navbar. No pulldown menus.
Any ideas on how this is resolved?