List Order

8 views
Skip to first unread message

Tiffany

unread,
Nov 20, 2008, 11:08:38 AM11/20/08
to RedDot CMS Users
When users add pages through a list element they are entered in, in
the opposite direction of the nav manager. So when I call a nav area I
created through the list the order is upside down. How can I fix this?

Frederic Hemberger

unread,
Nov 20, 2008, 1:26:58 PM11/20/08
to RedDot CMS Users
Hmm, I don't know if there's a fix for this at all: RedDot always
attaches new items in lists and containers at the top while Navigation
Manager always sorts it top down.
The only way to fix this would be the use of RQL. But there's no "page
created" event, where you can attach your RQL script to. So I think
this would be quite tricky. We hat this issue quite often but no
solution sofar.

So I really would appreciate any hint on that matter. ;)

CoolAsLife

unread,
Nov 24, 2008, 7:02:46 PM11/24/08
to RedDot CMS Users
Short answer is to resort the navigation index.

Long answer.....There are two indexes in CMS - The standard list index
and the nav man index. Yes - unfortunately one is top-down order and
the other is bottom-up ordered.

You can either get users to sort the navigation order or if you are
outputing the list on the page then use render tags to display it
rather than just putting the list placeholder on your page.

e.g. here a normal list on a page:

<!IoRangeList>
<li><a href="<%list_mylist%>"><%hdl_headline%></a></li>
<!/IoRangeList>

And here's the render tag version:

<reddot:cms>
<foreach itemname="item"
object="Context:CurrentPage.Elements.GetElement(list_mylist).Value">
<htmltext>
<li><a href="<%!! Store:item.GetUrl() !!%>"><%!!
Store:item.Headline !!%></a></li>
</htmltext>
</foreach>
</reddot:cms>

Chris Peoples

unread,
Dec 3, 2008, 1:11:37 PM12/3/08
to RedDot CMS Users
In SmartTree, you can change the Sort Order Settings on the list, so
that it populates top down. Sort order settings can be found in the
Content Class or on the page itself.

On Nov 20, 8:08 am, Tiffany <tiffany6...@yahoo.com> wrote:
> When users add pages through a list element they are entered in, in
> the opposite direction of the nav manager. So when I call a nav area I
> created through the list theorderis upside down. How can I fix this?
Reply all
Reply to author
Forward
0 new messages