| Solution to get EXTRA-PATH (clean) urls to function » |
Similar to the hack on my site to display info to a selected group or user, this is how to code your skins _html_header.inc file to display the toolbar for administrators only. Thanks again to ¥åßßå.
Code:
<body> | |
| |
<?php | |
if( is_logged_in() ) | |
{ | |
switch( $current_User->group_ID ) | |
{ | |
case 1 : | |
// ---------------------------- TOOLBAR INCLUDED HERE ---------------------------- | |
require $skins_path.'_toolbar.inc.php'; | |
echo '<div id="bgcontainer" class="skin_wrapper_loggedin">'; | |
// ------------------------------- END OF TOOLBAR -------------------------------- | |
break; | |
} | |
| |
} | |
?> | |
<!-- Start of skin_wrapper --> |