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: Create new static pages  (Read 3215 times)

0 Members and 1 Guest are viewing this topic.

asbringer

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Create new static pages
« on: December 26, 2012, 03:41:09 pm »

Hi, I'm really new with this and I some help to create a new static page for FAQ, TOS and those kind of pages.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Create new static pages
« Reply #1 on: December 28, 2012, 11:16:13 am »

Either use the MiniCMS plugin or add the following content to your new .php files:
Code: [Select]
<?php
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader('My new page title');
echo 
'My new content here';
pagefooter();
?>
Logged

asbringer

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Create new static pages
« Reply #2 on: December 28, 2012, 12:42:40 pm »

Thanks for the help  :)
Logged

asbringer

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Create new static pages
« Reply #3 on: December 28, 2012, 01:30:31 pm »

Sorry for the double post, but how can I create new link in the upside bar in the curve theme?
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.