Re: Quick FormBuilder Upgrade Question -- moveElementsBefore

From: Date: Fri, 01 Apr 2005 01:04:38 +0000
Subject: Re: Quick FormBuilder Upgrade Question -- moveElementsBefore
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18454@lists.php.net to get a copy of this message
On Thu, 31 Mar 2005 18:52:57 -0600, Sarah Gray <sarah@fabled.net> wrote: > Hi Justin and all: > > upgrading is going great so far, but of course I was using your > moveElementBefore (etc) patch and it is not included so there are breaks. No big > deal, I will put it back in, but just wondering if that is going to be included > in the actual build any time in the future. > > Also I noticed that the latest version of QuickForm has an ordering elements > capability. I haven't even looked at that yet -- I wanted your opinion on > whether I should use your patch which I was happily doing before, or look down > this new route for ordering elements...? Well, using my patch means you have to keep applying my patch to subsequent QuickForm releases. They refused my patch in HTML_QuickForm and added an insertElementBefore function. It works, but (AFAIK) it's not as nice as my patch was. Oh well... A shortcut for moveElementBefore is: $form->insertElementBefore($form->removeElement('elementToMove'), 'elementToMoveBefore'); Assuming I got the order right. ;-) > > Thanks! > > Sarah Gray wrote: > > > Thanks. I will dive in now and emerge happy in hopefully not too long ;) > > > > s. > > > > Justin Patrin wrote: > > > > > On Thu, 31 Mar 2005 11:42:25 -0600, Sarah Gray <sarah@fabled.net> wrote: > > > > Finally upgrading from FormBuilder 0.9 to current version as I have time > > > > and a dev area in which to do it. > > > > > > > > Question: > > > > > > > > Should I first upgrade to 0.10.0 and run the fix scripts and THEN > > > > continue upward? > > > > > > > > Or should I just upgrade to 0.13.0, then run the 0.10.0 fix scripts and > > > > then address any additional > > > > changes between 0.10.0 and 0.13.0? > > > > > > > > > > Upgrade to the newest version and run the fix0.9.0Files.php script. > > > The other one was meant for use by a limited # of people who upgraded > > > to 0.10.0 right away. We should probably remove that one... > > > > > > The fix script should bring you up to date. I suggest you read all of > > > the changelogs on the Download page, though, and make sure that there > > > weren't any other major changes. (I'm pretty certain there haven't > > > been, but you might find something.) > > > > > > Best of luck. > > > > > > -- > > > Justin Patrin > > -- Justin Patrin

« previous php.pear.general (#18454) next »