2012/12/17

To remove the icons, place the following in your sites template.css file

#cbIconsTop, #cbIconsBottom, .cbFieldIcons, .cbFieldIconsLabels {display:none;}

or

When one installs the community builder component, the file comprofiler.class.php in the path root/yourdomain.com/administrator/components/com_comprofiler overrides all the icon defnitions, so inorder to change those you have to tweak in tht code. For example I wanted to take off the really annoying 'visible on profile' and 'not visible on profile' icons. So search for the function getFieldIcons and comment or remove the following code

if($oProfile) $oReturn .= "._UE_FIELDONPROFILE. ";
if( $showLabels) $oReturn .= " "._UE_FIELDONPROFILE." | ";
if((!$oProfile) or $showLabels) $oReturn .= "._UE_FIELDONPROFILE. ";
if( $showLabels) $oReturn .= " "._UE_FIELDNOPROFILE;


0 コメント:

コメントを投稿