Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Interacte with the site  (Read 2687 times)

0 Members and 1 Guest are viewing this topic.

Thuy

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
    • http://archaickei.org
[Solved]: Interacte with the site
« 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;;

Nibbler

  • Guest
[Solved]: Interacte with the site
« Reply #1 on: April 13, 2004, 09:22:56 pm »

Code: [Select]

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




Should give you a simple page.
Logged

jmc

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 92
    • http://www.hartlepoolcameraclub.co.uk
additional content pages
« Reply #2 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
Logged
I'm trying hard... at least!

Thuy

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
    • http://archaickei.org
[Solved]: Interacte with the site
« Reply #3 on: April 14, 2004, 10:10:56 pm »

Thanks jmc that really helped!

jmc

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 92
    • http://www.hartlepoolcameraclub.co.uk
No problem!
« Reply #4 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
Logged
I'm trying hard... at least!

Thuy

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
    • http://archaickei.org
[Solved]: Interacte with the site
« Reply #5 on: April 15, 2004, 08:14:55 pm »

Thanks for likeing the site! I'll check that out
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 14 queries.