I'm in the process of migrating my site from Joomla 2.5 to Joomla 3.4. I have noticed that a component I developed does not show its toolbar on the admin side.

I put an echo 'hello'; in admin/toolbar.componentname.php, and the hello does not get called (it does on the 2.5 site). Thus there seems to be something wrong with whatever calls toolbar.componentname.php.

There is a hint that says "In admin components the admin.*.php and toolbar.*.php are not automatically included anymore (this was a Joomla 1.0 legacy feature)." However, it does not say where this should be included. Looking at a stacktrace of the toolbar properly loading in Joomla 2.5 shows that it is being loaded by /libraries/joomla/application/component/helper.php (this component does not use MVC).

1 Answer 1



require_once( 'toolbar.componentname.php' );
require_once( 'toolbar.componentname.html.php' );  

to componentname.php was enough to fix this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.