[Radiant] if_content multiple parts (was if_content with inherit)

Sean Cribbs seancribbs at gmail.com
Tue Jul 15 13:03:07 CDT 2008


Jim,

I'm working on the core this week so I'll pull in those changes.

Sean

Jim Gay wrote:
> I'm eager to see these additions in the core, but rather than just 
> bugging them with pull requests would anyone like to give it a +/- 1 
> for adding in for 0.6.8?
>
> The changes in my repo add:
>
> 1) inherit = "true" to r:if_content and r:unless_content to work just 
> like the r:content tag.
> 2) allow a list of parts to find such as <r:if_content part="this, 
> that, other">
> 3) add a find="any" or find="all" to change the condition when listing 
> multiple parts
>
> On Jul 10, 2008, at 3:05 PM, Jim Gay wrote:
>
>> I ended up going with find="any | all" because it just made more 
>> sense when applied to unless_content.
>>
>> My additions are here:
>>
>> http://github.com/saturnflyer/radiant/tree
> _______________________________________________
> Radiant mailing list
> Post:   Radiant at radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>



More information about the Radiant mailing list