Rosha Posted March 4, 2016 Share Posted March 4, 2016 (edited) I've installed prestashop 1.6.1.4, and blockrss module. I have a blog in wordpress and I want to add the last entries to the displayright hook in store. I did with blockrss, It worked and it shows the titles of last entries. But I Want to show featured image of post and title both. How can I do that? Edited March 4, 2016 by Rosha (see edit history) Link to comment Share on other sites More sharing options...
Rosha Posted March 5, 2016 Author Share Posted March 5, 2016 Any idea? Link to comment Share on other sites More sharing options...
Rosha Posted May 4, 2016 Author Share Posted May 4, 2016 any idea? Link to comment Share on other sites More sharing options...
Siaavash Posted May 5, 2016 Share Posted May 5, 2016 (edited) Hi,For show the featured image, in blockrss.tpl replace this code: <!-- Block RSS module--> <div id="rss_block_left" class="block"> <p class="title_block">{$title}</p> <div class="block_content"> {if $rss_links} <ul> {foreach from=$rss_links item='rss_link'} <li><a href="{$rss_link.url}"><img src="{$rss_link.image}">{$rss_link.title}</a></li> {/foreach} </ul> {else} <p>{l s='No RSS feed added' mod='blockrss'}</p> {/if} </div> </div> <!-- /Block RSS module--> The featured image code is "<img src="{$rss_link.image}">" . You can add style to it. Edited May 5, 2016 by Siaavash (see edit history) 1 Link to comment Share on other sites More sharing options...
Amj69 Posted June 26, 2016 Share Posted June 26, 2016 Hi, For show the featured image, in blockrss.tpl replace this code: <!-- Block RSS module--> <div id="rss_block_left" class="block"> <p class="title_block">{$title}</p> <div class="block_content"> {if $rss_links} <ul> {foreach from=$rss_links item='rss_link'} <li><a href="{$rss_link.url}"><img src="{$rss_link.image}">{$rss_link.title}</a></li> {/foreach} </ul> {else} <p>{l s='No RSS feed added' mod='blockrss'}</p> {/if} </div> </div> <!-- /Block RSS module--> The featured image code is "<img src="{$rss_link.image}">" . You can add style to it. Oh, Thank You, Link to comment Share on other sites More sharing options...
ukbaz Posted January 15, 2019 Share Posted January 15, 2019 This works in Prestashop 1.6 is there an update for Prestashop 1.7? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now