including files in pages
-
I want to reuse a what’s new file on a number of pages. The only reference I found for including files was in templates, so I am trying in my page (not template):
<?php include(TEMPPATH . '/includes/whatsnew.html'); ?>
where /includes/mypage.html is added to my template directory.
But this does not work. Any advice appreciated
Thanks, Tom.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘including files in pages’ is closed to new replies.