[Solved] Header/Footer Implementation

newseed

Joined: 2009-08-04
Posts: 10
Posted: Sat, 2010-01-16 17:22

I have installed G2 yesterday and the only theme I have active is the Matrix. I wanted to add my own header/footer and so I found this article:

http://codex.gallery2.org/Gallery2:How_to_visually_embed_Gallery_in_your_own_website_by_editing_theme_templates

I created a new folder located in /themes/matrix/templates/local/ and saved a copy of the matrix's theme.tpl to that new /local/ folder I just created.

I have copied my header html code and placed it just right after the <body> tag of that theme.tpl file and did the same thing for my footer html code placing it just before the closing </body> tag.

Nothing works. I mean, none of my html code is rendering at all. It's just showing the same default matrix template.

I am using 2.3.1 or the lastest typical package I downloaded yesterday.

So what am I doing wrong?

Thanks.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2010-01-16 17:32
 
newseed

Joined: 2009-08-04
Posts: 10
Posted: Mon, 2010-01-18 15:19

Thank you very much for your help. I did get it to work as you suggested.

I have another question somewhate related but I will make a new post for that.