[TYPO3-core] RFC: #10706: Usability: Remove "Save and View" when creating records in sysfolders

Steffen Müller typo3 at t3node.com
Tue Sep 8 12:47:15 CEST 2009


Hi.

REMINDER #2

Any good will left for this usability improvement?

Will the following change in 10706_v3.diff satisfy your requirements?

function getNewIconMode($table, $key = 'saveDocNew') {
+	$TSconfig = $GLOBALS['BE_USER']->getTSConfig('options.'.$key);
-	$TSconfig = $GLOBALS['BE_USER']->getTSConfig('options.'.$key,
t3lib_BEfunc::getPagesTSconfig($this->pageinfo['uid']));


-- 
cheers,
Steffen

On 12.06.2009 12:35 Rupert Germann wrote:
> hi Steffen,
> 
> the patch works for exactly the described feature, but it has some
> side-effects.
> 
> at the beginning of getNewIconMode() you changed
> $GLOBALS['BE_USER']->getTSConfig... to use pagesTSConfig instead of userTS.
> getPagesTSconfig() merges in userTS automatically but only that part that is
> in $GLOBALS['BE_USER']->userTS['page.']
> 
> but "saveDocNew" expects its value directly in 
> [userTS] options.saveDocNew.pages_language_overlay
> and not in page.options.saveDocNew.pages_language_overlay
> 
> so all these options will not work anymore.
> 
> -1 by testing
> 

-- 
cheers,
Steffen

TYPO3 Blog: http://www.t3node.com/
Blubber on Twitter: http://twitter.com/t3node


More information about the TYPO3-team-core mailing list