How do I integrate a contact page to the gallery?
I already know about the Custom menu link name and Custom menu link URL in Themes settings, my question is on the integration of the gallery Header/layout/menu on the custom page.
I tried to make one by modifying a copy of Search.php but I don't understand what to keep and what to remove.
Also tried with a copy of template.html but while the css was there it only displayed the placeholders {GAL_NAME} {SYS_MENU} {GAL_DESCRIPTION} {SUB_MENU} etc
This has been posted plenty of times already, but here it is again,
<?php
define('IN_COPPERMINE', true);
require('include/init.inc.php');
pageheader('Your page title');
// your content here
pagefooter();
?>
Thanks a million Nibbler.
I actually spent quite sometime searching for the answer before asking.
If it's a recurring question maybe a sticky would be a good idea.
How should I enter the content? I get an error message with html.
<?php
define('IN_COPPERMINE', true);
require('include/init.inc.php');
pageheader('Your page title');
?>
Your html content here
<?php
pagefooter();
?>
Wow that was a fast reply :)
Thanks again Nibbler.
If you want a contact page for people to send you info then try this post - http://forum.coppermine-gallery.net/index.php?topic=29822.0 (http://forum.coppermine-gallery.net/index.php?topic=29822.0).
Just posting a few words that I feel would help others find this topic, as I missed it when looking for how to wrap my content with the header and footer from CPG. I searched on header and footer and wrap but came up short, guess integrate would have worked. Thanks