Advanced search  

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

Pages: [1]   Go Down

Author Topic: Create new static pages  (Read 3026 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.017 seconds with 19 queries.