Ok so i have a widget called featured content and i have copied the template code from vbcms_widget_recentarticle_page and created a new template called vbcms_widget_recentarticle_page_featured and pointed my featured content widget at it.
You can see it in action at the top of the page on www.eteknix.com
This is the code for it:
What i want to do now is to have a thumbnail to go with each article but i can't for the life of me work out the code needed.
Also i would much prefer a horizontal list as opposed to the vertical list of articles as it's currently set out.
Any ideas?
Thanks,
Andy
You can see it in action at the top of the page on www.eteknix.com
This is the code for it:
Code:
<div class="cms_widget"> <div class="block"> <div class="cms_widget_header"> <h3>{vb:raw widget_title}</h3> </div> <div class="cms_widget_content widget_content"> <vb:each from="articles" key="contentid" value="article"> <div class="cms_widget_post_bit widget_post_bit"> <div class="cms_widget_post_comment widget_post_comment"> <h4 style="margin-left: -35px;" class="cms_widget_post_header widget_post_header"><a href="{vb:raw article.page_url}">{vb:raw article.title}</a></h4> <vb:if condition="$article['tags']"></vb:if> </div> </div> </vb:each> </div> </div>
Also i would much prefer a horizontal list as opposed to the vertical list of articles as it's currently set out.
Any ideas?
Thanks,
Andy
Comment