Commit b756976d authored by Thorsten Griebenow's avatar Thorsten Griebenow
Browse files

[TASK] 44-create-t3org_layout-extension

* create basic extension setting
parent 063bb2f2
Pipeline #821 passed with stages
in 2 minutes and 55 seconds
......@@ -6,6 +6,7 @@ html/index.php
html/typo3
html/fileadmin/
html/typo3conf/ext/*
!html/typo3conf/ext/t3org_layout/
html/typo3conf/AdditionalConfiguration.php
html/typo3conf/deprecation_*
html/typo3conf/ENABLE_INSTALL_TOOL
......
<INCLUDE_TYPOSCRIPT: source="DIR:EXT:t3org_layout/Configuration/TypoScript/Ext/" extensions="ts">
\ No newline at end of file
plugin.tx_news {
view {
templateRootPaths >
templateRootPaths {
0 = EXT:news/Resources/Private/Templates/
1 = EXT:t3olayout/Resources/Private/Templates/News/
}
partialRootPaths >
partialRootPaths {
0 = EXT:news/Resources/Private/Partials/
1 = EXT:t3olayout/Resources/Private/Partials/News/
}
layoutRootPaths >
layoutRootPaths {
0 = EXT:news/Resources/Private/Layouts/
1 = EXT:t3olayout/Resources/Private/Layouts/News/
}
}
}
\ No newline at end of file
<?php
/**
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* The TYPO3 project - inspiring people to share!
*/
$EM_CONF[$_EXTKEY] = [
'title' => 'Configurations for the t3org site',
'description' => '',
'category' => 'frontend',
'version' => '0.1.0',
'state' => 'alpha',
'uploadfolder' => 0,
'createDirs' => '',
'clearcacheonload' => 1,
'author' => 't3o team',
'author_email' => 'maintenance@typo3.org',
'author_company' => 'TYPO3 Association',
'constraints' =>
[
'depends' =>
[
'typo3' => '7.6.12',
'php' => '7.0.0'
],
'conflicts' =>
[
],
'suggests' =>
[
],
],
];
\ No newline at end of file
<?php
// Add static TypoScript files
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript/Default/', 'T3O Frontend - Default T3O Layout Configuration');
\ No newline at end of file
Supports Markdown
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