Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Display the text from define_page_2.php on every page

Display the text from define_page_2.php on every page

Locked

Views: 629

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
22 Dec 2010, 11:14 AM
#1
buxton1 avatar

buxton1

New Zenner

Join Date:
Jun 2009
Posts:
51
Plugin Contributions:
0

Display the text from define_page_2.php on every page

Hello,

I would like to display the text from the CMS in zencart on every page of my site using an include/require in my header.

The file I would like to include is includes/languages/english/html_includes/define_page_2.php

but if that cant be include I could use
includes/languages/english/html_includes/define_main_page.php

I managed to get it working with the define_main_page.php
by using: <?php require($define_page); ?> but this breaks the shopping cart page and about us pages etc.

I have tried using an include statement direct to the file with no luck.

Many thanks,