forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: asbringer on December 26, 2012, 03:41:09 pm

Title: Create new static pages
Post by: asbringer 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.
Title: Re: Create new static pages
Post by: Αndré 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();
?>
Title: Re: Create new static pages
Post by: asbringer on December 28, 2012, 12:42:40 pm
Thanks for the help  :)
Title: Re: Create new static pages
Post by: asbringer 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?
Title: Re: Create new static pages
Post by: Αndré on December 28, 2012, 01:34:14 pm
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270618.html#msg270618
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270608.html#msg270608
http://documentation.coppermine-gallery.net/en/configuration.htm#admin_theme_custom_lnk_name
http://documentation.coppermine-gallery.net/en/configuration.htm#admin_language_custom_lnk_url