Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ext_localconf.php:
- <?php
- defined('TYPO3_MODE') || die();
- \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
- '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:hocomtemplate/Configuration/PageTS/myPageTSconfigFile.txt">'
- );
- ext_tables.php:
- <?php
- defined('TYPO3_MODE') || die('Access denied.');
- call_user_func(
- function () {
- \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('hocomtemplate', 'Configuration/TypoScript', 'HocomAdvies Template');
- }
- );
- myPageTSconfigFile.txt:
- <INCLUDE_TYPOSCRIPT: source="DIR:EXT:hocomtemplate/Configuration/ModuleTS/PageTS/" extensions="pagets">
- <INCLUDE_TYPOSCRIPT: source="DIR:EXT:hocomtemplate/Configuration/ModuleTS/" extensions="txt">
- composer.json:
- {
- "name": "hocomadvies/hocomtemplate",
- "description": "Site Template TYPO3 CMS ",
- "type": "distribution",
- "license": "GPL-2.0-or-later",
- "authors": [
- {
- "name": "HocomAdvies Marketing",
- "role": "Developer",
- "homepage": "https://hocom-advies.nl/"
- }
- ],
- "require": {
- "php": "7.1.0 - 7.4.99",
- "typo3/cms-core": "8.7.0 - 10.4.99"
- }
- }
- <?php
- ext_emconf.php:
- $EM_CONF[$_EXTKEY] = array (
- 'title' => 'HocomAdvies Template',
- 'description' => 'HocomAdvies Site Template distribution TYPO3 CMS.',
- 'category' => 'distribution',
- 'version' => '1.0.0',
- 'state' => 'stable',
- 'uploadfolder' => false,
- 'author' => '',
- 'author_email' => '',
- 'author_company' => 'HocomAdvies Marketing Interim Internet',
- 'constraints' =>
- array (
- 'depends' =>
- array (
- 'php' => '7.1.0-7.4.99',
- 'typo3' => '8.7.0-10.4.99',
- ),
- 'conflicts' =>
- array (
- ),
- 'suggests' =>
- array (
- ),
- ),
- 'createDirs' => NULL,
- 'clearcacheonload' => false,
- );
Add Comment
Please, Sign In to add comment