[Typo3] save-and-new-button

tapio tapio.markula at dnainternet.net
Tue Aug 16 12:56:13 CEST 2005


Christian Trabold wrote:
> Hello Philipp,
> 
>> Can somebody give me a hint, where to find out sth. about the buttons 
>> (where are they setup, how to config)? I'd like to have a 
>> "new-and-save-button" in different location, for example in the 
>> standard pagecontent > text .
> 
> 
> you can add a save-and-new-button as well as hiding the delete button 
> via TSconfig. Add the following code to the user/group-TSconfig-field:
> 
> *Add save-and-new to all forms*
> options.saveDocNew = 1
> 
> *Enable it eg. for content-elements only*
> options.saveDocNew = 0
> options.saveDocNew.tt_content = 1
> 
> 
> *Hide the delete button*
> options.disableDelete = 1
> 
> *And again for hiding in content-element only*
> options.disableDelete = 0
> options.disableDelete.tt_content = 1
> 
> 
> Hope that helps a bit!
> 
> Christian

The plugin 'stfl_savedoknew' (or sometihing like that) adds it for all 
BE-users. If you put

options.saveDocNew = 1

in any 'ext_locanconf.php'

you don't need to install any new extension and you got automatic them.
It is necessary just DISABLE it from some users!



More information about the TYPO3-english mailing list