Actions
Bug #32514
closedForm.css cannot be disabled
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2011-12-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
Currently the frontend CSS file of the new form element is hardcoded and thus cannot be disabled.
Form.php:
protected function setCss() { $GLOBALS['TSFE']->additionalHeaderData['tx_form_css'] = '<link rel="stylesheet" type="text/css" href="' . t3lib_extMgm::siteRelPath('form') . 'Resources/Public/CSS/Form.css' . '" media="all" />'; }
I would suggest to remove this method and the CSS include to the TypoScript setup in sysext/form/Configuration/TypoScript/setup.txt.
page.includeCSS.tx_form = typo3/sysext/form/Resources/Public/CSS/Form.css
Same for Confirmation.php.
If you agree with me, I would submit a request to Gerrit.
Actions