I have a rough version ready... but I'm still learning some internals so I can write the proper test code as well.
Added the patch to this ticket: http://dev.radiantcms.org/radiant/ticket/517 Any comments on how this should (and could!) be better are highly appreciated. Thanks Peter. On 7/16/07, Peter Berkenbosch <[EMAIL PROTECTED]> wrote: > > Hi John, > > Thanks, I will give a shot at it. Seems like a good way to return > something back to the community :). > > Peter. > > > > On 7/16/07, John Long <[EMAIL PROTECTED]> wrote: > > > > Peter Berkenbosch wrote: > > > One of the cool things of radiant is that dev.yourdomain.com shows > > radiant > > > in development modes... so you can see the draft pages.. > > > > > > BUT I would like to turn of some of the live scripts.. like google > > analytics > > > javascript. Is there an easy way to determine if a page is rendered in > > > development mode ? > > > > Not presently. You could make a <r:if_dev> and a <r:unless_dev> tag to > > fix the problem. I'd probably even accept a patch for these tags. They > > seem generally useful. > > > > -- > > John > > _______________________________________________ > > Radiant mailing list > > Post: [email protected] > > Search: http://radiantcms.org/mailing-list/search/ > > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > > > > > > -- > met vriendelijke groet, > > Peter Berkenbosch -- met vriendelijke groet, Peter Berkenbosch _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
