Someday this post could save you an hour: do you need to use JToolBarHelper::custom() within Joomla 1.5.x? The icons that it calls by default are placed in administrator/templates/khepri/images/toolbar/ (substitute khepri with the name of your non standard administrator template if you have one) and if you want to use, for example, icon-32-help.png, you have to write something like
JToolBarHelper::custom('up0', 'help.png', 'help.png', 'up', false);
In other words, you have to pass the filename without the starting icon-32- string. If the previous case is not sufficient for you and you want to pass to custom() your custom icon, read this post.
Last update: 2007-10-12

4 Comments
Carlo,
You saved me the promised hour.
Very much appreciated!
There were lots of other twists and turns in the road. Narrative and screen captures here:
http://moleski.net/dokuwiki/doku.php/blog/rsg2
I’m a little weak in Italian–OK, not far from completely cluess, if truth be told. I find myself wanting to say “Molto bene! Grazie!” Or something to that effect.
Marty
Martin: you are welcome. “Molto bene! Grazie!” is correct Italian and its effect is fine.
Grazie Signore! It saved me an hour as well.
Saved me an hour as well. Thanks a lot!
One Trackback
[...] Temporaneità [...]