[Solved]: Interacte with the site [Solved]: Interacte with the site
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Interacte with the site

Started by Thuy, April 13, 2004, 09:16:56 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Thuy

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;;

Nibbler


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




Should give you a simple page.

jmc

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
I'm trying hard... at least!

Thuy


jmc

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
I'm trying hard... at least!

Thuy

Thanks for likeing the site! I'll check that out