Our Forum has Moved

This site is our old forum and is only here for achive until we get proper 301 redirects setup to make Google happy.

Please use our new community site - Our Umbraco - which contains an improved forum, documentation wiki, package repository and a member locator.

Go to Our Umbraco now

Learn everything about Umbraco
CWS NewsEventsSubNavi: How to split Events and News Options
epernst
Posted: Monday, June 15, 2009 9:08:25 AM

Rank: Newbie

Joined: 4/15/2009
Posts: 8
Location: Denmark
In the CWS NewsEventsSubNavi.xslt it by default lists 3 news or event items on the front page.

I want to change this so that it insteed lists the three latest newsItems (with a headline "Latest News" and then with a new headline "Up Coming Events" the 3 first eventItems (after current date).

Currently I'm getting a mix of news and events where it doesn't really post the latest news posted, if there are older events, as it only sorts by create date. Not really useful.

Any help appriciated.

Best regards,
Erik P. Ernst - Dynamics Experts
epernst
Posted: Sunday, June 21, 2009 9:05:44 PM

Rank: Newbie

Joined: 4/15/2009
Posts: 8
Location: Denmark
ANYONE? PLEASE!

Best regards,
Erik P. Ernst - Dynamics Experts
tommyp
Posted: Sunday, June 21, 2009 10:14:03 PM
Rank: Fanatic

Joined: 10/14/2007
Posts: 214
Location: Allerød, Denmark
Hi Erik, could you post the xslt code - for us not using CWS to have a look.

>Tommy



blackpoint.dk - Umbraco workbench - for people suffering from xslt amnesia.

The forum has moved

This forum is no longer in use, so you can't reply to this message - please go to Our Umbraco

Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.