Jump to content

RSS with Images and Description


Recommended Posts

Hi there,

I'm trying to get the RSS News Feeds (from my wordpress) to work with images and short description into the home page of shop.

 

My problems so far have been to put the module "featured products" in the same line as "RSS feeds". It appears on the right but just because I code it on the global.CSS very poorly.

 

#rss_block_left {z-index : 25 ; top : -251px; position : relative; left : 620px;}

 

I read a comment on another post saying to create 2 divs with display:in-line but no idea how to process that nor in which file.

 

Furthermore, I've got the RSS news that come with the information from jackermag.com/feed/ and the images appear in the description. The blockrss.tpl file filters the information and I've managed to enable "description".

 

<!-- Block RSS module-->
<div id="rss_block_left" class="block">
<h4>{$title}</h4>
 <div class="block_content">
 {if $rss_links}
  <ul>
   {foreach from=$rss_links item='rss_link'}

 <li><a href="{$rss_link.url}">{$rss_link.title}</a></li>
 <div>{$rss_link.description}</div>
   {/foreach}
  </ul>
 {else}
  {l s='No RSS feed added' mod='blockrss'}
 {/if}
</div>
</div>
<!-- /Block RSS module-->

 

Anyone could help me resize the images properly, put the module in the right place and shorten the description to "X" words?

 

Thank you!

Link to comment
Share on other sites

×
×
  • Create New...