Mmm… well, if you don’t mind hacking the Rails code, you can add the
attribute yourself, but perhaps that’s not the best solution. What
exactly
do you need this for?
Sean
Hi Sean,
i am building a Radiant website for a client. This client has events
which are shown in the right column of the website. For example
there are ‘Live Event 1’, ‘Live Event 2’. These events should be
ordered, so that the next upcoming event is the first event in the
right column. For the ordering of the events i use the ‘breadcrumb’
page attribute, for ‘Live Event 1’ it’s ‘020’ and for ‘Live Event 2’
it’s ‘030’. Then i write (to fill the right website column):
<r:children:each by=“breadcrumb”
<r:content />
</r:children:each>
So the events are arranged independently from their titles or
page publishing dates. Now there’s a new important event, say
‘Very Important Event’, which should be the first event in the
right column. So i can set a ‘breadcrumb’ value of ‘010’.
This works, but this usage is not the intended purpose of the
‘breadcrumb’ attribute … It would be nice to have a free page
attribute, so that i can use that free attribute for the ordering
of the events.
Best regards,
Andreas S.
Sean C. schrieb: