Thread: iframes

Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: iframes

    Your broken iframe has nothing to do with there being any supposed "known issue with iframes and zc".

    Your HTML for your iframe tag isn't properly terminated, and thus the browser is confused, and is treating the rest of the page as part of the iframe, which it sees as starting out with a whole lotta closing tags, not new content.

    Instead of using <iframe .... />, use <iframe ..... ></iframe> and it'll work fine.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: iframes

    The "known issues" relate to Zen Cart content (especially payment processing and possibly sessions) being displayed inside iframes. There is no issue with external content brought into ZC.

  3. #3
    Join Date
    Jan 2009
    Posts
    11
    Plugin Contributions
    0

    Default Re: iframes

    i did see an error. but when i log in via shell to correct the code in \includes\languages\english\html_includes\define_page_2.php to...
    Code:
    <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?msa=0&amp;msid=213859551025902514341.00046643f81eab908377b&amp;hl=en&amp;ie=UTF8&amp;t=m&amp;vpsrc=1&amp;ll=36.795608,-94.397106&amp;spn=0,0&amp;output=embed"></iframe><br /><small>View <a href="http://maps.google.com/maps/ms?msa=0&amp;msid=213859551025902514341.00046643f81eab908377b&amp;hl=en&amp;ie=UTF8&amp;t=m&amp;vpsrc=1&amp;ll=36.795608,-94.397106&amp;spn=0,0&amp;source=embed" style="color:#0000FF;text-align:left">Jespersen Mfg &amp; Sales, Inc.</a> in a larger map</small>
    ...i still get the same results.

    am i missing something?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: iframes

    The link you posted above points to EZ-Page #1.
    So, not sure why you're editing "define_page_2.php" for an EZ-Page ID #1. EZ-Pages are stored in the database, and edited via your Admin->Tools->EZ-Pages menu.

    Your define-page-2, which has no link on your site, works fine: http://cart.jespersenmfg.com/index.php?main_page=page_2
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v150 iframes, security and youtube
    By caffeitalia in forum General Questions
    Replies: 3
    Last Post: 26 Jan 2012, 03:12 PM
  2. Paypal & iFrames Issue
    By g3steve in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 4 Nov 2011, 07:32 PM
  3. iframes in Ezpages?
    By Sevenhelmets in forum Basic Configuration
    Replies: 0
    Last Post: 9 Nov 2009, 03:46 PM
  4. Sideboxes in iFrames
    By vera in forum General Questions
    Replies: 2
    Last Post: 5 Jul 2006, 09:37 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