[TYPO3-project-formidable] renderlet:BUTTON: Do something if clicked without JS
Hauke Hain
newgrp at googlemail.com
Sat Mar 14 17:34:42 CET 2009
Hi,
at the moment I use this:
<renderlet:BUTTON name="delete" label="LLL:be.delete">
<onclick>
<userobj>
<php><![CDATA[
$aRow = t3lib_div::_GP('tx_preview');
$GLOBALS["TYPO3_DB"]->exec_UPDATEquery(
"fe_user",
"uid='" . $aRow['uid'] . "'",
array("deleted" => '1')
);
]]></php>
</userobj>
</onclick>
</renderlet:BUTTON>
Now I want the same functionality realised in another way. Is there one in
formidable?
I would prefer a way without JavaScript.
One reason I am looking for another possibility is this bug (see the third
note (0027693)): http://bugs.typo3.org/view.php?id=10631
Kind regards,
Hauke
More information about the TYPO3-project-formidable
mailing list