[TYPO3-project-formidable] Stay in create / insert mode

Gary Wong gary.wong at spingroup.com
Thu Dec 11 19:09:26 CET 2008


Thanks for the tip, Jerome. Is there any difference between this and 
using an actionlet redirect?

Jé?rô?me Schneider wrote:
> Hello Gary,
>
> You'll find a simple way to achieve this here:
> http://formidable.typo3.ug/pastebin/snippet/58.html
>
> This solution is based on a datahandler/process/afterCreation executing 
> a sendToPage()
>
> Success !
> Jerome Schneider
> PS: sorry for late answers; we are working round the clock these days 
> (as always!)
>
> Gary Wong a écrit :
>   
>> I'm still stuck on this - hints, anyone?
>>
>> Gary Wong wrote:
>>     
>>> Another day, another challenge. This one seem to be trivial, but for 
>>> some reason I just can't get it.
>>>
>>> I want a form to always stay in create / insert mode, sort of like 
>>> "Save and new" functionality.
>>>
>>> I thought I could force a datahandler to stay in create mode if I did:
>>>
>>> <datahandler:DB>      <tablename>tx_amiapp_docspecialties</tablename> 
>>>     <keyname>uid</keyname>     <editentry><userobj>
>>>         <php><![CDATA[
>>>             return false;
>>>          ]]></php>
>>>          </userobj>
>>>      </editentry>
>>> </datahandler:DB>
>>>
>>> But it does't work.  After I submit the form it stays in edit mode.
>>>
>>> Anyone try this before?  I'm sure someone did!
>>>
>>> Thanks,
>>> Gary
>>>
>>> _______________________________________________
>>> TYPO3-project-formidable mailing list
>>> TYPO3-project-formidable at lists.netfielders.de
>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable 
>>>
>>>   
>>>       
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable

-- 
Gary Wong
Spin Group, Inc.
Web, eCommerce, Online Marketing - Over 10 years strong!
http://www.SpinGroup.com




More information about the TYPO3-project-formidable mailing list