Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
voting.typo3.org
extensions
election
Commits
72b6648b
Commit
72b6648b
authored
Jan 24, 2021
by
Felix Herrmann
Browse files
add typoscript configuration as sys_template
parent
138b3579
Changes
3
Hide whitespace changes
Inline
Side-by-side
Configuration/TCA/Overrides/sys_template.php
0 → 100644
View file @
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
);
Configuration/TCA/Overrides/tt_content.php
View file @
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
*/
defined
(
'TYPO3_MODE'
)
or
die
();
(
function
()
{
...
...
Configuration/TypoScript/setup.typoscript
0 → 100644
View file @
72b6648b
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
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment