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: Modifying pages and adding new ones  (Read 2962 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.017 seconds with 20 queries.