I've been trying to figure out how to sprinkle random blocks into my hacked templates. I have figured out this much:
{g->block type='imageblock.ImageBlock' class='gbBlock'}
However, i can't figure out how to pass the parameters. The "Tpl Reference", very vague in all cases, it especially vague in this regards...
I've tried various things (all just wild stabs in the dark), including grepping all of the code for examples (but finding no explicit ones)...
It is no doubt extremely simple when one knows how to do it... can someone give us an example? (Maybe even add it to the Tpl Reference.)
Posts: 32509
i've updated http://codex.gallery2.org/index.php/Gallery2:Tpl_Reference#Blocks with an example.
Posts: 3
That works. Thanks.