Ajeh:
The define pages use a constant such as for Page 2 you would have in the configuration table the configuration_key for:
DEFINE_PAGE_2_STATUS
Based on the assumption that the new pages you made follow this pattern you should have some code on your tpl_ file(s) similar to:
<?php if (DEFINE_PAGE_2_STATUS >= 1 and DEFINE_PAGE_2_STATUS <= 2) { ?>
<div id="pageTwoMainContent" class="content">
<?php
/**
* load the html_define for the page_2 default
*/
require($define_page);
?>
</div>
<?php } ?>
```
>
> But the constant would have its own name or should such as:
> DEFINE_PAGE_ABOUT_US
>
> or something similar ...
>
> Where do you have that defined? If not defined, then it defaults to 0 or false or OFF and you don't get to see your new text on your new page(s) as you told it not to show it ... :eek:
Hi,
I just posted a little while ago with the same problem, except regarding the more_information sidebox & a cloned page2 as page5.
In the thread I posted to, Ajeh asked where the person posting had defined his page5.
I posted saying I had done all the same things, with the same results, but didn't understand what was meant by " where was the page defined"
Now, after following this thread, I think it was includes/filenames.php that was being refered to.
If it was, then I wrote the following in filenames.php:
define('FILENAME_DEFINE_PAGE_5', 'define_page_5');
then later:
define('FILENAME_PAGE_5', 'page_5');
Only my page heading is appearing, not text that has been entered using the tools define pages editor, & no reference to it in configuration define page status.
Just thought: when I change the page2 to page5 in includes/languages/english.php I write:
define('BOX_INFORMATION_PAGE_5', 'Directories');
That doen't affect it does it?
In filenames.php page4 is called page4 & includes/languages/english.php it is
define('BOX_INFORMATION_PAGE_4', 'Links');
so I don't really think so, just thought I'd check.
Still need the solution though.
Any ideas why?
Regards
Gay
http://www.artyfactsforcrafts.com