Mr_media

site distribution for TYPO3 10

Mar 10th, 2020
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. ext_localconf.php:
  2.  
  3. <?php
  4. defined('TYPO3_MODE') || die();
  5. \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
  6. '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:hocomtemplate/Configuration/PageTS/myPageTSconfigFile.txt">'
  7. );
  8.  
  9.  
  10. ext_tables.php:
  11.  
  12. <?php
  13. defined('TYPO3_MODE') || die('Access denied.');
  14. call_user_func(
  15. function () {
  16. \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('hocomtemplate', 'Configuration/TypoScript', 'HocomAdvies Template');
  17. }
  18. );
  19.  
  20.  
  21. myPageTSconfigFile.txt:
  22. <INCLUDE_TYPOSCRIPT: source="DIR:EXT:hocomtemplate/Configuration/ModuleTS/PageTS/" extensions="pagets">
  23. <INCLUDE_TYPOSCRIPT: source="DIR:EXT:hocomtemplate/Configuration/ModuleTS/" extensions="txt">
  24.  
  25.  
  26. composer.json:
  27. {
  28. "name": "hocomadvies/hocomtemplate",
  29. "description": "Site Template TYPO3 CMS ",
  30. "type": "distribution",
  31. "license": "GPL-2.0-or-later",
  32. "authors": [
  33. {
  34. "name": "HocomAdvies Marketing",
  35. "role": "Developer",
  36. "homepage": "https://hocom-advies.nl/"
  37. }
  38. ],
  39. "require": {
  40. "php": "7.1.0 - 7.4.99",
  41. "typo3/cms-core": "8.7.0 - 10.4.99"
  42. }
  43. }
  44.  
  45. <?php
  46.  
  47.  
  48.  
  49. ext_emconf.php:
  50.  
  51. $EM_CONF[$_EXTKEY] = array (
  52. 'title' => 'HocomAdvies Template',
  53. 'description' => 'HocomAdvies Site Template distribution TYPO3 CMS.',
  54. 'category' => 'distribution',
  55. 'version' => '1.0.0',
  56. 'state' => 'stable',
  57. 'uploadfolder' => false,
  58. 'author' => '',
  59. 'author_email' => '',
  60. 'author_company' => 'HocomAdvies Marketing Interim Internet',
  61. 'constraints' =>
  62. array (
  63. 'depends' =>
  64. array (
  65. 'php' => '7.1.0-7.4.99',
  66. 'typo3' => '8.7.0-10.4.99',
  67. ),
  68. 'conflicts' =>
  69. array (
  70. ),
  71. 'suggests' =>
  72. array (
  73. ),
  74. ),
  75. 'createDirs' => NULL,
  76. 'clearcacheonload' => false,
  77. );
Add Comment
Please, Sign In to add comment