Modifying pages and adding new ones Modifying pages and adding new ones
 

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]

Main Menu

Modifying pages and adding new ones

Started by WebJorge, July 24, 2010, 08:07:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WebJorge

Would it be possible for me to add text and content to some of the pages? For example, if I wanted to add a contact phone number on the contact page, how can I manually do that within the code? And on what file? Or if I wanted to add some text on the index.php page, where do I do that in the code? Also, would it be possible for me to create additional pages like an about page?

WebJorge


ΑndrĂ©

Quote from: WebJorge on July 24, 2010, 08:07:38 AM
if I wanted to add a contact phone number on the contact page
Edit contact.php


Quote from: WebJorge on July 24, 2010, 08:07:38 AM
if I wanted to add some text on the index.php page
Search for 'anycontent' in the docs.


Quote from: WebJorge on July 24, 2010, 08:07:38 AM
would it be possible for me to create additional pages like an about page?
Use that as template:
<?php 
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader();
pagefooter();