6
Quote:
Skalpa.. next time please press 'reply' instead of 'edit'
Sorry m8s, I just made this answer before going to sleep. Looks like I really needed it
(and in fact I made 2 posts yesterday night, I just hope I didn' do the same with the 2nd one
)
For the "pagetype" by itself, there is a variable that modules should set but all of them don't do it. However I think this should work (at least for the users page). Add these lines at the end of the php block I gave above.
if ( isset( $GLOBALS['xoopsOption']['pagetype'] ) ) {
$GLOBALS['xoopsTpl']->assign('pagetype', $GLOBALS['xoopsOption']['pagetype'] );
}
Sorry again
Skalpa.>