Extra ordening mechanism
nav_first.pngFirst: thread:378
extendable data forms / repeatable fields
Edited: 13 Oct 2011 03:09 by: Ben Miller
Comments: 4
Tags:
nav_prev.pngPrevious: thread:204
Ifdevice
Edited: 21 Dec 2009 16:21 by: gerdami
Comments: 0
Tags:

Steven HeynderickxSteven Heynderickx wrote on 09 Dec 2009 15:27

In the ListPages module one can order on several items… I would like to introduce the

order="index"

Because ordering not indexed lists is an intense activity for a server… I understand that the statement order="%%content{1}%%" is not possible.

therefore I would suggest a special field (contentblock) with only the possibility to enter integers

a template could look like this then

some formatting
####
index
====
content{1}

by using the "####" the server knows that this is the "to-be-indexed-field"

Maybe in a later ListPages statement the integers used there can be the source for ordering when the order-command is order="index"

Pieter mentioned having this problem so he had to manually make the list of sections in this forum… I had also this problem… the calender module also could use things like this to order stuff…

A custom ordering field is a need I think.


Start a new sub-thread

Comments: 1

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License