Share » Forums » Setup & design » Word to image

Word to image

Word to image

Thursday 05 January 2006 6:12:11 am - 1 reply

Author Message

Felix Laate

Friday 06 January 2006 9:35:23 am

Hi Niklas!

If you have some attributes "priority" and "category" in your "project" class, you could fetch the projects and loop through them

{foreach $all_projects as $project}

{if eq($project.data_map.priority.content,'high')}
<img src="high.gif">
{elseif eq($project.data_map.priority.content,'medium')}
<img src="medium.gif">
{else}
<img src="low.gif">
{/if}

.. the rest of the content of $project ..


{/foreach}

 

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu