[Radiant] [idea] snippets just like functions

Sean Cribbs seancribbs at gmail.com
Tue May 20 15:18:39 CDT 2008


There's a patch on the dev site for "yielding" snippets.  I'm not sure 
how I feel about it yet.  Snippets are already sensitive to local 
context in the sense that they inherit it from the spot where they are 
rendered.  It could be powerful, but it could also be a can of worms.  
Do you have a compelling use case?

Sean

nurilized wrote:
> hey, do you think it is a bad idea?
>
> creating a snippets that could take params could be good and will help dry,
> imho
>
> (actually thats what i need atm :D)
>
> what do you think?
> _______________________________________________
> 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