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 Semt

Sean Cribbs schrieb:
> 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
> 
> On 1/3/07, Andreas Semt <[EMAIL PROTECTED]> wrote:
>>
>> Hello list,
>>
>> is it possible to add a new page attribute (Radiant version 0.52)
>> in generally?
>> If so, what's the best way to achieve that? I want to use the new
>> page attribute called 'event_order' this way:
>> ---
>> <r:children:each by="event_order"
>>    <r:content />
>> </r:children:each>
>> ---
>>
>> Thanks for any help!
>>
>>
>> Best regards,
>> Andreas Semt
>> _______________________________________________
>> Radiant mailing list
>> Post:   [email protected]
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to