I'd like to be able to add an extra button logo/icon to the bottom of a theme.
So at the bottom of a theme.tpl file you have:
{g->logoButton type="gallery2" target="_new"}
I'd like to be able to define an additional type somewhere.
Where do I that that ? I don't want to hardcode in a link and so would like
to do it the same way as above, but don't know where do go to add the extra type.
thanks
M.
Posts: 27300
Why not?
Anyway in modules/core/classes/GalleryTemplateAdapter.class:
search for
function logoButton($params, &$smarty) {
and add another case.
you will have to redo this for each upgrade or hard coding it in a template file and you will not have to.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team