That is for version 1.3.0 and I have 1.3.8. and never worked for me. I did find a way to put in an IF in the code saying if the page_id == {my page id} then include my php else do what was already there and it works but.... The page footer is missing. Everything below my include is missing.
My ezpage ID is 9, so in my copy of tpl_page_default.php on about line 57 I did this...
Code:
<div>
<?php
if( $var_pageDetails->fields['pages_id'] == 9 ){
include('lounge_directory.php');
} else {
echo $var_pageDetails->fields['pages_html_text'];
}
?>
</div>
The page can be found at
www.thehookahstore.com/index.php?main_page=page&id=9
Originally Posted by
misty
Bookmarks