I have made a small modification to the standard HTML block.
With this block the admin can create a HTML block on the site home page that is available only to admins once logged in. All other users have no idea it even exists.
Can be used to place links to phpMyAdmin or other info that would only be relevant to admins.
I also had to add some code to this block and the standard HTML block as the header was displaying when empty. Code is below.
function hide_header() {
if ($this->config->title == "") {
return true;
} else {
return false;
}
}
which was added to the standard HTML block just above
}
?>
I believe this bit of code should be added to the HTML block in CVS
It saying its looking for the corresponding lang file
yep found out what it meant and created a lang file for it...
works fine now...
Thanks
works fine now...
Thanks