Will Radius ever support if/else statements?
on 30.04.2008 07:16
on 30.04.2008 07:28
Arik Jones wrote: > Will Radius ever support if/else statements? > I'd love to hear John and Sean's latest thoughts on this. I've often felt that this was one of the main weak areas of Radius (and why there are now several <r:if_misc_stuff> tags to fill the void). In the meantime, I have an extension that I developed to test this functionality (actually both conditionals and variable declarations). John has encouraged me to put it out there for more people to try/critique but I wanted to split the two functionalities up first (it was just a proof of concept for me). Anyway, it is pretty usable (though it could use some lovin). You can get it here: https://secure.svnrepository.com/s_swanki/open/radiant/extensions/vars_if/trunk/ Also, there is the Backdoor extension which basically opens up ERB into your tags so you can use all of ruby's goodness within your tags. It also addresses the need for <r:if> tagging. -Chris
on 02.05.2008 03:16
Speaking of code, the radiant admin page textareas could use some sort of tab-enabled feature so I can indent my heavily-dynamic (tons of indented code) pages. I've implemented this with decent results in every browser except the most recent betas of Firefox 3. Chris Parrish wrote: > Arik Jones wrote: >> Will Radius ever support if/else statements? >> > I'd love to hear John and Sean's latest thoughts on this. I've often > felt that this was one of the main weak areas of Radius (and why there > are now several <r:if_misc_stuff> tags to fill the void). > > In the meantime, I have an extension that I developed to test this > functionality (actually both conditionals and variable declarations). > John has encouraged me to put it out there for more people to > try/critique but I wanted to split the two functionalities up first (it > was just a proof of concept for me). > > Anyway, it is pretty usable (though it could use some lovin). You can > get it here: > https://secure.svnrepository.com/s_swanki/open/radiant/extensions/vars_if/trunk/ > > Also, there is the Backdoor extension which basically opens up ERB into > your tags so you can use all of ruby's goodness within your tags. It > also addresses the need for <r:if> tagging. > > > -Chris
on 02.05.2008 06:39
On May 1, 2008, at 9:16 PM, Arik Jones wrote: > Speaking of code, the radiant admin page textareas could use some sort > of tab-enabled feature so I can indent my heavily-dynamic (tons of > indented code) pages. I've implemented this with decent results in > every > browser except the most recent betas of Firefox 3. That sounds very interesting. Finish it off and send us a patch. -- John Long http://wiseheartdesign.com