coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: izwar on June 12, 2006, 09:32:09 PM

Title: Canot get Header to show
Post by: izwar on June 12, 2006, 09:32:09 PM
Hello,

before everyone flames me i want to say that i have tried everything possible, read all documentation and tried all possible ways and i cant get my header to show. Its a php file that is my site banner image with the navigation buttons underneath it. Ive tried a bunch of things from including the php file from the admin menu, then putting in the same coppermine folder, to putting an include tag in the theme.php file and a bunch of other things sometimes it give me a cannot compile error and other times just wont show, one time i came close but couldnt align it then it wouldnt show anymore.

Please what ever step by step help you can give me much appreciated.
Title: Re: Canot get Header to show
Post by: Nibbler on June 12, 2006, 09:36:58 PM
1) Post a link to your gallery
2) Post the code you are trying to use
Title: Re: Canot get Header to show
Post by: Sami on June 12, 2006, 09:39:19 PM
- post a link to your gallery.
- attach your header.php to see what code do have on it

Edit:Nibbler got me :)
Title: Re: Canot get Header to show
Post by: izwar on June 12, 2006, 09:41:07 PM
hi this is a page from my site
http://hotclubber.com/?L=users.profile&id=1141

the top navigation and the top image is my header which is named frame.php

the path to the header i want is this but it gives errors
http://hotclubber.com/theme/hotclubber/frame.php

my gallery is not ready but here it is
www.hotclubber.com/photos
Title: Re: Canot get Header to show
Post by: Sami on June 12, 2006, 09:54:08 PM
First you need to correct your header file path issue.
Warning: main(online_time.inc.php) [function.main]: failed to open stream: No such file or directory in /home/hotclubb/public_html/theme/hotclubber/frame.php on line 1

it seems that you should copy online_time.inc.php to your public_html folder or give the correct path for this file.
Title: Re: Canot get Header to show
Post by: izwar on June 12, 2006, 10:05:42 PM
still not working, i think im going to back track how do i do the basics jus to get a simple page with a image on it to show lets say header.php with just one image banner on it?
Title: Re: Canot get Header to show
Post by: Sami on June 13, 2006, 01:51:04 PM
sorry i missed this post !
- first you need a test.php with just "hello world" on it, you should copy it on your main gallery folder
- now go to admin mode=>config =>Themes settings =>Path to custom header include and write test.php
- and now save and see what happen
- now it's time to create your custom test.php or what ever you name it ;)