hello,
if you look in theme.tpl you'll see that the main content is chosen by this part:
{if $theme.pageType == 'album'}
{g->theme include="album.tpl"}
{elseif $theme.pageType == 'photo'}
{g->theme include="photo.tpl"}
{elseif $theme.pageType == 'admin'}
{g->theme include="admin.tpl"}
{elseif $theme.pageType == 'module'}
{g->theme include="module.tpl"}
{elseif $theme.pageType == 'progressbar'}
{g->theme include="progressbar.tpl"}
{/if}
I want to add a new content type via a new tpl file, like album.tpl, etc. My problem is now, how to implement a new page type - where i have to make my changes?
Thanks
Posts: 2
i've also been trying to figure this out.
anyone?
Posts: 43
Take a look at the "aboutpage" module, it does exactly wah you need.
http://codex.gallery2.org/index.php/Gallery2:User_Contributions
http://gallery.menalto.com/node/48554
[ KORPDATA ] Innovando Soluciones Empresariales
Posts: 26
hi korpdata,
i cant find something like "theme page type" in this module...
My question is, who controls the $theme.pageType variable in the gallery system?
Posts: 4
I have the same question!!! haha it this question being answered?