Apply css only for a specific usergroup using php - Joomla! Forum - community, help and support


hello

i hide using css specific public menu item specific users group. unfortunately impossible joomla without make hack/customization or use guest method here:

http://docs.joomla.org/how_do_you_hide_ ... n_users%3f

this method annoying apply 1 menu item found trick in forum code provided seem wrong (probably because j 1.5).

the code was:

code: select all

<?php
$user =& jfactory::getuser();
if (!$user->author) {
?>
<style>#menu111{display:none; width:0px;}</style>
<?php
}
?>


...and must inserted before <head> tag of template.

instead have code name of group, better have code group id don't know how because i'm not coder.

somebody can ?

thank






Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support