Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2007
    Posts
    83
    Plugin Contributions
    0

    red flag Help needed - php template question

    Hi guys,

    I want to make my ON PAGE EXIT light box code go site wide as I have 1000s of pages.

    Can anyone suggest any info on how to put the generated code I have in to my sites template safely. Perhaps a step by step guide someone has done on the forum or on a wiki site.

    Any help would be great!

    Thanks
    I love Zencart!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Help needed - php template question

    Without more about the code and it's function I would guess that in a copy for your template of includes/templates/common/tpl_main_page.php might be the file to add it to as this loads with almost all pages

  3. #3
    Join Date
    Dec 2007
    Posts
    83
    Plugin Contributions
    0

    Default Re: Help needed - php template question

    Quote Originally Posted by kobra View Post
    Without more about the code and it's function I would guess that in a copy for your template of includes/templates/common/tpl_main_page.php might be the file to add it to as this loads with almost all pages
    Thanks kobra,

    Yes that will do the trick, but since yesterday i have changed my mind for the whole site as an exit pop up will bother customers and certain other areas of the site the same, is there a php template file that covers just the product pages?

    More about the code is a simple exit pop up script that can be placed anywhere on a single page and will do an exit pop up offer. I just want a template file that will cover my 1000s of product pages as implementation of code on a page by page basis would not be possible.

    Thanks :)
    I love Zencart!

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Help needed - php template question

    If you mean the actual product page you might look at
    includes/templates/templates/tpl_product_info_display.php
    Make a copy for your template

  5. #5
    Join Date
    Dec 2007
    Posts
    83
    Plugin Contributions
    0

    Default Re: Help needed - php template question

    Quote Originally Posted by kobra View Post
    If you mean the actual product page you might look at
    includes/templates/templates/tpl_product_info_display.php
    Make a copy for your template
    Thanks :)
    I love Zencart!

 

 

Similar Threads

  1. php help needed
    By Goshawk in forum General Questions
    Replies: 5
    Last Post: 4 Sep 2007, 02:01 AM
  2. Paypal question help needed
    By James1199 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 11 Nov 2006, 05:59 PM

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