I just added this to the persist.php plugin and fixed a couple typo's I noticed in the function.
Cheers, Dan On Mon, Oct 5, 2009 at 3:19 PM, The Editor <[email protected]> wrote: > Of course, if we added this to the first line of the BOLTFpersist > function, we wouldn't need the conditional: > > if ($_GET['myid'] != '') return; > > I think this is an even better solution. > > Cheers, > Dan > > On Mon, Oct 5, 2009 at 3:00 PM, Kevin <[email protected]> wrote: >> On Sun, Oct 4, 2009 at 1:57 PM, The Editor <[email protected]> wrote: >>> >>> Not sure why this is not working... But I'll take your word for it. >>> We could rewrite the persist plugin to not act if $_GET['myid'] is >>> set. >>> >>> In BoltWire, the syntax you would use is this: >>> >>> [if ! set {?myid}]<(persist)>[if] >>> >>> The first checks to see if the get value myid is set. The <( )> is a >>> special syntax for functions that is processed after conditionals. >>> Otherwise [( )] would be processed before the conditional is ever >>> checked. >> >> Tested this today. works (using the test for conditional in the top zone) >> >> Add this to the boltwire site in the handbook conditions section. >> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
