Trying to work out how to create a custom page within Gallery2? Any suggestions would be appreciated.
Right now to create a custom front page i'm using:
{if $theme.item.parentId == 0}
{g->theme include="gallery.tpl"}
{else}
{g->theme include="album.tpl"}
{/if}
I have thought of two ways to do this...
First of all someone knows a way to create a complete new page within Gallery.
Secondly using the above method I create a new album where the item ID is 44, and have an if statement where if someone goes to itemID 44 it will include "custompage.tpl". It's a bit of a messy workaround but if it achieves the end result perfect.
I'm all open to suggestions.
Regards,
Joel
Posts: 27300
http://codex.gallery2.org/Gallery2:Modules:htmlblock
http://codex.gallery2.org/Gallery2:Modules:html
http://codex.gallery2.org/Gallery2:Modules:minicms
if it works it works
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team