Page 1 of 1
News Module Problem [SOLVED]
Posted: Sat Jan 15, 2011 4:47 pm
by matejzivko
Hello,
does anybody know how can i make summary templates like on my pic on link...please help me

Re: News Module Problem
Posted: Sat Jan 15, 2011 9:18 pm
by Dr.CSS
You will have to make a new News Summary template...
Re: News Module Problem
Posted: Sat Jan 15, 2011 9:20 pm
by matejzivko
lol, i know that, how to show one news in left div and other 3 in right div
Re: News Module Problem
Posted: Sat Jan 15, 2011 9:30 pm
by Dr.CSS
You could do it with 2 news calls that use different news summary templates, one would need number='1' call other would need the call that starts it at 2 and limits it to 3...
Re: News Module Problem [SOLVED]
Posted: Sat Jan 15, 2011 11:03 pm
by calguy1000
In Your news Summar template change the foreach statement to have a 'name' parameter. i.e: name=foo
then, inside the foreach:
{if $smarty.foreach.foo.iteration == 0}
{* special divs and stuff that only happen for the first iteration *}
{else}
{* the divs and layout stuff for the other three iterations *}
{/if}
{/foreach}
With CMSMS there is usually numerous ways to do stuff like this.
Re: News Module Problem [SOLVED]
Posted: Sun Jan 16, 2011 3:30 am
by Dr.CSS
Better than my idea

...