Project

General

Profile

Actions

Bug #32514

closed

Form.css cannot be disabled

Added by Lorenz Ulrich over 12 years ago. Updated over 12 years ago.

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 #1

Updated by Alexander Dick over 12 years ago

sorry, please delete this, accidentally copied it.

Actions #2

Updated by Steffen Gebert over 12 years ago

  • Status changed from New to Rejected

duplicate of #32480

Actions

Also available in: Atom PDF