coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Thuy on April 13, 2004, 09:16:56 PM

Title: [Solved]: Interacte with the site
Post by: Thuy on April 13, 2004, 09:16:56 PM
I have a site and I want to make it so the site and gallery interact with each other. Like I don't want just a gallery, but there's more to the site then that. Say I want to make a new page something.php what codeing would I have to put on it? Like I want the gallery theme used, and so one. I want to make it so the site and gallery is one thing. Kinda like use the gallery login like a membership system too. Do I make any sense O.o;;
Title: [Solved]: Interacte with the site
Post by: Nibbler on April 13, 2004, 09:22:56 PM

<?php 
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader('Demo page');
echo 
'Your content';
pagefooter();
?>




Should give you a simple page.
Title: additional content pages
Post by: jmc on April 13, 2004, 10:27:15 PM
Hi, Thuy!
You could try the miniCMS mod for CPG. It's a very easy setup. This will allow you to create multiple extra pages for content areas (named "cms.php?id=1, ...2, ...3" etc etc), which can then be edited with straightforward html. Then it's a simple matter of creating extra buttons in your "theme.php" for the necessary links to these new "cms.php" pages. You could even set up one of these pages to be your default home page using domain or browser redirection.
Hope this helps!
John Mc
Title: [Solved]: Interacte with the site
Post by: Thuy on April 14, 2004, 10:10:56 PM
Thanks jmc that really helped!
Title: No problem!
Post by: jmc on April 15, 2004, 05:10:45 PM
Glad to help! Your site rocks! I like!
BTW - Just in case you're interested... I see you're using the Hardwired theme and an Invision forum? I ported the Hardwired theme over to a phpBB2 forum template some time ago. It's still available in the Downloads section (in the Mods & Add-ons) on this site (hit the Downloads button up in the top-left corner). Switching the banner should be easy for you to do.
Cheers!
John Mc
Title: [Solved]: Interacte with the site
Post by: Thuy on April 15, 2004, 08:14:55 PM
Thanks for likeing the site! I'll check that out