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

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

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 2 Guests 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();