Commit 37a15010 authored by Wolf-Peter Utz's avatar Wolf-Peter Utz
Browse files

Merge branch 'task/fe-typoscript-includs' into 'task/be-functionality'

add typoscript configuration as sys_template

See merge request services/voting.typo3.org/extensions/election!21
parents 138b3579 72b6648b
<?php
/**
* This file is part of the "election" Extension for TYPO3 CMS.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* (c) 2020 Wolf Utz, Felix Herrmann
*/
declare(strict_types=1);
defined('TYPO3_MODE') || die();
(function ($extensionKey) {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
$extensionKey,
'Configuration/TypoScript',
'Election'
);
}
)(\T3o\Election\Constants::EXTENSION_KEY);
<?php
/**
* This file is part of the "election" Extension for TYPO3 CMS.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* (c) 2020 Wolf Utz, Felix Herrmann
*/
defined('TYPO3_MODE') or die();
(function () {
......
plugin {
tx_election {
features {
requireCHashArgumentForActionArguments = 0
}
}
}
page {
includeCSS {
election = EXT:election/Resources/Public/Css/election.css
}
includeJSFooter {
election = EXT:election/Resources/Public/JavaScript/election.js
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment