Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2007
    Posts
    241
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Oct 2007
    Posts
    241
    Plugin Contributions
    0

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

    Found answer at:

    http://www.zen-cart.com/forum/showth...onsecure+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......"

 

 

Similar Threads

  1. need html_header.php & tpl_main_page.php files
    By marvin in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Nov 2011, 06:32 PM
  2. Replies: 10
    Last Post: 1 Oct 2009, 06:45 AM
  3. how-to have different HTML_HEADER for popup windows, please?
    By trev-h in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Apr 2009, 10:43 PM
  4. Problem with common html_header.php -- same line altered by 2 contributions
    By ckosloff in forum Contribution-Writing Guidelines
    Replies: 2
    Last Post: 2 Jul 2008, 02:44 PM
  5. Replies: 1
    Last Post: 24 Jun 2006, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg