Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Colocar iframe
 
SLaudio
Sr. Member
 
Avatar
Total Posts:  103
Joined:  2009-05-29
Lisboa - Portugal
 

Olá caros colegas,

Preciso colocar um iframe de um fornecedor na minha página para usufruir de uma campanha publicitaria

não sei como o fazer e precisava da vossa ajuda

No meu bloco lateral da home tenho este código para ter duas imagens…

<reference name="head">
  <
action method="addItem"><type>skin_js</type><name>js/glider.js</name></action
  <
action method="addItem"><type>skin_js</type><name>js/slider.js</name></action>
  <
action method="addItem"><type>skin_js</type><name>js/productInfo.js</name></action>
</
reference>
<
reference name="content">
  <
block type="catalog/product_new" name="home.new" alias="product_new" template="catalog/product/new.phtml">
    <
action method="setProductsCount"><count>12</count></action>
    <
action method="addPriceBlockType">
      <
type>bundle</type>
      <
block>bundle/catalog_product_price</block>
      <
template>bundle/catalog/product/price.phtml</template>
    </
action>
  </
block>
</
reference>
<
reference name="right">
  <
block type="core/template" name="right.callout1" template="callouts/left_col.phtml" before="-">
    <
action method="setImgSrc"><src>images/media/callout_side1.jpg</src></action>
    <
action method="setImgAlt" translate="alt" module="catalog"><alt>PIONEER DJM-2000</alt></action>
    <
action method="setLinkUrl"><url>djm2000.html</url></action>
  </
block>
  <
block type="core/template" name="right.callout2" template="callouts/left_col.phtml" after="right.callout1">
    <
action method="setImgSrc"><src>images/media/banner_work1.jpg</src></action>
  </
block>
  <
block type="newsletter/subscribe" name="right.newsletter" template="newsletter/subscribe.phtml" after="right.callout2"/>
  <
block type="tag/popular" name="tags_popular" template="tag/popular.phtml"/>
</
reference>
<
reference name="before_footer">
 <
block type="featured/featured" name="home.featured" template="catalog/product/featured.phtml">
    <
action method="setProductsCount"><count>25</count></action>
  </
block>
</
reference>

e precisava de lá colocar este iframe…

<iframe style="" frameborder="0" scrolling="no"  width="250" height="250" src="http://www.nicolaudie.com/en/nicolaudie-stick-banner-square.htm"></iframe>

Desde já agradeço a vossa ajuda

Abraços

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top