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: Modifying pages and adding new ones  (Read 2963 times)

0 Members and 1 Guest are viewing this topic.

WebJorge

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Modifying pages and adding new ones
« on: July 24, 2010, 08:07:38 am »

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?
Logged

WebJorge

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Modifying pages and adding new ones
« Reply #1 on: July 26, 2010, 05:38:45 am »

Can anyone answer my questions?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Modifying pages and adding new ones
« Reply #2 on: September 03, 2010, 04:38:53 pm »

if I wanted to add a contact phone number on the contact page
Edit contact.php


if I wanted to add some text on the index.php page
Search for 'anycontent' in the docs.


would it be possible for me to create additional pages like an about page?
Use that as template:
Code: [Select]
<?php 
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader();
pagefooter();
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 21 queries.