Extension Development, add user TSConfig

From TYPO3Wiki

Jump to: navigation, search
To add a button "Save and create new" to the tt_address table, add this to your ext_tables.php file
"Save and create new"-Button
Enlarge
"Save and create new"-Button
: <PHP> :
 
 // add save and new button to the form
 t3lib_extMgm::addUserTSConfig('options.saveDocNew.tt_address=1');
 

To find out more about TSConfig, look here: http://typo3.org/documentation/document-library/doc_core_tsconfig/

--Chibox 15:35, 12 February 2008 (CET)

Personal tools