Skins

How can I have the latest item displayed in full and all the others in brief?

Scenario:
"I have 10 items on my main page and I would like to show the latest one in detail (e.g. full text) and only the titles of the rest."

Solution:
Create 2 templates, one called default/indexDetail which displays the item in full and another called default/indexBrief which displays the title. Then use the following code instead of <%blog(default/index,10)%>:

<%blog(default/indexDetail,1)%>
<%blog(default/indexBrief,9(1))%>

Original forum thread:
http://forum.nucleuscms.org/viewtopic.php?t=10960

section: Skins | submitted by Leng on 2006.Feb.19 | 2912 views

item rate
Total votes: 2 - Rating: 5.00

Please tell us how useful this answer was to you (0 = useless, 10 = very very helpful):

10