forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: lonely24 on March 21, 2007, 10:51:22 am

Title: Where can i find custom heder tutorial ?
Post by: lonely24 on March 21, 2007, 10:51:22 am
Hello ,

Where can i find custom heder tutorial ? I want to add show coppermine gallery at phpbb latest posts , random quotes , phpbb logins with blocks. Is it poosible to do with customer header ? If is it , can u give the link of custom header tutorial / documentation. Thanks .
Title: Re: Where can i find custom heder tutorial ?
Post by: Joachim Müller on March 21, 2007, 11:12:09 am
There's no tutorial. The corresponding section of the documentation "Path to custom header include (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_theme_include_path_start)" is all there is. We can't/won't teach you how to come up with the code that needs to go into this include file - it is entirely up to you to come up with the code that does what you're up to. The only thing we could provide is an explanation how to add the custom footer into your coppermine-driven gallery, and this is what the above mentioned documentation section does.
So basically, create a file named "header.php" and put it into your coppermine root, with this content:
Code: [Select]
<?php
echo "Hello world";
?>
Then set the "Path to custom header include" in Coppermine's config to "header.php" (without the quotes) and you're done. Replace the code I posted above as an example with your actual content. Can't help you with this - ask phpBB.
Title: Re: Where can i find custom heder tutorial ?
Post by: lonely24 on March 21, 2007, 11:58:57 am
Thx indeed. I will try it :)