What that wiki page doesn't tell you is how to get content into a new page that is defined from the define pages editor.
I'm assuming you have created a file such as includes/languages/english/html_includes/define_my_new_page.php and created the define statement like
Code:
define(FILENAME_DEFINE_MY_NEW_PAGE, 'define_my_new_page');
in your includes/extra_datafiles file.
You need to add a define_page statement into includes/modules/pages/your_new_page/header_php.php like this:
Code:
$my_defined_content = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_MY_NEW_PAGE, 'false');
then you need to add that into your new page template file like this:
Code:
<?php
require($my_defined_content);
?>
Bookmarks