link back to the custom page
|
emorockchris
Joined: 2005-09-27
Posts: 4 |
Posted: Mon, 2006-06-12 16:12
|
|||
|
I want Gallery to link back to the custom page I created rather than linking back to main.php... Is that possible? The reason is I created a custom page, here: http://www.emorockchris.com/esoteric/gallery2/index.htm and I want all the other pages to link back to it and not main.php
|
||||

Posts: 804
The only way I know how to do this is to edit theme.tpl and add this after the body tag.
{if $theme.item.parentId == 0} {g->theme include="front.tpl"} {else}Then at the end add this.
{/if}Then you need to move index.html into the templates folder and change the name to front.tpl and remove the heading stuff from the html.
Posts: 8601
http://codex.gallery2.org/index.php/Gallery2:How_Do_I_Remove_the_Root_Album_Link
you might look at that and see if it has clues for how to change the root album link instead of remove it.