[TYPO3-dev] A small frontend editing issue
tapio
tapio.markula at dnainternet.net
Thu Jan 5 14:33:22 CET 2006
> ok. I could suggest a patch. One question.
> What is should put as condition to test
> in alt_doc.php
>
> to test, if
>
> admPanel.module.edit.forceNoPopup = 0
in class.tslib_content.php this has been tested at this way:
function editPanelLinkWrap_doWrap($string,$url,$currentRecord) {
if ($GLOBALS['BE_USER']->uc['TSFE_adminConfig']['edit_editNoPopup']
|| $GLOBALS['BE_USER']->extAdminConfig['module.']['edit.']['forceNoPopup'])
...
}
When I tried to use that test in alt_doc.php
that test didn't work.
admPanel.module.edit.forceNoPopup = 1
caused in test
function makeButtonPanel() {
...
print($GLOBALS['BE_USER']->extAdminConfig['module.']['edit.']['forceNoPopup']);
an empty string - Typo didn't find the variable because the result
should be '1'.
I don't figure how typo3 to find that variable inside alt_doc.php.
More information about the TYPO3-dev
mailing list