[TYPO3-project-formidable] Edit modalbox: It always execute all functions!
Hauke Hain
newgrp at googlemail.com
Thu Mar 19 18:40:05 CET 2009
Hi Jerome,
yes it is.
Thank you for your help.
Hauke
"Jerome Schneider" <typo3dev at ameos.com> schrieb im Newsbeitrag
news:mailman.1.1237195128.27920.typo3-project-formidable at lists.netfielders.de...
> Hi Hauke,
>
> So for this thread it's probably also a matter of missing runat="server",
> right ?
>
> Jerome
>
> newgrp at googlemail.com a écrit :
>> Hi Jerome,
>>
>> in the following I descripe what I've done and what happens.
>>
>> I used the HowTo
>> http://formidable.typo3.ug/tutorials/editing-in-list-with-modalbox.html
>> as a basis.
>> I changed the database table to my own.
>>
>> Furthermore I added some renderlets to the modalbox (TinyMCE, where only
>> the textarea is shown, not the editor itself, and a few TEXT renderlets)
>> for editing more database fields.
>> I also added two new buttons: Hide/Show and Delete.
>>
>> My concern is, that everytime the modalbox opens all functions in the PHP
>> file are executed. So all my records get the deleted and hidden flag , it
>> does not matter if I use the save or close button. I also change the
>> timestamp in the save function, so it also sets it everytime I open the
>> modalbox via the Edit button in the LISTER.
>>
>> I hope this helps. Let me know if there is anything further I can do for
>> you.
>>
>> Regards,
>> Hauke
>>
>> ----- Original Message ----- From: "Jerome Schneider"
>> <typo3dev at ameos.com>
>> Newsgroups: typo3.projects.formidable
>> To: <typo3-project-formidable at lists.netfielders.de>
>> Sent: Monday, March 09, 2009 5:04 PM
>> Subject: Re: [TYPO3-project-formidable] Edit modalbox: It always execute
>> all functions!
>>
>>
>>> Hi there,
>>>
>>> I'm not sure to understand what you're describing? could you give little
>>> more details ?
>>>
>>> With kind regards,
>>> Jerome Schneider
>>>
>>>
>>> Hauke Hain a écrit :
>>>> Hi,
>>>>
>>>> based on this howto:
>>>> http://formidable.typo3.ug/tutorials/editing-in-list-with-modalbox.html
>>>> All the functions in the PHP file are executed if I click on the edit
>>>> button in the lister.
>>>>
>>>> This is a big problem for me, because some functions change the
>>>> database
>>>> and this should only happen if the user clicks on the right button
>>>> linked with the function.
>>>>
>>>> Why does this happen?
>>>> And more important: How can I change this behaviour?
>>>>
>>>> Regards,
>>>> Hauke
>>> _______________________________________________
>>> TYPO3-project-formidable mailing list
>>> TYPO3-project-formidable at lists.netfielders.de
>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable
>>
More information about the TYPO3-project-formidable
mailing list