How do I integrate a contact page to the gallery? How do I integrate a contact page to the gallery?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

How do I integrate a contact page to the gallery?

Started by Fab, September 24, 2006, 01:54:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fab

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



Nibbler

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();
?>


Fab

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.

Fab

How should I enter the content? I get an error message with html.

Nibbler


<?php

define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');

pageheader('Your page title');

?>

Your html content here
<?php

pagefooter
();
?>



Fab

Wow that was a fast reply  :)

Thanks again Nibbler.

Gizmo

Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

casperinmd

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