donators

n@work Internet Informationssysteme GmbH
Your ad here

Advertising

Defining User TSConfig globally

By: Thomas

02.01.06 19:23 Age: 3 yrs

How can I set User TSconfig globally without set it for every single user I create?

You can create an extension with the kickstarter and edit the ext_localconf.php.

Add the following code to your ext_localconf.php:

  1.  
  2. t3lib_extMgm::addUserTSConfig('
  3.   TCAdefaults.pages.doktype = 2
  4.   setup.override.edit_docModuleUplaod = 0
  5.   // more settings come here
  6. ');
  7.  

Found a mistake?

If you found a mistake or if you have a good tip or suggestion, please contact me at thomas(at)typo3-unleashed.net. I will check it and correct the entry or insert the new one.

Thanks in advance for your help.