
Originally Posted by
kobra
For illustration use the page_2 as a guide
Try starting over and in these areas edit or create what is required changing only the reference to page_2 to page_5...get it to work in that default generic form before you begin changing things like "Zimbabwe Orphans Endeavor'"
Just the straight page_5 references to start.
Create/clone these as page_5
/includes/modules/pages/page_2/header_php.php
/includes/languages/english/page_2.php
/includes/templates/template_default/templates/tpl_page_2_default.php
Add/edit these to include page_5
/includes/modules/sideboxes/more_information.php
/includes/languages/english.php
/includes/filenames.php
Create define_page_5.php in both of these folders
/includes/languages/html_includes
/includes/languages/html_includes/your_template
This should net you a generic page_5 in the "More Information" sidebox
You can then begin using this in your overrides areas
Once this works you can move on to custom titles etc - one at a time so you can track back if it breaks
Just follow this kobra's steps but DO NOT change the following;
1.
/includes/templates/template_default/templates/tpl_page_2_default.php
PHP Code:
<?php if (DEFINE_PAGE_2_STATUS >= 1 and DEFINE_PAGE_2_STATUS <= 2) { ?>
- just remain the code as the Define Pages was actually trigger by their status. Then, change the filenames as you wish.
2.
/includes/templates/template_default/templates/tpl_site_map_default.php
PHP Code:
<?php if (DEFINE_PAGE_2_STATUS <= 1) { ?>
<li><?php echo '<a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_INFORMATION_PAGE_2 . '</a>'; ?></li>
<?php } ?>
- same goes to this code for those who are enabling the site map feature.