Author Topic

Kristof Coomans

Tuesday 22 August 2006 3:52:22 am

Comment46547

Hello guys

Don't pay attention to my previous post, I was completely wrong :-)

The [Tool] blocks themselves are read either from the siteaccess toolbar.ini.append or from the default toolbar.ini (see kernel/visual/toolbar.php line 56-63 Exponential 3.8.3), but the [Tool_description] blocks are only read from the default toolbar.ini (line 250-253).

Try to replace line 250-253 with this code:

    if ( $iniAppend->hasGroup( "Tool_" . $toolName . '_description' ) )
    {
        $actionDescription = $iniAppend->group( "Tool_" . $toolName . '_description' );
    }
    elseif ( $ini->hasGroup( "Tool_" . $toolName . '_description' ) )
    {
        $actionDescription = $ini->group( "Tool_" . $toolName . '_description' );
    }

Does it work now?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org