Jump to content

[SOLVED] iframe on product short description not renders on PS 1.5.5.0


Recommended Posts

Hey guys I´m having troubles rendering an iframe on product "short description"

 

I´m developing a music shop and i need to put an iframe player on the product "short description" so when a costumer visits the product category view can preview the track clip without having to go inside the product page itself...

 

like this:

 

domain.com/shop/index.php?id_category=1&controller=category

 

The problem is that the iframe will only renders on the product page and not on the category controller view... and the costumer is always "forced" to go in the product page to preview the clip and "forced" back into the "category controller view" to preview other music clips..

 

 

Why does the iframe is not showing up on the category controller view?

 

Any suggestions?

 

Thanks a lot in advance. 

 

Regards,

 

W. Webb

 

Link to comment
Share on other sites

awesome :) thanks a lot vekia

 

that worked for me and its now showing up though i get this on the output:

 

" >

<p class="product_desc"><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short}" >{$product.description_short}</a></p>

and then the player shows 

 

where should i delete that closing tag?

 

best ;)

Edited by Webbie Webb (see edit history)
Link to comment
Share on other sites

Also i need to change the image class from "home_default" images on "home featured products" once i made it only 3 columns 170px wide

 

changed also homefeatured.tpl

<a href="{$product.link|escape:'html'}" title="{$product.name|escape:html:'UTF-8'}" class="product_image"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'Home_170')|escape:'html'}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product.name|escape:html:'UTF-8'}" />{if isset($product.new) && $product.new == 1}<span class="new">{l s='New' mod='homefeatured'}</span>{/if}</a>

Problem is I want to keep 124px on category controller view...

 

How can i change that to "home_default_170" without affecting the category controller view?

 

I created the new class home_default_170 and regenerated the icons

 

Thanks a lot in advance.

 

Best ;)

Edited by Webbie Webb (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...