Alternatively, you can pass a pre-sorted Collection to the tag with
the items attribute.
On Jan 7, 2009, at 10:58 AM, Ralf Hirning wrote:
Chistian,
The order of the paragraphs is defined in the
<cms:contentNodeIterator> tag. If you are familiar with JSP Tags,
just create your own tag by extending
info.magnolia.cms.taglibs.ContentNodeIterator and override
doStartTag(). Have a look at the tag's code and you will see where
the list of paragraphs is defined:
this.contentNodeIterator = children.iterator();
This is the place where you can define your own paragraph order.
Ralf
Schuh, Christian schrieb:
Hello everybody,
Since this is I my first entry here, I quickly introduce myself to
the community:
My name is Christian Schuh and I´m working for the Frankfurt School
of Finance & Management. Right now I´m working on a customer´s
portal with Magnolia 3.5.8. CE. Though I´m not a studied
professional in computer science, I´m getting along quite fine.
Still I have a little issue of which I am sure You can help me out:
I am having an overview page with news. This means a colummn of
paragraphs. So far so good. Normally a new paragraph is inserted at
the bottom of the column. This I do not want to be in this case,
the latest entry schould be always placed on top. Automatically.
I guess, this will be easy for You to answer. If this has been
discussed earlier or already documented elsewhere, just tell me,
where I find it.
Thanks a lot!
Best regards
Christian
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------