Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    27
    Plugin Contributions
    0

    Default Isolating Code for an iframe

    Hi,
    I have highly customized tpl_main_page.php so that the store fits into my normal website layout.

    Now I would like to isolate the Category Product Listings for each category and make them show up in an iframe but without the layout that I added in tpl_main_page.php.

    Any ideas?

    Currently in the iframe, the category product listings (/zen/index.php?main_page=index&cPath=1) load, but it of course shows a duplicate of the layout in the parent page.

  2. #2
    Join Date
    Jul 2007
    Posts
    27
    Plugin Contributions
    0

    Default Re: Isolating Code

    okay,
    I have it figured out

    I made an index2.php from index.php
    and instead of having it retrieve tpl_main_page.php, it retrieves a clone, tpl_main_page2.php, which doesn't have the code in it for the customized layout

 

 

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