Putting additional pages in a sub-folder? Putting additional pages in a sub-folder?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Putting additional pages in a sub-folder?

Started by SenshiG, February 15, 2005, 02:49:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SenshiG

I have additional pages on my website (an "About" page, contact information, etc.) that I created easily enough using the template.  There's a number of other pages (tutorials, articles, etc.) that I still need to add (I'm rebuilding an old site).  For the sake of organization, is there any way to put these pages in a subfolder and still work with the template?  Right now to make my pages I'm using:

<?php

define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader('Your Title Here');


?>


<?
starttable("100%", "Title Here");

?>
<tr>
<td>
Here.
</td>
</tr>
<?php
endtable
();

?>


In order to keep my site's template consistent.  However the ways that I've tried to use this on pages in a subfolder have only given me errors.  Is there a way to do it properly?  And would there be any harm in adding many pages in my main directory?

Joachim Müller