redactuk
-
2/14/2007 5:04:37 PM
Repeater single level
Via desk I have some news items organise as:
/news item1 item2 /news/archive/ ----item3 ----item4
I have a repeater via /news/archive page:
<cc1:cmsrepeater id="Cmsrepeater1" runat="server" selectnodesorderby="NewsReleaseDate DESC" selectnodesclassname="cms.news" selectnodespathtype="AliasPath" transformationname="cms.news.newspreview" selecteditemtransformationname="cms.news.newsdefault" selectnodeswhere = "NewsReleaseDate < GetDate()" SelectNodesPath="/Company/News/news-archive/%"></cc1:cmsrepeater>
This works fine and displays only item3 and item4
however at higher level if i include:
<cc1:cmsrepeater id="Cmsrepeater1" runat="server" selectnodesorderby="NewsReleaseDate DESC" selectnodesclassname="cms.news" selectnodespathtype="AliasPath" transformationname="cms.news.newspreview" selecteditemtransformationname="cms.news.newsdefault" selectnodeswhere = "NewsReleaseDate < GetDate()" SelectNodesPath="/Company/News/%"></cc1:cmsrepeater>
I get all items displayed including 3&4
How can I specify SelectNodesPath= to only include current level and NOT any sub-levels?
Thanks
|