G2-Sites.com - Your FREE Gallery Directory
G2-Sites.com is a showcase of Gallery 1, Gallery 2 and Gallery 3 powered websites. Sites are categorized by embedded environment and language. If your site is powered by Gallery we want to see it!
Photo Item Blocks - Treat Each One Individually
Hello. First off, thanks for answering my last question! My apologies if my questions are overly simple - Smarty just isn't my strength. :-)
I'm almost done with my customizations. Only one problem...
I'm implementing DHTML tabs in my local photo.tpl to hold each item block (to maximize page space). For this to work as planned, I need to be able to embed each enabled item block individually.
Is there a way for me to "break out" each item block so that I can place it where I want(as opposed to the simple "foreach" loop that is now used)? Thanks again!

I assume that you are talking about the following piece of code in the photo.tpl file:
{* Show any other photo blocks (comments, exif etc) *}{foreach from=$theme.params.photoBlocks item=block}
{g->block type=$block.0 params=$block.1}
{/foreach}
My suggestion would be rather than the above foreeach loop that you will need to add each required block individually to wherever it is required in your template.
Take a look at Gallery2:Themes:Reference:Blocks
for further information on blocks.
There are also some examples of how to make blocks Gallery2:How To Create Blocks.