Forums / General Questions / How can individual pages have different html_header.php files than the 'common' file?

How can individual pages have different html_header.php files than the 'common' file?

Views: 1,744

Results 1 to 2 of 2
16 Mar 2011, 5:47 PM
#1
donn avatar

donn

Zen Follower

Join Date:
Oct 2007
Posts:
241
Plugin Contributions:
0

How can individual pages have different html_header.php files than the 'common' file?

As stated in the title, I'm trying to find a way to have pages display different html_header.php and tpl_footer.php content and functionality, on a per-page basis, when I don't wish to have the files in the common folder used as the default.

I know for the modules files, this is possible. Is it also possible for template files?

Any links to tutorials, or other info, would be greatly appreciated.

16 Mar 2011, 6:11 PM
#2
donn avatar

donn

Zen Follower

Join Date:
Oct 2007
Posts:
241
Plugin Contributions:
0

Re: How can individual pages have different html_header.php files than the 'common' file?

Found answer at:

http://www.zen-cart.com/forum/showthread.php?t=135903&highlight=display+nonsecure+pages

".....Create folders named with the names of those pages. EG a folder called checkout_shipping in /templates/your_template/templates/

... so you get... /templates/your_template/templates/checkout_shipping/

Take a copy of the ORIGINAL tpl_footer.php and put it in that folder. (ORIGINAL = unedited tpl_footer.php)

/templates/your_template/templates/checkout_shipping/tpl_footer.php......"