Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Advice on iframe

    The existing Event Calendar mod requires an iframe and the following edit:

    Code:
    4)Edit includes/templates/your_template/common/tpl_main_page.php
    
    //Add at top first line before "<?php " this code:
    
    <?php
      if (isset($_GET['eventmode']) && $_GET['eventmode'] == 'eventframe') {
      require($body_code);
      }else{
    ?> 
    
    //Add at bottom last line after "?> " this code:
    
    <?php
    }
    ?>
    With many advocating against the use of iframes in zencart:

    Is the iframe arrangement in Event Calendar OK to use?

    If not, how should Event Calendar be modified to exclude the iframe?

    Thanks

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

    Default Re: Advice on iframe

    With many advocating against the use of iframes in zencart:
    That would be not placing the main cart app inside an iframe
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Re: Advice on iframe

    I get it now thanks. That will save me a lot of bother.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 24 Apr 2012, 07:03 PM
  2. Iframe
    By leest35 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 14 Jun 2010, 04:07 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