coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: rterburg on January 03, 2006, 10:52:57 AM

Title: Custom header and footer in CPG 1.4.3
Post by: rterburg on January 03, 2006, 10:52:57 AM
I am testing CPG 1.4.3 before I upgrade my existing CPG 1.3.2. I have changed the original COG 1.4.3 style.css file to my needs and I use the original CPG 1.4.3 template.html.
I have added a custom header into the config variables. This is what I added http://www.terburg.net/content/menu/top_nl1.php (i have also tried this without the http://). I deleted al the HTML and BODY tags but the header (this is my main menu) does't appear. What am I doing wrong??
I attached the top_nl1.php file as a zip file.

Thanks for your help.

Regards,

Ron
Title: Re: Custom header and footer in CPG 1.4.3
Post by: rterburg on January 03, 2006, 01:15:26 PM
Quote from: rterburg on January 03, 2006, 10:52:57 AM
I am testing CPG 1.4.3 before I upgrade my existing CPG 1.3.2. I have changed the original COG 1.4.3 style.css file to my needs and I use the original CPG 1.4.3 template.html.
I have added a custom header into the config variables. This is what I added http://www.terburg.net/content/menu/top_nl1.php (i have also tried this without the http://). I deleted al the HTML and BODY tags but the header (this is my main menu) does't appear. What am I doing wrong??
I attached the top_nl1.php file as a zip file.

Thanks for your help.

Regards,

Ron

I have solved the problem myself. I replaced the domainname into "../" and it works!  ;D
Title: Re: Custom header and footer in CPG 1.4.3
Post by: azjennifer on February 12, 2006, 11:58:27 PM
Hello,

I am a newbie to this and I am trying to get rid on the Coppermine header text.  I have looked at the template and I see the tables but i do not unterstand the code with the { } and where exatly are the elements - code wise - i need to edit that.

can you help?

azjt
Title: Re: Custom header and footer in CPG 1.4.3
Post by: rterburg on February 13, 2006, 07:10:46 AM
You can simply remove the header text in the config page of your gallery. Login in to you gallery -> admin mode -> config -> genral settings. The header text is at the top of the page. Just remove it.

Good luck!

Ron
Title: Re: Custom header and footer in CPG 1.4.3
Post by: Joachim Müller on February 13, 2006, 09:44:32 AM
Imo you're mixing up terms, this thread deals with different issues. Not sure what you want to see removed - if it's the buttons, the gallery name or whatever. You can edit out such stuff by modifying themes/yourtheme/template.html with a plain text editor. For details, start a new thread and post more details there what you actually want to see changed.