Advertisement:

ssi wont work in index.template.php??

Aloittaja Zorac, joulukuu 29, 2005, 02:00:49 IP

« edellinen - seuraava »

Zorac

i have menu that i put the top of the forum with the following code:

    include_once ("http://miniunit.com/php/menu.php");

i have since started to add ssi function to the menu for certain member groups, the functions work great on all the pages ive created, but dont work correctly on the main forum page, the variable $user_info['groupls'] holds -1 instead of the correct user groups.

all my own pages/code resides in http://miniunit.com/php whild the forum resides in http://miniunit.com/smf

any ideas?

thanks.

Zorac

nm, took a couple hours of reading, and trial and error, but it turns out i need to declare $user_info as global in index.template.php

Advertisement: