embedding code in an iFrame tag

Options

Hello,

Our non-profit has a digi-mag which we would like to sell on our website using Convio's store.  We need to limit access to the digi-mag to people who have actually paid for a subscription/are in good standing on their payments.  Currently, we are using issuu.com to host our digi-mag, and we would like to continue using issuu.  Our site manager told us that we may be able to "embed the magazine in an iFrame tag (within a pagebuilder page) and then conditionalize that iFrame tag based one group membership in Convio."  What is an iFrame tag?  Does anyone know how I would do this??

Thanks!!

Tagged:

Comments

  • An iFrame tag is an html element that is used on many sites to display content from another site.  It's also sometimes used as a hidden iFrame to allow for more advanced features on sites like pulling information from third party APIs.  You can get some general info about iFrames on a number of html tutorial sites, but check out: http://www.w3schools.com/TAGS/tag_iframe.asp

    You may also want to consider eCommerce digital downloads as a solution to the digital magazine you are selling.  With this feature in Convio you can limit the number of times a digital asset can be download from Convio after it has been purchased.

  • That would look something like this, where 1234 is the group_id you want to conditionalize against and http://www.mypage.com is the page to show in the frame:



    ]::TRUE::
    <!--The user is in group 1234-->
    <iframe src="http://www.mypage.com"></iframe>
    ::
    <!--The user is either not in group 1234 or not logged in-->
    <p>Some error message here.</p>
    ]]

    More info on the iframe tag can be found at http://www.w3schools.com/TAGS/tag_iframe.asp

  • Noah Cooper:

    That would look something like this, where 1234 is the group_id you want to conditionalize against and http://www.mypage.com is the page to show in the frame:



    ]::TRUE::
    <!--The user is in group 1234-->
    <iframe src="http://www.mypage.com"></iframe>
    ::
    <!--The user is either not in group 1234 or not logged in-->
    <p>Some error message here.</p>
    ]]

    More info on the iframe tag can be found at http://www.w3schools.com/TAGS/tag_iframe.asp

    I should point out that under the current xhtml standards the <iframe> element is depreciated in favor of the more flexible <object> element. <iframe> is considered valid for HTML 4 however, so you should choose the one that fits what standard your designing your site for.  Keep in mind that while XHTML might still be a little cutting edge right now with regards to browser support, it's also the likely way things will go in the future, so if you're ignoring it in favor of the easier to deal with HTML 4, your site could end up in the dust in a few years or so..

Categories