diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/.editorconfig b/resources/packages/bootstrap_package/10.4/src/.editorconfig similarity index 100% rename from src/Resources/skeletons/BaseExtension/bootstrap_package/.editorconfig rename to resources/packages/bootstrap_package/10.4/src/.editorconfig diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/Build/.htaccess b/resources/packages/bootstrap_package/10.4/src/Build/.htaccess similarity index 100% rename from src/Resources/skeletons/BaseExtension/bootstrap_package/Build/.htaccess rename to resources/packages/bootstrap_package/10.4/src/Build/.htaccess diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/Build/Gruntfile.js.twig b/resources/packages/bootstrap_package/10.4/src/Build/Gruntfile.js.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/bootstrap_package/Build/Gruntfile.js.twig rename to resources/packages/bootstrap_package/10.4/src/Build/Gruntfile.js.twig diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/Build/package.json.twig b/resources/packages/bootstrap_package/10.4/src/Build/package.json.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/bootstrap_package/Build/package.json.twig rename to resources/packages/bootstrap_package/10.4/src/Build/package.json.twig diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/Classes/.htaccess b/resources/packages/bootstrap_package/10.4/src/Classes/.htaccess similarity index 100% rename from src/Resources/skeletons/BaseExtension/bootstrap_package/Classes/.htaccess rename to resources/packages/bootstrap_package/10.4/src/Classes/.htaccess diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/Classes/Controller/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Classes/Controller/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/bootstrap_package/Classes/Controller/.gitkeep rename to resources/packages/bootstrap_package/10.4/src/Classes/Controller/.gitkeep diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/Classes/Domain/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Classes/Domain/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/bootstrap_package/Classes/Domain/.gitkeep rename to resources/packages/bootstrap_package/10.4/src/Classes/Domain/.gitkeep diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/Classes/Domain/Model/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Classes/Domain/Model/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/bootstrap_package/Classes/Domain/Model/.gitkeep rename to resources/packages/bootstrap_package/10.4/src/Classes/Domain/Model/.gitkeep diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/Classes/Domain/Repository/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Classes/Domain/Repository/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/bootstrap_package/Classes/Domain/Repository/.gitkeep rename to resources/packages/bootstrap_package/10.4/src/Classes/Domain/Repository/.gitkeep diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/Classes/ViewHelpers/.gitkeep b/resources/packages/bootstrap_package/10.4/src/Classes/ViewHelpers/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/bootstrap_package/Classes/ViewHelpers/.gitkeep rename to resources/packages/bootstrap_package/10.4/src/Classes/ViewHelpers/.gitkeep diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/Configuration/.htaccess b/resources/packages/bootstrap_package/10.4/src/Configuration/.htaccess similarity index 100% rename from src/Resources/skeletons/BaseExtension/bootstrap_package/Configuration/.htaccess rename to resources/packages/bootstrap_package/10.4/src/Configuration/.htaccess diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/Configuration/RTE/Default.yaml.twig b/resources/packages/bootstrap_package/10.4/src/Configuration/RTE/Default.yaml.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/bootstrap_package/Configuration/RTE/Default.yaml.twig rename to resources/packages/bootstrap_package/10.4/src/Configuration/RTE/Default.yaml.twig diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/Configuration/TCA/Overrides/pages.php.twig b/resources/packages/bootstrap_package/10.4/src/Configuration/TCA/Overrides/pages.php.twig similarity index 74% rename from src/Resources/skeletons/BaseExtension/bootstrap_package/Configuration/TCA/Overrides/pages.php.twig rename to resources/packages/bootstrap_package/10.4/src/Configuration/TCA/Overrides/pages.php.twig index 672a2d1..fb8d9fd 100644 --- a/src/Resources/skeletons/BaseExtension/bootstrap_package/Configuration/TCA/Overrides/pages.php.twig +++ b/resources/packages/bootstrap_package/10.4/src/Configuration/TCA/Overrides/pages.php.twig @@ -1,5 +1,6 @@ 'templates', 'constraints' => [ 'depends' => [ - 'bootstrap_package' => '{% if package.typo3version < 9000000 %}10.0.0-10.9.99{% elseif package.typo3version < 10000000 %}10.0.0-11.9.99{% elseif package.typo3version < 11000000 %}11.0.0-12.9.99{% elseif package.typo3version < 12000000 %}12.0.0-13.9.99{% else %}13.0.0-14.9.99{% endif %}', + 'bootstrap_package' => '12.0.0-12.9.99', ], 'conflicts' => [ ], diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/ext_localconf.php.twig b/resources/packages/bootstrap_package/10.4/src/ext_localconf.php.twig similarity index 75% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/ext_localconf.php.twig rename to resources/packages/bootstrap_package/10.4/src/ext_localconf.php.twig index cc9f50b..903ec20 100644 --- a/src/Resources/skeletons/BaseExtension/fluid_styled_content/ext_localconf.php.twig +++ b/resources/packages/bootstrap_package/10.4/src/ext_localconf.php.twig @@ -1,5 +1,6 @@ Resources/', + fonts: '<%= paths.resources %>Public/Fonts/', + img: '<%= paths.resources %>Public/Images/', + js: '<%= paths.resources %>Public/JavaScript/' + }, + banner: '/*!\n' + + ' * {{ package.title }} v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright 2017-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under the <%= pkg.license %> license\n' + + ' */\n', + uglify: { + all: { + options: { + banner: '<%= banner %>', + mangle: true, + compress: true, + beautify: false + }, + files: { + "<%= paths.js %>/Dist/scripts.js": [ + "<%= paths.js %>Src/main.js" + ] + } + } + }, + imagemin: { + extension: { + files: [{ + expand: true, + cwd: '<%= paths.resources %>', + src: [ + '**/*.{png,jpg,gif,svg}' + ], + dest: '<%= paths.resources %>' + }] + } + }, + watch: { + options: { + livereload: true + }, + javascript: { + files: '<%= paths.js %>Src/**/*.js', + tasks: ['js'] + } + } + }); + + /** + * Register tasks + */ + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-contrib-imagemin'); + + /** + * Grunt update task + */ + grunt.registerTask('js', ['uglify']); + grunt.registerTask('build', ['js', 'imagemin']); + grunt.registerTask('default', ['build']); + +}; diff --git a/resources/packages/bootstrap_package/11.5/src/Build/package.json.twig b/resources/packages/bootstrap_package/11.5/src/Build/package.json.twig new file mode 100644 index 0000000..21fc85a --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Build/package.json.twig @@ -0,0 +1,18 @@ +{ + "name": "{{ package.vendorNameAlternative }}-{{ package.packageNameAlternative }}", + "description": "{{ package.description }}", + "repository": { + "type": "git", + "url": "{{ package.repositoryUrl }}" + }, + "homepage": "{{ package.author.homepage }}", + "author": "{{ package.author.name }}", + "version": "1.0.0", + "license": "GPL-2.0-or-later", + "devDependencies": { + "grunt": "^1.0.3", + "grunt-contrib-uglify": "^4.0.0", + "grunt-contrib-watch": "^1.1.0", + "grunt-contrib-imagemin": "^2.0.1" + } +} diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Classes/.htaccess b/resources/packages/bootstrap_package/11.5/src/Classes/.htaccess similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Classes/.htaccess rename to resources/packages/bootstrap_package/11.5/src/Classes/.htaccess diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Classes/Controller/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Classes/Controller/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Classes/Controller/.gitkeep rename to resources/packages/bootstrap_package/11.5/src/Classes/Controller/.gitkeep diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Classes/Domain/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Classes/Domain/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Classes/Domain/.gitkeep rename to resources/packages/bootstrap_package/11.5/src/Classes/Domain/.gitkeep diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Classes/Domain/Model/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Classes/Domain/Model/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Classes/Domain/Model/.gitkeep rename to resources/packages/bootstrap_package/11.5/src/Classes/Domain/Model/.gitkeep diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Classes/Domain/Repository/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Classes/Domain/Repository/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Classes/Domain/Repository/.gitkeep rename to resources/packages/bootstrap_package/11.5/src/Classes/Domain/Repository/.gitkeep diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Classes/ViewHelpers/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Classes/ViewHelpers/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Classes/ViewHelpers/.gitkeep rename to resources/packages/bootstrap_package/11.5/src/Classes/ViewHelpers/.gitkeep diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Configuration/.htaccess b/resources/packages/bootstrap_package/11.5/src/Configuration/.htaccess similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Configuration/.htaccess rename to resources/packages/bootstrap_package/11.5/src/Configuration/.htaccess diff --git a/resources/packages/bootstrap_package/11.5/src/Configuration/RTE/Default.yaml.twig b/resources/packages/bootstrap_package/11.5/src/Configuration/RTE/Default.yaml.twig new file mode 100644 index 0000000..282236e --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Configuration/RTE/Default.yaml.twig @@ -0,0 +1,9 @@ +imports: + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } + - { resource: "EXT:bootstrap_package/Configuration/RTE/Default.yaml" } + +editor: + config: + contentsCss: "EXT:bootstrap_package/Resources/Public/Css/bootstrap4-rte.min.css" diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Configuration/TCA/Overrides/pages.php.twig b/resources/packages/bootstrap_package/11.5/src/Configuration/TCA/Overrides/pages.php.twig similarity index 74% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Configuration/TCA/Overrides/pages.php.twig rename to resources/packages/bootstrap_package/11.5/src/Configuration/TCA/Overrides/pages.php.twig index 672a2d1..e846682 100644 --- a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Configuration/TCA/Overrides/pages.php.twig +++ b/resources/packages/bootstrap_package/11.5/src/Configuration/TCA/Overrides/pages.php.twig @@ -1,5 +1,6 @@ + + +############ +### PAGE ### +############ +page { + logo { + file = EXT:{{ package.extensionKey }}/Resources/Public/Images/logo.svg + fileInverted = EXT:{{ package.extensionKey }}/Resources/Public/Images/logo-inverted.svg + height = 52 + width = 192 + alt = {{ package.title }} + linktitle = {{ package.title }} + } + favicon { + file = EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico + } + fluidtemplate { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + } +} + + +################## +### EXTENSIONS ### +################## +plugin.bootstrap_package { + view { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ + } +} + + +######################## +### CONTENT ELEMENTS ### +######################## +plugin.bootstrap_package_contentelements { + view { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/ + } +} + + +################################ +### BOOTSTRAP SCSS CONSTANTS ### +################################ +plugin.bootstrap_package.settings.scss { + primary = #eb3e4a + secondary = #013859 +} diff --git a/resources/packages/bootstrap_package/11.5/src/Configuration/TypoScript/setup.typoscript.twig b/resources/packages/bootstrap_package/11.5/src/Configuration/TypoScript/setup.typoscript.twig new file mode 100644 index 0000000..00a0420 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Configuration/TypoScript/setup.typoscript.twig @@ -0,0 +1,30 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############## +#### PAGE #### +############## +page { + includeCSS { + theme = EXT:{{ package.extensionKey }}/Resources/Public/Scss/Theme/theme.scss + } + + includeJSLibs { + + } + + includeJS { + + } + + includeJSFooterlibs { + + } + + includeJSFooter { + {{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/Dist/scripts.js + } +} diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/README.md.twig b/resources/packages/bootstrap_package/11.5/src/README.md.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/README.md.twig rename to resources/packages/bootstrap_package/11.5/src/README.md.twig diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/.htaccess b/resources/packages/bootstrap_package/11.5/src/Resources/Private/.htaccess similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/.htaccess rename to resources/packages/bootstrap_package/11.5/src/Resources/Private/.htaccess diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Language/locallang.xlf.twig b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang.xlf.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Language/locallang.xlf.twig rename to resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang.xlf.twig diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 0000000..8b09912 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Example + + + Normal + + +
+
diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang_db.xlf.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Language/locallang_db.xlf.twig rename to resources/packages/bootstrap_package/11.5/src/Resources/Private/Language/locallang_db.xlf.twig diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Layouts/ContentElements/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Layouts/ContentElements/.gitkeep rename to resources/packages/bootstrap_package/11.5/src/Resources/Private/Layouts/ContentElements/.gitkeep diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Css/layout.css b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Layouts/Page/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Css/layout.css rename to resources/packages/bootstrap_package/11.5/src/Resources/Private/Layouts/Page/.gitkeep diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Partials/ContentElements/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Partials/ContentElements/.gitkeep rename to resources/packages/bootstrap_package/11.5/src/Resources/Private/Partials/ContentElements/.gitkeep diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Partials/Page/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Partials/Page/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Partials/Page/.gitkeep rename to resources/packages/bootstrap_package/11.5/src/Resources/Private/Partials/Page/.gitkeep diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Templates/ContentElements/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Templates/ContentElements/.gitkeep rename to resources/packages/bootstrap_package/11.5/src/Resources/Private/Templates/ContentElements/.gitkeep diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Private/Templates/Page/Example.html.twig b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Templates/Page/Example.html.twig new file mode 100644 index 0000000..2b67bb1 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Private/Templates/Page/Example.html.twig @@ -0,0 +1,22 @@ + + + + +
+
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Example.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig +
+
+
+
+ + +
+ diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Fonts/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Css/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Fonts/.gitkeep rename to resources/packages/bootstrap_package/11.5/src/Resources/Public/Css/.gitkeep diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Fonts/.gitkeep b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/BackendLayouts/example.svg b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/BackendLayouts/example.svg new file mode 100644 index 0000000..d05abec --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/BackendLayouts/example.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Icons/Extension.svg b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/Extension.svg similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Icons/Extension.svg rename to resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/Extension.svg diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Icons/favicon.ico b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/favicon.ico similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Icons/favicon.ico rename to resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/favicon.ico diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/logo-inverted.svg b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/logo-inverted.svg new file mode 100644 index 0000000..f465b08 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/logo.svg b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/logo.svg new file mode 100644 index 0000000..dc1615f --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Icons/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Images/logo-inverted.svg b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Images/logo-inverted.svg new file mode 100644 index 0000000..f465b08 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Images/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Images/logo.svg b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Images/logo.svg new file mode 100644 index 0000000..dc1615f --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Images/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/JavaScript/Dist/scripts.js.twig b/resources/packages/bootstrap_package/11.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/JavaScript/Dist/scripts.js.twig rename to resources/packages/bootstrap_package/11.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/JavaScript/Src/main.js.twig b/resources/packages/bootstrap_package/11.5/src/Resources/Public/JavaScript/Src/main.js.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/JavaScript/Src/main.js.twig rename to resources/packages/bootstrap_package/11.5/src/Resources/Public/JavaScript/Src/main.js.twig diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Scss/Theme/_variables.scss b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Scss/Theme/_variables.scss new file mode 100644 index 0000000..4a4e02e --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Scss/Theme/_variables.scss @@ -0,0 +1,3 @@ +// +// Variables +// diff --git a/resources/packages/bootstrap_package/11.5/src/Resources/Public/Scss/Theme/theme.scss.twig b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Scss/Theme/theme.scss.twig new file mode 100644 index 0000000..bec14c0 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/Resources/Public/Scss/Theme/theme.scss.twig @@ -0,0 +1,9 @@ +// +// Variables +// +@import "variables"; + +// +// Import needed Bootstrap Package Files +// +@import "EXT:bootstrap_package/Resources/Public/Scss/bootstrap5/theme"; diff --git a/resources/packages/bootstrap_package/11.5/src/composer.json.twig b/resources/packages/bootstrap_package/11.5/src/composer.json.twig new file mode 100644 index 0000000..ebb0879 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/composer.json.twig @@ -0,0 +1,21 @@ +{ + "name": "{{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }}", + "type": "typo3-cms-extension", + "description": "{{ package.description}}", + "homepage": "{{ package.author.homepage }}", + "license": ["GPL-2.0-or-later"], + "keywords": ["TYPO3 CMS"], + "require": { + "bk2k/bootstrap-package": "^14.0" + }, + "autoload": { + "psr-4": { + "{{ package.vendorName }}\\{{ package.packageName }}\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "{{ package.extensionKey }}" + } + } +} diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/ext_conf_template.txt.twig b/resources/packages/bootstrap_package/11.5/src/ext_conf_template.txt.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/ext_conf_template.txt.twig rename to resources/packages/bootstrap_package/11.5/src/ext_conf_template.txt.twig diff --git a/resources/packages/bootstrap_package/11.5/src/ext_emconf.php.twig b/resources/packages/bootstrap_package/11.5/src/ext_emconf.php.twig new file mode 100644 index 0000000..bef8f27 --- /dev/null +++ b/resources/packages/bootstrap_package/11.5/src/ext_emconf.php.twig @@ -0,0 +1,30 @@ + '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'bootstrap_package' => '14.0.0-14.9.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/ext_localconf.php.twig b/resources/packages/bootstrap_package/11.5/src/ext_localconf.php.twig similarity index 75% rename from src/Resources/skeletons/BaseExtension/bootstrap_package/ext_localconf.php.twig rename to resources/packages/bootstrap_package/11.5/src/ext_localconf.php.twig index cc9f50b..501803a 100644 --- a/src/Resources/skeletons/BaseExtension/bootstrap_package/ext_localconf.php.twig +++ b/resources/packages/bootstrap_package/11.5/src/ext_localconf.php.twig @@ -1,5 +1,6 @@ Resources/', + fonts: '<%= paths.resources %>Public/Fonts/', + img: '<%= paths.resources %>Public/Images/', + js: '<%= paths.resources %>Public/JavaScript/' + }, + banner: '/*!\n' + + ' * {{ package.title }} v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright 2017-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under the <%= pkg.license %> license\n' + + ' */\n', + uglify: { + all: { + options: { + banner: '<%= banner %>', + mangle: true, + compress: true, + beautify: false + }, + files: { + "<%= paths.js %>/Dist/scripts.js": [ + "<%= paths.js %>Src/main.js" + ] + } + } + }, + imagemin: { + extension: { + files: [{ + expand: true, + cwd: '<%= paths.resources %>', + src: [ + '**/*.{png,jpg,gif,svg}' + ], + dest: '<%= paths.resources %>' + }] + } + }, + watch: { + options: { + livereload: true + }, + javascript: { + files: '<%= paths.js %>Src/**/*.js', + tasks: ['js'] + } + } + }); + + /** + * Register tasks + */ + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-contrib-imagemin'); + + /** + * Grunt update task + */ + grunt.registerTask('js', ['uglify']); + grunt.registerTask('build', ['js', 'imagemin']); + grunt.registerTask('default', ['build']); + +}; diff --git a/resources/packages/bootstrap_package/12.4/src/Build/package.json.twig b/resources/packages/bootstrap_package/12.4/src/Build/package.json.twig new file mode 100644 index 0000000..21fc85a --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Build/package.json.twig @@ -0,0 +1,18 @@ +{ + "name": "{{ package.vendorNameAlternative }}-{{ package.packageNameAlternative }}", + "description": "{{ package.description }}", + "repository": { + "type": "git", + "url": "{{ package.repositoryUrl }}" + }, + "homepage": "{{ package.author.homepage }}", + "author": "{{ package.author.name }}", + "version": "1.0.0", + "license": "GPL-2.0-or-later", + "devDependencies": { + "grunt": "^1.0.3", + "grunt-contrib-uglify": "^4.0.0", + "grunt-contrib-watch": "^1.1.0", + "grunt-contrib-imagemin": "^2.0.1" + } +} diff --git a/resources/packages/bootstrap_package/12.4/src/Classes/.htaccess b/resources/packages/bootstrap_package/12.4/src/Classes/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Classes/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/12.4/src/Classes/Controller/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Classes/Controller/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Classes/Controller/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Classes/Domain/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Classes/Domain/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Classes/Domain/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Classes/Domain/Model/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Classes/Domain/Model/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Classes/Domain/Model/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Classes/Domain/Repository/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Classes/Domain/Repository/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Classes/Domain/Repository/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Classes/ViewHelpers/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Classes/ViewHelpers/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Classes/ViewHelpers/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/.htaccess b/resources/packages/bootstrap_package/12.4/src/Configuration/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/RTE/Default.yaml.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/RTE/Default.yaml.twig new file mode 100644 index 0000000..282236e --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/RTE/Default.yaml.twig @@ -0,0 +1,9 @@ +imports: + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } + - { resource: "EXT:bootstrap_package/Configuration/RTE/Default.yaml" } + +editor: + config: + contentsCss: "EXT:bootstrap_package/Resources/Public/Css/bootstrap4-rte.min.css" diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TCA/Overrides/pages.php.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TCA/Overrides/pages.php.twig new file mode 100644 index 0000000..e846682 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TCA/Overrides/pages.php.twig @@ -0,0 +1,20 @@ + + + + diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig new file mode 100644 index 0000000..8213cfa --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig @@ -0,0 +1,4 @@ +# +# BACKENDLAYOUTS +# + diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig new file mode 100644 index 0000000..628a725 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig @@ -0,0 +1,29 @@ +# +# BACKENDLAYOUT: EXAMPLE +# +mod { + web_layout { + BackendLayouts { + example { + title = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.example + config { + backend_layout { + colCount = 1 + rowCount = 1 + rows { + 1 { + columns { + 1 { + name = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal + colPos = 0 + } + } + } + } + } + } + icon = EXT:{{ package.extensionKey }}/Resources/Public/Icons/BackendLayouts/example.svg + } + } + } +} diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig new file mode 100644 index 0000000..3835324 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig @@ -0,0 +1,8 @@ +############# +#### RTE #### +############# +RTE { + default { + preset = {{ package.extensionKey }} + } +} diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig new file mode 100644 index 0000000..55f97ce --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig @@ -0,0 +1,11 @@ +# +# TCEFORM +# +TCEFORM { + pages { + + } + tt_content { + + } +} diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig new file mode 100644 index 0000000..9d4a5e4 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig @@ -0,0 +1,6 @@ +# +# TCEMAIN +# +TCEMAIN { + +} diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TypoScript/constants.typoscript.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TypoScript/constants.typoscript.twig new file mode 100644 index 0000000..3290416 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TypoScript/constants.typoscript.twig @@ -0,0 +1,60 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############ +### PAGE ### +############ +page { + logo { + file = EXT:{{ package.extensionKey }}/Resources/Public/Images/logo.svg + fileInverted = EXT:{{ package.extensionKey }}/Resources/Public/Images/logo-inverted.svg + height = 52 + width = 192 + alt = {{ package.title }} + linktitle = {{ package.title }} + } + favicon { + file = EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico + } + fluidtemplate { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + } +} + + +################## +### EXTENSIONS ### +################## +plugin.bootstrap_package { + view { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ + } +} + + +######################## +### CONTENT ELEMENTS ### +######################## +plugin.bootstrap_package_contentelements { + view { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/ + } +} + + +################################ +### BOOTSTRAP SCSS CONSTANTS ### +################################ +plugin.bootstrap_package.settings.scss { + primary = #eb3e4a + secondary = #013859 +} diff --git a/resources/packages/bootstrap_package/12.4/src/Configuration/TypoScript/setup.typoscript.twig b/resources/packages/bootstrap_package/12.4/src/Configuration/TypoScript/setup.typoscript.twig new file mode 100644 index 0000000..00a0420 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Configuration/TypoScript/setup.typoscript.twig @@ -0,0 +1,30 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############## +#### PAGE #### +############## +page { + includeCSS { + theme = EXT:{{ package.extensionKey }}/Resources/Public/Scss/Theme/theme.scss + } + + includeJSLibs { + + } + + includeJS { + + } + + includeJSFooterlibs { + + } + + includeJSFooter { + {{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/Dist/scripts.js + } +} diff --git a/resources/packages/bootstrap_package/12.4/src/README.md.twig b/resources/packages/bootstrap_package/12.4/src/README.md.twig new file mode 100644 index 0000000..8b095c7 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/README.md.twig @@ -0,0 +1,4 @@ +Sitepackage for the project "{{ package.title }}" +============================================================== + +Add some explanation here. diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/.htaccess b/resources/packages/bootstrap_package/12.4/src/Resources/Private/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang.xlf.twig b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 0000000..8b09912 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Example + + + Normal + + +
+
diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Css/layout.min.css b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Layouts/Page/.gitkeep similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Css/layout.min.css rename to resources/packages/bootstrap_package/12.4/src/Resources/Private/Layouts/Page/.gitkeep diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Private/Templates/Page/Example.html.twig b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Templates/Page/Example.html.twig new file mode 100644 index 0000000..2b67bb1 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Private/Templates/Page/Example.html.twig @@ -0,0 +1,22 @@ + + + + +
+
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Example.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig +
+
+
+
+ + +
+ diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Css/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Css/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Css/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Fonts/.gitkeep b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/BackendLayouts/example.svg b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/BackendLayouts/example.svg new file mode 100644 index 0000000..d05abec --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/BackendLayouts/example.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/Extension.svg b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 0000000..d853637 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/favicon.ico b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000..46d4c14 Binary files /dev/null and b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/favicon.ico differ diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/logo-inverted.svg b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/logo-inverted.svg new file mode 100644 index 0000000..f465b08 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/logo.svg b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/logo.svg new file mode 100644 index 0000000..dc1615f --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Icons/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Images/logo-inverted.svg b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Images/logo-inverted.svg new file mode 100644 index 0000000..f465b08 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Images/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Images/logo.svg b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Images/logo.svg new file mode 100644 index 0000000..dc1615f --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Images/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig b/resources/packages/bootstrap_package/12.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig new file mode 100644 index 0000000..af83240 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig @@ -0,0 +1,6 @@ +/*! + * {{ package.title }} v1.0.0 ({{ package.author.homepage }}) + * Copyright 2017-{{ 'now'|date('Y') }} {{ package.author.name }} + * Licensed under the GPL-2.0-or-later license + */ +console.log("WE LOVE TYPO3"); diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/JavaScript/Src/main.js.twig b/resources/packages/bootstrap_package/12.4/src/Resources/Public/JavaScript/Src/main.js.twig new file mode 100644 index 0000000..a5e4902 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/JavaScript/Src/main.js.twig @@ -0,0 +1 @@ +console.log('WE LOVE TYPO3'); diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Scss/Theme/_variables.scss b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Scss/Theme/_variables.scss new file mode 100644 index 0000000..4a4e02e --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Scss/Theme/_variables.scss @@ -0,0 +1,3 @@ +// +// Variables +// diff --git a/resources/packages/bootstrap_package/12.4/src/Resources/Public/Scss/Theme/theme.scss.twig b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Scss/Theme/theme.scss.twig new file mode 100644 index 0000000..bec14c0 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/Resources/Public/Scss/Theme/theme.scss.twig @@ -0,0 +1,9 @@ +// +// Variables +// +@import "variables"; + +// +// Import needed Bootstrap Package Files +// +@import "EXT:bootstrap_package/Resources/Public/Scss/bootstrap5/theme"; diff --git a/resources/packages/bootstrap_package/12.4/src/composer.json.twig b/resources/packages/bootstrap_package/12.4/src/composer.json.twig new file mode 100644 index 0000000..8ddfe1a --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/composer.json.twig @@ -0,0 +1,21 @@ +{ + "name": "{{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }}", + "type": "typo3-cms-extension", + "description": "{{ package.description}}", + "homepage": "{{ package.author.homepage }}", + "license": ["GPL-2.0-or-later"], + "keywords": ["TYPO3 CMS"], + "require": { + "bk2k/bootstrap-package": "^15.0" + }, + "autoload": { + "psr-4": { + "{{ package.vendorName }}\\{{ package.packageName }}\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "{{ package.extensionKey }}" + } + } +} diff --git a/resources/packages/bootstrap_package/12.4/src/ext_conf_template.txt.twig b/resources/packages/bootstrap_package/12.4/src/ext_conf_template.txt.twig new file mode 100644 index 0000000..e87dc9c --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/ext_conf_template.txt.twig @@ -0,0 +1,3 @@ +# +# Extension Configuration template +# diff --git a/resources/packages/bootstrap_package/12.4/src/ext_emconf.php.twig b/resources/packages/bootstrap_package/12.4/src/ext_emconf.php.twig new file mode 100644 index 0000000..c0cbac7 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/ext_emconf.php.twig @@ -0,0 +1,30 @@ + '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'bootstrap_package' => '15.0.0-15.99.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/bootstrap_package/12.4/src/ext_localconf.php.twig b/resources/packages/bootstrap_package/12.4/src/ext_localconf.php.twig new file mode 100644 index 0000000..501803a --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/ext_localconf.php.twig @@ -0,0 +1,13 @@ +'); diff --git a/resources/packages/bootstrap_package/12.4/src/ext_tables.php.twig b/resources/packages/bootstrap_package/12.4/src/ext_tables.php.twig new file mode 100644 index 0000000..07154a9 --- /dev/null +++ b/resources/packages/bootstrap_package/12.4/src/ext_tables.php.twig @@ -0,0 +1,3 @@ +Resources/', + fonts: '<%= paths.resources %>Public/Fonts/', + img: '<%= paths.resources %>Public/Images/', + js: '<%= paths.resources %>Public/JavaScript/' + }, + banner: '/*!\n' + + ' * {{ package.title }} v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright 2017-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under the <%= pkg.license %> license\n' + + ' */\n', + uglify: { + all: { + options: { + banner: '<%= banner %>', + mangle: true, + compress: true, + beautify: false + }, + files: { + "<%= paths.js %>/Dist/scripts.js": [ + "<%= paths.js %>Src/main.js" + ] + } + } + }, + imagemin: { + extension: { + files: [{ + expand: true, + cwd: '<%= paths.resources %>', + src: [ + '**/*.{png,jpg,gif,svg}' + ], + dest: '<%= paths.resources %>' + }] + } + }, + watch: { + options: { + livereload: true + }, + javascript: { + files: '<%= paths.js %>Src/**/*.js', + tasks: ['js'] + } + } + }); + + /** + * Register tasks + */ + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-contrib-imagemin'); + + /** + * Grunt update task + */ + grunt.registerTask('js', ['uglify']); + grunt.registerTask('build', ['js', 'imagemin']); + grunt.registerTask('default', ['build']); + +}; diff --git a/resources/packages/bootstrap_package/8.7/src/Build/package.json.twig b/resources/packages/bootstrap_package/8.7/src/Build/package.json.twig new file mode 100644 index 0000000..21fc85a --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Build/package.json.twig @@ -0,0 +1,18 @@ +{ + "name": "{{ package.vendorNameAlternative }}-{{ package.packageNameAlternative }}", + "description": "{{ package.description }}", + "repository": { + "type": "git", + "url": "{{ package.repositoryUrl }}" + }, + "homepage": "{{ package.author.homepage }}", + "author": "{{ package.author.name }}", + "version": "1.0.0", + "license": "GPL-2.0-or-later", + "devDependencies": { + "grunt": "^1.0.3", + "grunt-contrib-uglify": "^4.0.0", + "grunt-contrib-watch": "^1.1.0", + "grunt-contrib-imagemin": "^2.0.1" + } +} diff --git a/resources/packages/bootstrap_package/8.7/src/Classes/.htaccess b/resources/packages/bootstrap_package/8.7/src/Classes/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Classes/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/8.7/src/Classes/Controller/.gitkeep b/resources/packages/bootstrap_package/8.7/src/Classes/Controller/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Classes/Controller/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/8.7/src/Classes/Domain/.gitkeep b/resources/packages/bootstrap_package/8.7/src/Classes/Domain/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Classes/Domain/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/8.7/src/Classes/Domain/Model/.gitkeep b/resources/packages/bootstrap_package/8.7/src/Classes/Domain/Model/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Classes/Domain/Model/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/8.7/src/Classes/Domain/Repository/.gitkeep b/resources/packages/bootstrap_package/8.7/src/Classes/Domain/Repository/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Classes/Domain/Repository/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/8.7/src/Classes/ViewHelpers/.gitkeep b/resources/packages/bootstrap_package/8.7/src/Classes/ViewHelpers/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Classes/ViewHelpers/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/8.7/src/Configuration/.htaccess b/resources/packages/bootstrap_package/8.7/src/Configuration/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Configuration/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/8.7/src/Configuration/RTE/Default.yaml.twig b/resources/packages/bootstrap_package/8.7/src/Configuration/RTE/Default.yaml.twig new file mode 100644 index 0000000..282236e --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Configuration/RTE/Default.yaml.twig @@ -0,0 +1,9 @@ +imports: + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } + - { resource: "EXT:bootstrap_package/Configuration/RTE/Default.yaml" } + +editor: + config: + contentsCss: "EXT:bootstrap_package/Resources/Public/Css/bootstrap4-rte.min.css" diff --git a/resources/packages/bootstrap_package/8.7/src/Configuration/TCA/Overrides/pages.php.twig b/resources/packages/bootstrap_package/8.7/src/Configuration/TCA/Overrides/pages.php.twig new file mode 100644 index 0000000..f64fca7 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Configuration/TCA/Overrides/pages.php.twig @@ -0,0 +1,20 @@ + + + + diff --git a/resources/packages/bootstrap_package/8.7/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig b/resources/packages/bootstrap_package/8.7/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig new file mode 100644 index 0000000..8213cfa --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig @@ -0,0 +1,4 @@ +# +# BACKENDLAYOUTS +# + diff --git a/resources/packages/bootstrap_package/8.7/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig b/resources/packages/bootstrap_package/8.7/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig new file mode 100644 index 0000000..628a725 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig @@ -0,0 +1,29 @@ +# +# BACKENDLAYOUT: EXAMPLE +# +mod { + web_layout { + BackendLayouts { + example { + title = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.example + config { + backend_layout { + colCount = 1 + rowCount = 1 + rows { + 1 { + columns { + 1 { + name = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal + colPos = 0 + } + } + } + } + } + } + icon = EXT:{{ package.extensionKey }}/Resources/Public/Icons/BackendLayouts/example.svg + } + } + } +} diff --git a/resources/packages/bootstrap_package/8.7/src/Configuration/TsConfig/Page/RTE.tsconfig.twig b/resources/packages/bootstrap_package/8.7/src/Configuration/TsConfig/Page/RTE.tsconfig.twig new file mode 100644 index 0000000..3835324 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Configuration/TsConfig/Page/RTE.tsconfig.twig @@ -0,0 +1,8 @@ +############# +#### RTE #### +############# +RTE { + default { + preset = {{ package.extensionKey }} + } +} diff --git a/resources/packages/bootstrap_package/8.7/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig b/resources/packages/bootstrap_package/8.7/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig new file mode 100644 index 0000000..55f97ce --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig @@ -0,0 +1,11 @@ +# +# TCEFORM +# +TCEFORM { + pages { + + } + tt_content { + + } +} diff --git a/resources/packages/bootstrap_package/8.7/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig b/resources/packages/bootstrap_package/8.7/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig new file mode 100644 index 0000000..9d4a5e4 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig @@ -0,0 +1,6 @@ +# +# TCEMAIN +# +TCEMAIN { + +} diff --git a/resources/packages/bootstrap_package/8.7/src/Configuration/TypoScript/constants.typoscript.twig b/resources/packages/bootstrap_package/8.7/src/Configuration/TypoScript/constants.typoscript.twig new file mode 100644 index 0000000..3290416 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Configuration/TypoScript/constants.typoscript.twig @@ -0,0 +1,60 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############ +### PAGE ### +############ +page { + logo { + file = EXT:{{ package.extensionKey }}/Resources/Public/Images/logo.svg + fileInverted = EXT:{{ package.extensionKey }}/Resources/Public/Images/logo-inverted.svg + height = 52 + width = 192 + alt = {{ package.title }} + linktitle = {{ package.title }} + } + favicon { + file = EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico + } + fluidtemplate { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + } +} + + +################## +### EXTENSIONS ### +################## +plugin.bootstrap_package { + view { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ + } +} + + +######################## +### CONTENT ELEMENTS ### +######################## +plugin.bootstrap_package_contentelements { + view { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/ + } +} + + +################################ +### BOOTSTRAP SCSS CONSTANTS ### +################################ +plugin.bootstrap_package.settings.scss { + primary = #eb3e4a + secondary = #013859 +} diff --git a/resources/packages/bootstrap_package/8.7/src/Configuration/TypoScript/setup.typoscript.twig b/resources/packages/bootstrap_package/8.7/src/Configuration/TypoScript/setup.typoscript.twig new file mode 100644 index 0000000..00a0420 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Configuration/TypoScript/setup.typoscript.twig @@ -0,0 +1,30 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############## +#### PAGE #### +############## +page { + includeCSS { + theme = EXT:{{ package.extensionKey }}/Resources/Public/Scss/Theme/theme.scss + } + + includeJSLibs { + + } + + includeJS { + + } + + includeJSFooterlibs { + + } + + includeJSFooter { + {{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/Dist/scripts.js + } +} diff --git a/resources/packages/bootstrap_package/8.7/src/README.md.twig b/resources/packages/bootstrap_package/8.7/src/README.md.twig new file mode 100644 index 0000000..8b095c7 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/README.md.twig @@ -0,0 +1,4 @@ +Sitepackage for the project "{{ package.title }}" +============================================================== + +Add some explanation here. diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Private/.htaccess b/resources/packages/bootstrap_package/8.7/src/Resources/Private/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Private/Language/locallang.xlf.twig b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Language/locallang.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Language/locallang.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 0000000..8b09912 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Example + + + Normal + + +
+
diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Private/Layouts/Page/.gitkeep b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Layouts/Page/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Private/Templates/Page/Example.html.twig b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Templates/Page/Example.html.twig new file mode 100644 index 0000000..2b67bb1 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Private/Templates/Page/Example.html.twig @@ -0,0 +1,22 @@ + + + + +
+
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Example.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig +
+
+
+
+ + +
+ diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Public/Css/.gitkeep b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Css/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Css/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Public/Fonts/.gitkeep b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Public/Icons/BackendLayouts/example.svg b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Icons/BackendLayouts/example.svg new file mode 100644 index 0000000..d05abec --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Icons/BackendLayouts/example.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Public/Icons/Extension.svg b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 0000000..d853637 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Public/Icons/favicon.ico b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000..46d4c14 Binary files /dev/null and b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Icons/favicon.ico differ diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Public/Icons/logo-inverted.svg b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Icons/logo-inverted.svg new file mode 100644 index 0000000..f465b08 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Icons/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Public/Icons/logo.svg b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Icons/logo.svg new file mode 100644 index 0000000..dc1615f --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Icons/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Public/Images/logo-inverted.svg b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Images/logo-inverted.svg new file mode 100644 index 0000000..f465b08 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Images/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Public/Images/logo.svg b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Images/logo.svg new file mode 100644 index 0000000..dc1615f --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Images/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Public/JavaScript/Dist/scripts.js.twig b/resources/packages/bootstrap_package/8.7/src/Resources/Public/JavaScript/Dist/scripts.js.twig new file mode 100644 index 0000000..af83240 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Public/JavaScript/Dist/scripts.js.twig @@ -0,0 +1,6 @@ +/*! + * {{ package.title }} v1.0.0 ({{ package.author.homepage }}) + * Copyright 2017-{{ 'now'|date('Y') }} {{ package.author.name }} + * Licensed under the GPL-2.0-or-later license + */ +console.log("WE LOVE TYPO3"); diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Public/JavaScript/Src/main.js.twig b/resources/packages/bootstrap_package/8.7/src/Resources/Public/JavaScript/Src/main.js.twig new file mode 100644 index 0000000..a5e4902 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Public/JavaScript/Src/main.js.twig @@ -0,0 +1 @@ +console.log('WE LOVE TYPO3'); diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Public/Scss/Theme/_variables.scss b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Scss/Theme/_variables.scss new file mode 100644 index 0000000..4a4e02e --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Scss/Theme/_variables.scss @@ -0,0 +1,3 @@ +// +// Variables +// diff --git a/resources/packages/bootstrap_package/8.7/src/Resources/Public/Scss/Theme/theme.scss.twig b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Scss/Theme/theme.scss.twig new file mode 100644 index 0000000..5c34ad1 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/Resources/Public/Scss/Theme/theme.scss.twig @@ -0,0 +1,9 @@ +// +// Variables +// +@import "variables"; + +// +// Import needed Bootstrap Package Files +// +@import "../../../../../bootstrap_package/Resources/Public/Scss/Theme/theme"; diff --git a/resources/packages/bootstrap_package/8.7/src/composer.json.twig b/resources/packages/bootstrap_package/8.7/src/composer.json.twig new file mode 100644 index 0000000..a100975 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/composer.json.twig @@ -0,0 +1,21 @@ +{ + "name": "{{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }}", + "type": "typo3-cms-extension", + "description": "{{ package.description}}", + "homepage": "{{ package.author.homepage }}", + "license": ["GPL-2.0-or-later"], + "keywords": ["TYPO3 CMS"], + "require": { + "bk2k/bootstrap-package": "^10.0" + }, + "autoload": { + "psr-4": { + "{{ package.vendorName }}\\{{ package.packageName }}\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "{{ package.extensionKey }}" + } + } +} diff --git a/resources/packages/bootstrap_package/8.7/src/ext_conf_template.txt.twig b/resources/packages/bootstrap_package/8.7/src/ext_conf_template.txt.twig new file mode 100644 index 0000000..e87dc9c --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/ext_conf_template.txt.twig @@ -0,0 +1,3 @@ +# +# Extension Configuration template +# diff --git a/resources/packages/bootstrap_package/8.7/src/ext_emconf.php.twig b/resources/packages/bootstrap_package/8.7/src/ext_emconf.php.twig new file mode 100644 index 0000000..6caadac --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/ext_emconf.php.twig @@ -0,0 +1,30 @@ + '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'bootstrap_package' => '10.0.0-10.9.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/bootstrap_package/8.7/src/ext_localconf.php.twig b/resources/packages/bootstrap_package/8.7/src/ext_localconf.php.twig new file mode 100644 index 0000000..b455f51 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/ext_localconf.php.twig @@ -0,0 +1,13 @@ +'); diff --git a/resources/packages/bootstrap_package/8.7/src/ext_tables.php.twig b/resources/packages/bootstrap_package/8.7/src/ext_tables.php.twig new file mode 100644 index 0000000..a7758e2 --- /dev/null +++ b/resources/packages/bootstrap_package/8.7/src/ext_tables.php.twig @@ -0,0 +1,3 @@ +Resources/', + fonts: '<%= paths.resources %>Public/Fonts/', + img: '<%= paths.resources %>Public/Images/', + js: '<%= paths.resources %>Public/JavaScript/' + }, + banner: '/*!\n' + + ' * {{ package.title }} v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright 2017-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under the <%= pkg.license %> license\n' + + ' */\n', + uglify: { + all: { + options: { + banner: '<%= banner %>', + mangle: true, + compress: true, + beautify: false + }, + files: { + "<%= paths.js %>/Dist/scripts.js": [ + "<%= paths.js %>Src/main.js" + ] + } + } + }, + imagemin: { + extension: { + files: [{ + expand: true, + cwd: '<%= paths.resources %>', + src: [ + '**/*.{png,jpg,gif,svg}' + ], + dest: '<%= paths.resources %>' + }] + } + }, + watch: { + options: { + livereload: true + }, + javascript: { + files: '<%= paths.js %>Src/**/*.js', + tasks: ['js'] + } + } + }); + + /** + * Register tasks + */ + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-contrib-imagemin'); + + /** + * Grunt update task + */ + grunt.registerTask('js', ['uglify']); + grunt.registerTask('build', ['js', 'imagemin']); + grunt.registerTask('default', ['build']); + +}; diff --git a/resources/packages/bootstrap_package/9.5/src/Build/package.json.twig b/resources/packages/bootstrap_package/9.5/src/Build/package.json.twig new file mode 100644 index 0000000..21fc85a --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Build/package.json.twig @@ -0,0 +1,18 @@ +{ + "name": "{{ package.vendorNameAlternative }}-{{ package.packageNameAlternative }}", + "description": "{{ package.description }}", + "repository": { + "type": "git", + "url": "{{ package.repositoryUrl }}" + }, + "homepage": "{{ package.author.homepage }}", + "author": "{{ package.author.name }}", + "version": "1.0.0", + "license": "GPL-2.0-or-later", + "devDependencies": { + "grunt": "^1.0.3", + "grunt-contrib-uglify": "^4.0.0", + "grunt-contrib-watch": "^1.1.0", + "grunt-contrib-imagemin": "^2.0.1" + } +} diff --git a/resources/packages/bootstrap_package/9.5/src/Classes/.htaccess b/resources/packages/bootstrap_package/9.5/src/Classes/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Classes/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/9.5/src/Classes/Controller/.gitkeep b/resources/packages/bootstrap_package/9.5/src/Classes/Controller/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Classes/Controller/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/9.5/src/Classes/Domain/.gitkeep b/resources/packages/bootstrap_package/9.5/src/Classes/Domain/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Classes/Domain/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/9.5/src/Classes/Domain/Model/.gitkeep b/resources/packages/bootstrap_package/9.5/src/Classes/Domain/Model/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Classes/Domain/Model/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/9.5/src/Classes/Domain/Repository/.gitkeep b/resources/packages/bootstrap_package/9.5/src/Classes/Domain/Repository/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Classes/Domain/Repository/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/9.5/src/Classes/ViewHelpers/.gitkeep b/resources/packages/bootstrap_package/9.5/src/Classes/ViewHelpers/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Classes/ViewHelpers/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/9.5/src/Configuration/.htaccess b/resources/packages/bootstrap_package/9.5/src/Configuration/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Configuration/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/9.5/src/Configuration/RTE/Default.yaml.twig b/resources/packages/bootstrap_package/9.5/src/Configuration/RTE/Default.yaml.twig new file mode 100644 index 0000000..282236e --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Configuration/RTE/Default.yaml.twig @@ -0,0 +1,9 @@ +imports: + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } + - { resource: "EXT:bootstrap_package/Configuration/RTE/Default.yaml" } + +editor: + config: + contentsCss: "EXT:bootstrap_package/Resources/Public/Css/bootstrap4-rte.min.css" diff --git a/resources/packages/bootstrap_package/9.5/src/Configuration/TCA/Overrides/pages.php.twig b/resources/packages/bootstrap_package/9.5/src/Configuration/TCA/Overrides/pages.php.twig new file mode 100644 index 0000000..f64fca7 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Configuration/TCA/Overrides/pages.php.twig @@ -0,0 +1,20 @@ + + + + diff --git a/resources/packages/bootstrap_package/9.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig b/resources/packages/bootstrap_package/9.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig new file mode 100644 index 0000000..8213cfa --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig @@ -0,0 +1,4 @@ +# +# BACKENDLAYOUTS +# + diff --git a/resources/packages/bootstrap_package/9.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig b/resources/packages/bootstrap_package/9.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig new file mode 100644 index 0000000..628a725 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig.twig @@ -0,0 +1,29 @@ +# +# BACKENDLAYOUT: EXAMPLE +# +mod { + web_layout { + BackendLayouts { + example { + title = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.example + config { + backend_layout { + colCount = 1 + rowCount = 1 + rows { + 1 { + columns { + 1 { + name = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal + colPos = 0 + } + } + } + } + } + } + icon = EXT:{{ package.extensionKey }}/Resources/Public/Icons/BackendLayouts/example.svg + } + } + } +} diff --git a/resources/packages/bootstrap_package/9.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig b/resources/packages/bootstrap_package/9.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig new file mode 100644 index 0000000..3835324 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig @@ -0,0 +1,8 @@ +############# +#### RTE #### +############# +RTE { + default { + preset = {{ package.extensionKey }} + } +} diff --git a/resources/packages/bootstrap_package/9.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig b/resources/packages/bootstrap_package/9.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig new file mode 100644 index 0000000..55f97ce --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig @@ -0,0 +1,11 @@ +# +# TCEFORM +# +TCEFORM { + pages { + + } + tt_content { + + } +} diff --git a/resources/packages/bootstrap_package/9.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig b/resources/packages/bootstrap_package/9.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig new file mode 100644 index 0000000..9d4a5e4 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig @@ -0,0 +1,6 @@ +# +# TCEMAIN +# +TCEMAIN { + +} diff --git a/resources/packages/bootstrap_package/9.5/src/Configuration/TypoScript/constants.typoscript.twig b/resources/packages/bootstrap_package/9.5/src/Configuration/TypoScript/constants.typoscript.twig new file mode 100644 index 0000000..3290416 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Configuration/TypoScript/constants.typoscript.twig @@ -0,0 +1,60 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############ +### PAGE ### +############ +page { + logo { + file = EXT:{{ package.extensionKey }}/Resources/Public/Images/logo.svg + fileInverted = EXT:{{ package.extensionKey }}/Resources/Public/Images/logo-inverted.svg + height = 52 + width = 192 + alt = {{ package.title }} + linktitle = {{ package.title }} + } + favicon { + file = EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico + } + fluidtemplate { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + } +} + + +################## +### EXTENSIONS ### +################## +plugin.bootstrap_package { + view { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ + } +} + + +######################## +### CONTENT ELEMENTS ### +######################## +plugin.bootstrap_package_contentelements { + view { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/ + } +} + + +################################ +### BOOTSTRAP SCSS CONSTANTS ### +################################ +plugin.bootstrap_package.settings.scss { + primary = #eb3e4a + secondary = #013859 +} diff --git a/resources/packages/bootstrap_package/9.5/src/Configuration/TypoScript/setup.typoscript.twig b/resources/packages/bootstrap_package/9.5/src/Configuration/TypoScript/setup.typoscript.twig new file mode 100644 index 0000000..00a0420 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Configuration/TypoScript/setup.typoscript.twig @@ -0,0 +1,30 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############## +#### PAGE #### +############## +page { + includeCSS { + theme = EXT:{{ package.extensionKey }}/Resources/Public/Scss/Theme/theme.scss + } + + includeJSLibs { + + } + + includeJS { + + } + + includeJSFooterlibs { + + } + + includeJSFooter { + {{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/Dist/scripts.js + } +} diff --git a/resources/packages/bootstrap_package/9.5/src/README.md.twig b/resources/packages/bootstrap_package/9.5/src/README.md.twig new file mode 100644 index 0000000..8b095c7 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/README.md.twig @@ -0,0 +1,4 @@ +Sitepackage for the project "{{ package.title }}" +============================================================== + +Add some explanation here. diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Private/.htaccess b/resources/packages/bootstrap_package/9.5/src/Resources/Private/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Private/Language/locallang.xlf.twig b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Language/locallang.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Language/locallang.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 0000000..8b09912 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Example + + + Normal + + +
+
diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Private/Layouts/Page/.gitkeep b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Layouts/Page/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Private/Templates/Page/Example.html.twig b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Templates/Page/Example.html.twig new file mode 100644 index 0000000..2b67bb1 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Private/Templates/Page/Example.html.twig @@ -0,0 +1,22 @@ + + + + +
+
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Example.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/example.tsconfig +
+
+
+
+ + +
+ diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Public/Css/.gitkeep b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Css/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Css/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Public/Fonts/.gitkeep b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Public/Icons/BackendLayouts/example.svg b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Icons/BackendLayouts/example.svg new file mode 100644 index 0000000..d05abec --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Icons/BackendLayouts/example.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Public/Icons/Extension.svg b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 0000000..d853637 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Public/Icons/favicon.ico b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000..46d4c14 Binary files /dev/null and b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Icons/favicon.ico differ diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Public/Icons/logo-inverted.svg b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Icons/logo-inverted.svg new file mode 100644 index 0000000..f465b08 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Icons/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Public/Icons/logo.svg b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Icons/logo.svg new file mode 100644 index 0000000..dc1615f --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Icons/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Public/Images/logo-inverted.svg b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Images/logo-inverted.svg new file mode 100644 index 0000000..f465b08 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Images/logo-inverted.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Public/Images/logo.svg b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Images/logo.svg new file mode 100644 index 0000000..dc1615f --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Images/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig b/resources/packages/bootstrap_package/9.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig new file mode 100644 index 0000000..af83240 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig @@ -0,0 +1,6 @@ +/*! + * {{ package.title }} v1.0.0 ({{ package.author.homepage }}) + * Copyright 2017-{{ 'now'|date('Y') }} {{ package.author.name }} + * Licensed under the GPL-2.0-or-later license + */ +console.log("WE LOVE TYPO3"); diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Public/JavaScript/Src/main.js.twig b/resources/packages/bootstrap_package/9.5/src/Resources/Public/JavaScript/Src/main.js.twig new file mode 100644 index 0000000..a5e4902 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Public/JavaScript/Src/main.js.twig @@ -0,0 +1 @@ +console.log('WE LOVE TYPO3'); diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Public/Scss/Theme/_variables.scss b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Scss/Theme/_variables.scss new file mode 100644 index 0000000..4a4e02e --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Scss/Theme/_variables.scss @@ -0,0 +1,3 @@ +// +// Variables +// diff --git a/resources/packages/bootstrap_package/9.5/src/Resources/Public/Scss/Theme/theme.scss.twig b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Scss/Theme/theme.scss.twig new file mode 100644 index 0000000..5c34ad1 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/Resources/Public/Scss/Theme/theme.scss.twig @@ -0,0 +1,9 @@ +// +// Variables +// +@import "variables"; + +// +// Import needed Bootstrap Package Files +// +@import "../../../../../bootstrap_package/Resources/Public/Scss/Theme/theme"; diff --git a/resources/packages/bootstrap_package/9.5/src/composer.json.twig b/resources/packages/bootstrap_package/9.5/src/composer.json.twig new file mode 100644 index 0000000..0eeb852 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/composer.json.twig @@ -0,0 +1,21 @@ +{ + "name": "{{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }}", + "type": "typo3-cms-extension", + "description": "{{ package.description}}", + "homepage": "{{ package.author.homepage }}", + "license": ["GPL-2.0-or-later"], + "keywords": ["TYPO3 CMS"], + "require": { + "bk2k/bootstrap-package": "^11.0" + }, + "autoload": { + "psr-4": { + "{{ package.vendorName }}\\{{ package.packageName }}\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "{{ package.extensionKey }}" + } + } +} diff --git a/resources/packages/bootstrap_package/9.5/src/ext_conf_template.txt.twig b/resources/packages/bootstrap_package/9.5/src/ext_conf_template.txt.twig new file mode 100644 index 0000000..e87dc9c --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/ext_conf_template.txt.twig @@ -0,0 +1,3 @@ +# +# Extension Configuration template +# diff --git a/resources/packages/bootstrap_package/9.5/src/ext_emconf.php.twig b/resources/packages/bootstrap_package/9.5/src/ext_emconf.php.twig new file mode 100644 index 0000000..dda0a81 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/ext_emconf.php.twig @@ -0,0 +1,30 @@ + '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'bootstrap_package' => '11.0.0-11.99.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/bootstrap_package/9.5/src/ext_localconf.php.twig b/resources/packages/bootstrap_package/9.5/src/ext_localconf.php.twig new file mode 100644 index 0000000..b455f51 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/ext_localconf.php.twig @@ -0,0 +1,13 @@ +'); diff --git a/resources/packages/bootstrap_package/9.5/src/ext_tables.php.twig b/resources/packages/bootstrap_package/9.5/src/ext_tables.php.twig new file mode 100644 index 0000000..a7758e2 --- /dev/null +++ b/resources/packages/bootstrap_package/9.5/src/ext_tables.php.twig @@ -0,0 +1,3 @@ + + + + diff --git a/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig new file mode 100644 index 0000000..8213cfa --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig @@ -0,0 +1,4 @@ +# +# BACKENDLAYOUTS +# + diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig rename to resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig diff --git a/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig new file mode 100644 index 0000000..3835324 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig @@ -0,0 +1,8 @@ +############# +#### RTE #### +############# +RTE { + default { + preset = {{ package.extensionKey }} + } +} diff --git a/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig new file mode 100644 index 0000000..55f97ce --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig @@ -0,0 +1,11 @@ +# +# TCEFORM +# +TCEFORM { + pages { + + } + tt_content { + + } +} diff --git a/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig new file mode 100644 index 0000000..9d4a5e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig @@ -0,0 +1,6 @@ +# +# TCEMAIN +# +TCEMAIN { + +} diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig rename to resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Configuration/TypoScript/constants.typoscript.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/constants.typoscript.twig similarity index 93% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Configuration/TypoScript/constants.typoscript.twig rename to resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/constants.typoscript.twig index 5a38ef2..1a79054 100644 --- a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Configuration/TypoScript/constants.typoscript.twig +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/constants.typoscript.twig @@ -1,7 +1,7 @@ ###################### #### DEPENDENCIES #### ###################### - + ############################## diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Configuration/TypoScript/setup.typoscript.twig b/resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/setup.typoscript.twig similarity index 98% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Configuration/TypoScript/setup.typoscript.twig rename to resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/setup.typoscript.twig index 1ed237f..1f76557 100644 --- a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Configuration/TypoScript/setup.typoscript.twig +++ b/resources/packages/fluid_styled_content/10.4/src/Configuration/TypoScript/setup.typoscript.twig @@ -1,7 +1,7 @@ ###################### #### DEPENDENCIES #### ###################### - + ################ diff --git a/resources/packages/fluid_styled_content/10.4/src/README.md.twig b/resources/packages/fluid_styled_content/10.4/src/README.md.twig new file mode 100644 index 0000000..8b095c7 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/README.md.twig @@ -0,0 +1,4 @@ +Sitepackage for the project "{{ package.title }}" +============================================================== + +Add some explanation here. diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/.htaccess b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang.xlf.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang_be.xlf.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Language/locallang_be.xlf.twig rename to resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang_be.xlf.twig diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Layouts/Page/Default.html.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Layouts/Page/Default.html.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Layouts/Page/Default.html.twig rename to resources/packages/fluid_styled_content/10.4/src/Resources/Private/Layouts/Page/Default.html.twig diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Templates/Page/Default.html.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Private/Templates/Page/Default.html.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Private/Templates/Page/Default.html.twig rename to resources/packages/fluid_styled_content/10.4/src/Resources/Private/Templates/Page/Default.html.twig diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/layout.css b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/layout.css new file mode 100644 index 0000000..e69de29 diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/layout.min.css b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/layout.min.css new file mode 100644 index 0000000..e69de29 diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Css/rte.css.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/rte.css.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Css/rte.css.twig rename to resources/packages/fluid_styled_content/10.4/src/Resources/Public/Css/rte.css.twig diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Fonts/.gitkeep b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Icons/Extension.svg b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 0000000..d853637 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Icons/favicon.ico b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000..46d4c14 Binary files /dev/null and b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Icons/favicon.ico differ diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Images/BackendLayouts/default.png b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Images/BackendLayouts/default.png similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Images/BackendLayouts/default.png rename to resources/packages/fluid_styled_content/10.4/src/Resources/Public/Images/BackendLayouts/default.png diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig new file mode 100644 index 0000000..af83240 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig @@ -0,0 +1,6 @@ +/*! + * {{ package.title }} v1.0.0 ({{ package.author.homepage }}) + * Copyright 2017-{{ 'now'|date('Y') }} {{ package.author.name }} + * Licensed under the GPL-2.0-or-later license + */ +console.log("WE LOVE TYPO3"); diff --git a/resources/packages/fluid_styled_content/10.4/src/Resources/Public/JavaScript/Src/main.js.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/JavaScript/Src/main.js.twig new file mode 100644 index 0000000..a5e4902 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/JavaScript/Src/main.js.twig @@ -0,0 +1 @@ +console.log('WE LOVE TYPO3'); diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Scss/layout.scss.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Scss/layout.scss.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Scss/layout.scss.twig rename to resources/packages/fluid_styled_content/10.4/src/Resources/Public/Scss/layout.scss.twig diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Scss/variables.scss.twig b/resources/packages/fluid_styled_content/10.4/src/Resources/Public/Scss/variables.scss.twig similarity index 100% rename from src/Resources/skeletons/BaseExtension/fluid_styled_content/Resources/Public/Scss/variables.scss.twig rename to resources/packages/fluid_styled_content/10.4/src/Resources/Public/Scss/variables.scss.twig diff --git a/resources/packages/fluid_styled_content/10.4/src/composer.json.twig b/resources/packages/fluid_styled_content/10.4/src/composer.json.twig new file mode 100644 index 0000000..b382405 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/composer.json.twig @@ -0,0 +1,23 @@ +{ + "name": "{{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }}", + "type": "typo3-cms-extension", + "description": "{{ package.description}}", + "homepage": "{{ package.author.homepage }}", + "license": ["GPL-2.0-or-later"], + "keywords": ["TYPO3 CMS"], + "require": { + "typo3/cms-core": "^10.4", + "typo3/cms-rte-ckeditor": "^10.4", + "typo3/cms-fluid-styled-content": "^10.4" + }, + "autoload": { + "psr-4": { + "{{ package.vendorName }}\\{{ package.packageName }}\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "{{ package.extensionKey }}" + } + } +} diff --git a/resources/packages/fluid_styled_content/10.4/src/ext_conf_template.txt.twig b/resources/packages/fluid_styled_content/10.4/src/ext_conf_template.txt.twig new file mode 100644 index 0000000..e87dc9c --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/ext_conf_template.txt.twig @@ -0,0 +1,3 @@ +# +# Extension Configuration template +# diff --git a/resources/packages/fluid_styled_content/10.4/src/ext_emconf.php.twig b/resources/packages/fluid_styled_content/10.4/src/ext_emconf.php.twig new file mode 100644 index 0000000..31683a8 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/ext_emconf.php.twig @@ -0,0 +1,32 @@ + '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'typo3' => '10.4.0-10.4.99', + 'fluid_styled_content' => '10.4.0-10.4.99', + 'rte_ckeditor' => '10.4.0-10.4.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/fluid_styled_content/10.4/src/ext_localconf.php.twig b/resources/packages/fluid_styled_content/10.4/src/ext_localconf.php.twig new file mode 100644 index 0000000..b455f51 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/ext_localconf.php.twig @@ -0,0 +1,13 @@ +'); diff --git a/resources/packages/fluid_styled_content/10.4/src/ext_tables.php.twig b/resources/packages/fluid_styled_content/10.4/src/ext_tables.php.twig new file mode 100644 index 0000000..a7758e2 --- /dev/null +++ b/resources/packages/fluid_styled_content/10.4/src/ext_tables.php.twig @@ -0,0 +1,3 @@ +Resources/', + sass: '<%= paths.resources %>Public/Scss/', + css: '<%= paths.resources %>Public/Css/', + fonts: '<%= paths.resources %>Public/Fonts/', + img: '<%= paths.resources %>Public/Images/', + js: '<%= paths.resources %>Public/JavaScript/' + }, + banner: '/*!\n' + + ' * {{ package.title }} v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright 2017-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under the <%= pkg.license %> license\n' + + ' */\n', + uglify: { + all: { + options: { + banner: '<%= banner %>', + mangle: true, + compress: true, + beautify: false + }, + files: { + "<%= paths.js %>/Dist/scripts.js": [ + "<%= paths.js %>Src/main.js" + ] + } + } + }, + sass: { + options: { + implementation: sass, + outputStyle: 'expanded', + precision: 8, + sourceMap: false + }, + layout: { + files: { + '<%= paths.css %>layout.css': '<%= paths.sass %>layout.scss' + } + } + }, + postcss: { + options: { + map: false, + processors: [ + require('autoprefixer')({ + browsers: [ + 'Last 2 versions', + 'Firefox ESR', + 'IE 9' + ] + }) + ] + }, + layout: { + src: '<%= paths.css %>layout.css' + } + }, + cssmin: { + options: { + keepSpecialComments: '*', + advanced: false + }, + layout: { + src: '<%= paths.css %>layout.css', + dest: '<%= paths.css %>layout.min.css' + } + }, + imagemin: { + extension: { + files: [{ + expand: true, + cwd: '<%= paths.resources %>', + src: [ + '**/*.{png,jpg,gif}' + ], + dest: '<%= paths.resources %>' + }] + } + }, + watch: { + options: { + livereload: true + }, + sass: { + files: '<%= paths.sass %>**/*.scss', + tasks: ['css'] + }, + javascript: { + files: '<%= paths.js %>Src/**/*.js', + tasks: ['js'] + } + } + }); + + /** + * Register tasks + // */ + grunt.loadNpmTasks('grunt-contrib-cssmin'); + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-contrib-imagemin'); + grunt.loadNpmTasks('grunt-postcss'); + grunt.loadNpmTasks('grunt-sass'); + + /** + * Grunt update task + */ + grunt.registerTask('css', ['sass', 'postcss', 'cssmin']); + grunt.registerTask('js', ['uglify']); + grunt.registerTask('build', ['js', 'css', 'imagemin']); + grunt.registerTask('default', ['build']); + +}; diff --git a/resources/packages/fluid_styled_content/11.5/src/Build/package.json.twig b/resources/packages/fluid_styled_content/11.5/src/Build/package.json.twig new file mode 100644 index 0000000..a870947 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Build/package.json.twig @@ -0,0 +1,28 @@ +{ + "name": "{{ package.vendorNameAlternative }}-{{ package.packageNameAlternative }}", + "description": "{{ package.description }}", + "repository": { + "type": "git", + "url": "{{ package.repositoryUrl }}" + }, + "homepage": "{{ package.author.homepage }}", + "author": "{{ package.author.name }}", + "version": "1.0.0", + "license": "GPL-2.0-or-later", + "devDependencies": { + "grunt": "^1.0.4", + "grunt-contrib-cssmin": "^3.0.0", + "grunt-contrib-uglify": "^4.0.1", + "grunt-contrib-watch": "^1.1.0", + "grunt-contrib-imagemin": "^3.1.0", + "grunt-postcss": "^0.9.0", + "grunt-sass": "^3.0.2", + "autoprefixer": "^9.5.0", + "node-sass": "^4.11.0" + }, + "scripts": { + "build": "./node_modules/.bin/grunt", + "css": "./node_modules/.bin/grunt css", + "watch": "./node_modules/.bin/grunt watch" + } +} diff --git a/resources/packages/fluid_styled_content/11.5/src/Classes/.htaccess b/resources/packages/fluid_styled_content/11.5/src/Classes/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Classes/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/11.5/src/Classes/Controller/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Classes/Controller/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Classes/Controller/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/Model/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/Model/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/Model/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/Repository/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/Repository/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Classes/Domain/Repository/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Classes/ViewHelpers/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Classes/ViewHelpers/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Classes/ViewHelpers/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/.htaccess b/resources/packages/fluid_styled_content/11.5/src/Configuration/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/RTE/Default.yaml.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/RTE/Default.yaml.twig new file mode 100644 index 0000000..5d5556d --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/RTE/Default.yaml.twig @@ -0,0 +1,42 @@ +imports: + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } + +editor: + config: + contentsCss: "EXT:{{ package.extensionKey }}/Resources/Public/Css/rte.css" + + stylesSet: + - { name: "Lead", element: "p", attributes: { 'class': 'lead' } } + + toolbarGroups: + - { name: styles, groups: [ format, styles ] } + - { name: basicstyles, groups: [ basicstyles ] } + - { name: paragraph, groups: [ list, indent, blocks, align ] } + - "/" + - { name: links, groups: [ links ] } + - { name: clipboard, groups: [ clipboard, cleanup, undo ] } + - { name: editing, groups: [ spellchecker ] } + - { name: insert, groups: [ insert ] } + - { name: tools, groups: [ table, specialchar ] } + - { name: document, groups: [ mode ] } + + format_tags: "p;h1;h2;h3;h4;h5;pre" + + justifyClasses: + - text-left + - text-center + - text-right + - text-justify + + extraPlugins: + - justify + + removePlugins: + - image + + removeButtons: + - Anchor + - Underline + - Strike diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TCA/Overrides/pages.php.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TCA/Overrides/pages.php.twig new file mode 100644 index 0000000..e846682 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TCA/Overrides/pages.php.twig @@ -0,0 +1,20 @@ + + + + diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig new file mode 100644 index 0000000..8213cfa --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig @@ -0,0 +1,4 @@ +# +# BACKENDLAYOUTS +# + diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig new file mode 100644 index 0000000..a16a9db --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig @@ -0,0 +1,29 @@ +# +# BACKENDLAYOUT: DEFAULT +# +mod { + web_layout { + BackendLayouts { + default { + title = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.default + config { + backend_layout { + colCount = 1 + rowCount = 1 + rows { + 1 { + columns { + 1 { + name = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal + colPos = 0 + } + } + } + } + } + } + icon = EXT:{{ package.extensionKey }}/Resources/Public/Images/BackendLayouts/default.png + } + } + } +} diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig new file mode 100644 index 0000000..3835324 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig @@ -0,0 +1,8 @@ +############# +#### RTE #### +############# +RTE { + default { + preset = {{ package.extensionKey }} + } +} diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig new file mode 100644 index 0000000..55f97ce --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig @@ -0,0 +1,11 @@ +# +# TCEFORM +# +TCEFORM { + pages { + + } + tt_content { + + } +} diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig new file mode 100644 index 0000000..9d4a5e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig @@ -0,0 +1,6 @@ +# +# TCEMAIN +# +TCEMAIN { + +} diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig new file mode 100644 index 0000000..993b020 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig @@ -0,0 +1,64 @@ +################################################ +#### DYNAMIC CONTENT LIB FOR USAGE IN FLUID #### +################################################ +# +# EXAMPLE +# --------------- +# |'}" /> +# +# +# COLUMN NUMBERS +# --------------- +# +# 0 = main +# 1 = left +# 2 = right +# 3 = border +# +################# +lib.dynamicContent = COA +lib.dynamicContent { + 5 = LOAD_REGISTER + 5 { + colPos.cObject = TEXT + colPos.cObject { + field = colPos + ifEmpty.cObject = TEXT + ifEmpty.cObject { + value.current = 1 + ifEmpty = 0 + } + } + pageUid.cObject = TEXT + pageUid.cObject { + field = pageUid + ifEmpty.data = TSFE:id + } + contentFromPid.cObject = TEXT + contentFromPid.cObject { + data = DB:pages:{register:pageUid}:content_from_pid + data.insertData = 1 + } + wrap.cObject = TEXT + wrap.cObject { + field = wrap + } + } + 20 = CONTENT + 20 { + table = tt_content + select { + includeRecordsWithoutDefaultTranslation = 1 + orderBy = sorting + where = {{ '{#colPos}={register:colPos}' }} + where.insertData = 1 + pidInList.data = register:pageUid + pidInList.override.data = register:contentFromPid + } + stdWrap { + dataWrap = {register:wrap} + required = 1 + } + } + 90 = RESTORE_REGISTER +} diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/constants.typoscript.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/constants.typoscript.twig new file mode 100644 index 0000000..1a79054 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/constants.typoscript.twig @@ -0,0 +1,56 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############################## +#### FLUID STYLED CONTENT #### +############################## +styles { + templates { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/ + } +} + + +############ +### PAGE ### +############ +page { + fluidtemplate { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + } + meta { + description = + author = + keywords = + viewport = width=device-width, initial-scale=1 + robots = index,follow + apple-mobile-web-app-capable = no + compatible = IE=edge + } + tracking { + google { + trackingID = + anonymizeIp = 1 + } + } +} + + +############## +### CONFIG ### +############## +config { + no_cache = 0 + removeDefaultJS = 0 + admPanel = 1 + prefixLocalAnchors = all + headerComment = build by sitepackagebuilder.com + sendCacheHeaders = 1 +} diff --git a/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/setup.typoscript.twig b/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/setup.typoscript.twig new file mode 100644 index 0000000..1f76557 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Configuration/TypoScript/setup.typoscript.twig @@ -0,0 +1,203 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +################ +#### HELPER #### +################ + + + +############## +#### PAGE #### +############## +page = PAGE +page { + typeNum = 0 + shortcutIcon = EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico + + 10 = FLUIDTEMPLATE + 10 { + # Template names will be generated automatically by converting the applied + # backend_layout, there is no explicit mapping necessary anymore. + # + # BackendLayout Key + # subnavigation_right_2_columns -> SubnavigationRight2Columns.html + # + # Backend Record + # uid: 1 -> 1.html + # + # Database Entry + # value: -1 -> None.html + # value: pagets__subnavigation_right_2_columns -> SubnavigationRight2Columns.html + templateName = TEXT + templateName { + cObject = TEXT + cObject { + data = pagelayout + required = 1 + case = uppercamelcase + split { + token = pagets__ + cObjNum = 1 + 1.current = 1 + } + } + ifEmpty = Default + } + templateRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + 1 = {$page.fluidtemplate.templateRootPath} + } + partialRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + 1 = {$page.fluidtemplate.partialRootPath} + } + layoutRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + 1 = {$page.fluidtemplate.layoutRootPath} + } + dataProcessing { + 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor + 10 { + references.fieldName = media + } + 20 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor + 20 { + levels = 2 + includeSpacer = 1 + as = mainnavigation + } + } + } + + meta { + viewport = {$page.meta.viewport} + robots = {$page.meta.robots} + apple-mobile-web-app-capable = {$page.meta.apple-mobile-web-app-capable} + description = {$page.meta.description} + description { + override.field = description + } + author = {$page.meta.author} + author { + override.field = author + } + keywords = {$page.meta.keywords} + keywords { + override.field = keywords + } + X-UA-Compatible = {$page.meta.compatible} + X-UA-Compatible { + attribute = http-equiv + } + + # OpenGraph Tags + og:title { + attribute = property + field = title + } + og:site_name { + attribute = property + data = TSFE:tmpl|setup|sitetitle + } + og:description = {$page.meta.description} + og:description { + attribute = property + field = description + } + og:image { + attribute = property + stdWrap.cObject = FILES + stdWrap.cObject { + references { + data = levelfield:-1, media, slide + } + maxItems = 1 + renderObj = COA + renderObj { + 10 = IMG_RESOURCE + 10 { + file { + import.data = file:current:uid + treatIdAsReference = 1 + width = 1280c + height = 720c + } + stdWrap { + typolink { + parameter.data = TSFE:lastImgResourceInfo|3 + returnLast = url + forceAbsoluteUrl = 1 + } + } + } + } + } + } + } + + includeCSSLibs { + + } + + includeCSS { + {{ package.extensionKey }}_layout = EXT:{{ package.extensionKey }}/Resources/Public/Css/layout.min.css + } + + includeJSLibs { + + } + + includeJS { + + } + + includeJSFooterlibs { + + } + + includeJSFooter { + {{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/Dist/scripts.js + } +} + + +################ +#### CONFIG #### +################ +config { + absRefPrefix = auto + no_cache = {$config.no_cache} + uniqueLinkVars = 1 + pageTitleFirst = 1 + linkVars = L + prefixLocalAnchors = {$config.prefixLocalAnchors} + renderCharset = utf-8 + metaCharset = utf-8 + doctype = html5 + removeDefaultJS = {$config.removeDefaultJS} + inlineStyle2TempFile = 1 + admPanel = {$config.admPanel} + debug = 0 + cache_period = 86400 + sendCacheHeaders = {$config.sendCacheHeaders} + intTarget = + extTarget = + disablePrefixComment = 1 + index_enable = 1 + index_externals = 1 + index_metatags = 1 + headerComment = {$config.headerComment} + + // Disable Image Upscaling + noScaleUp = 1 + + // Compression and Concatenation of CSS and JS Files + compressJs = 0 + compressCss = 0 + concatenateJs = 0 + concatenateCss = 0 +} diff --git a/resources/packages/fluid_styled_content/11.5/src/README.md.twig b/resources/packages/fluid_styled_content/11.5/src/README.md.twig new file mode 100644 index 0000000..8b095c7 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/README.md.twig @@ -0,0 +1,4 @@ +Sitepackage for the project "{{ package.title }}" +============================================================== + +Add some explanation here. diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/.htaccess b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang.xlf.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 0000000..fb3e2d8 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Default + + + Normal + + +
+
diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Layouts/Page/Default.html.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Layouts/Page/Default.html.twig new file mode 100644 index 0000000..ad57953 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Layouts/Page/Default.html.twig @@ -0,0 +1,21 @@ + + diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Templates/Page/Default.html.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Templates/Page/Default.html.twig new file mode 100644 index 0000000..312fc91 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Private/Templates/Page/Default.html.twig @@ -0,0 +1,19 @@ + + + +
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Default.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig +
+
+
+ + + +
diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/layout.css b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/layout.css new file mode 100644 index 0000000..e69de29 diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/layout.min.css b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/layout.min.css new file mode 100644 index 0000000..e69de29 diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/rte.css.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/rte.css.twig new file mode 100644 index 0000000..1ce5278 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Css/rte.css.twig @@ -0,0 +1,3 @@ +/** + * Created from sitepackagebuilder.com + */ diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Fonts/.gitkeep b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Icons/Extension.svg b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 0000000..d853637 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Icons/favicon.ico b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000..46d4c14 Binary files /dev/null and b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Icons/favicon.ico differ diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Images/BackendLayouts/default.png b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Images/BackendLayouts/default.png new file mode 100644 index 0000000..0bed870 Binary files /dev/null and b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Images/BackendLayouts/default.png differ diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig new file mode 100644 index 0000000..af83240 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig @@ -0,0 +1,6 @@ +/*! + * {{ package.title }} v1.0.0 ({{ package.author.homepage }}) + * Copyright 2017-{{ 'now'|date('Y') }} {{ package.author.name }} + * Licensed under the GPL-2.0-or-later license + */ +console.log("WE LOVE TYPO3"); diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/JavaScript/Src/main.js.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/JavaScript/Src/main.js.twig new file mode 100644 index 0000000..a5e4902 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/JavaScript/Src/main.js.twig @@ -0,0 +1 @@ +console.log('WE LOVE TYPO3'); diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Scss/layout.scss.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Scss/layout.scss.twig new file mode 100644 index 0000000..e1e1d9a --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Scss/layout.scss.twig @@ -0,0 +1,5 @@ +// Variables +@import 'variables'; + +// Modules +// import your modules here diff --git a/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Scss/variables.scss.twig b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Scss/variables.scss.twig new file mode 100644 index 0000000..e0e9083 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/Resources/Public/Scss/variables.scss.twig @@ -0,0 +1 @@ +// Variables diff --git a/resources/packages/fluid_styled_content/11.5/src/composer.json.twig b/resources/packages/fluid_styled_content/11.5/src/composer.json.twig new file mode 100644 index 0000000..57d958e --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/composer.json.twig @@ -0,0 +1,23 @@ +{ + "name": "{{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }}", + "type": "typo3-cms-extension", + "description": "{{ package.description}}", + "homepage": "{{ package.author.homepage }}", + "license": ["GPL-2.0-or-later"], + "keywords": ["TYPO3 CMS"], + "require": { + "typo3/cms-core": "^11.5", + "typo3/cms-rte-ckeditor": "^11.5", + "typo3/cms-fluid-styled-content": "^11.5" + }, + "autoload": { + "psr-4": { + "{{ package.vendorName }}\\{{ package.packageName }}\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "{{ package.extensionKey }}" + } + } +} diff --git a/resources/packages/fluid_styled_content/11.5/src/ext_conf_template.txt.twig b/resources/packages/fluid_styled_content/11.5/src/ext_conf_template.txt.twig new file mode 100644 index 0000000..e87dc9c --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/ext_conf_template.txt.twig @@ -0,0 +1,3 @@ +# +# Extension Configuration template +# diff --git a/resources/packages/fluid_styled_content/11.5/src/ext_emconf.php.twig b/resources/packages/fluid_styled_content/11.5/src/ext_emconf.php.twig new file mode 100644 index 0000000..34660ae --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/ext_emconf.php.twig @@ -0,0 +1,32 @@ + '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'typo3' => '11.5.0-11.5.99', + 'fluid_styled_content' => '11.5.0-11.5.99', + 'rte_ckeditor' => '11.5.0-11.5.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/fluid_styled_content/11.5/src/ext_localconf.php.twig b/resources/packages/fluid_styled_content/11.5/src/ext_localconf.php.twig new file mode 100644 index 0000000..501803a --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/ext_localconf.php.twig @@ -0,0 +1,13 @@ +'); diff --git a/resources/packages/fluid_styled_content/11.5/src/ext_tables.php.twig b/resources/packages/fluid_styled_content/11.5/src/ext_tables.php.twig new file mode 100644 index 0000000..07154a9 --- /dev/null +++ b/resources/packages/fluid_styled_content/11.5/src/ext_tables.php.twig @@ -0,0 +1,3 @@ +Resources/', + sass: '<%= paths.resources %>Public/Scss/', + css: '<%= paths.resources %>Public/Css/', + fonts: '<%= paths.resources %>Public/Fonts/', + img: '<%= paths.resources %>Public/Images/', + js: '<%= paths.resources %>Public/JavaScript/' + }, + banner: '/*!\n' + + ' * {{ package.title }} v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright 2017-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under the <%= pkg.license %> license\n' + + ' */\n', + uglify: { + all: { + options: { + banner: '<%= banner %>', + mangle: true, + compress: true, + beautify: false + }, + files: { + "<%= paths.js %>/Dist/scripts.js": [ + "<%= paths.js %>Src/main.js" + ] + } + } + }, + sass: { + options: { + implementation: sass, + outputStyle: 'expanded', + precision: 8, + sourceMap: false + }, + layout: { + files: { + '<%= paths.css %>layout.css': '<%= paths.sass %>layout.scss' + } + } + }, + postcss: { + options: { + map: false, + processors: [ + require('autoprefixer')({ + browsers: [ + 'Last 2 versions', + 'Firefox ESR', + 'IE 9' + ] + }) + ] + }, + layout: { + src: '<%= paths.css %>layout.css' + } + }, + cssmin: { + options: { + keepSpecialComments: '*', + advanced: false + }, + layout: { + src: '<%= paths.css %>layout.css', + dest: '<%= paths.css %>layout.min.css' + } + }, + imagemin: { + extension: { + files: [{ + expand: true, + cwd: '<%= paths.resources %>', + src: [ + '**/*.{png,jpg,gif}' + ], + dest: '<%= paths.resources %>' + }] + } + }, + watch: { + options: { + livereload: true + }, + sass: { + files: '<%= paths.sass %>**/*.scss', + tasks: ['css'] + }, + javascript: { + files: '<%= paths.js %>Src/**/*.js', + tasks: ['js'] + } + } + }); + + /** + * Register tasks + // */ + grunt.loadNpmTasks('grunt-contrib-cssmin'); + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-contrib-imagemin'); + grunt.loadNpmTasks('grunt-postcss'); + grunt.loadNpmTasks('grunt-sass'); + + /** + * Grunt update task + */ + grunt.registerTask('css', ['sass', 'postcss', 'cssmin']); + grunt.registerTask('js', ['uglify']); + grunt.registerTask('build', ['js', 'css', 'imagemin']); + grunt.registerTask('default', ['build']); + +}; diff --git a/resources/packages/fluid_styled_content/12.4/src/Build/package.json.twig b/resources/packages/fluid_styled_content/12.4/src/Build/package.json.twig new file mode 100644 index 0000000..a870947 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Build/package.json.twig @@ -0,0 +1,28 @@ +{ + "name": "{{ package.vendorNameAlternative }}-{{ package.packageNameAlternative }}", + "description": "{{ package.description }}", + "repository": { + "type": "git", + "url": "{{ package.repositoryUrl }}" + }, + "homepage": "{{ package.author.homepage }}", + "author": "{{ package.author.name }}", + "version": "1.0.0", + "license": "GPL-2.0-or-later", + "devDependencies": { + "grunt": "^1.0.4", + "grunt-contrib-cssmin": "^3.0.0", + "grunt-contrib-uglify": "^4.0.1", + "grunt-contrib-watch": "^1.1.0", + "grunt-contrib-imagemin": "^3.1.0", + "grunt-postcss": "^0.9.0", + "grunt-sass": "^3.0.2", + "autoprefixer": "^9.5.0", + "node-sass": "^4.11.0" + }, + "scripts": { + "build": "./node_modules/.bin/grunt", + "css": "./node_modules/.bin/grunt css", + "watch": "./node_modules/.bin/grunt watch" + } +} diff --git a/resources/packages/fluid_styled_content/12.4/src/Classes/.htaccess b/resources/packages/fluid_styled_content/12.4/src/Classes/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Classes/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/12.4/src/Classes/Controller/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Classes/Controller/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Classes/Controller/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/Model/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/Model/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/Model/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/Repository/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/Repository/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Classes/Domain/Repository/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Classes/ViewHelpers/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Classes/ViewHelpers/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Classes/ViewHelpers/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/.htaccess b/resources/packages/fluid_styled_content/12.4/src/Configuration/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/RTE/Default.yaml.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/RTE/Default.yaml.twig new file mode 100644 index 0000000..5d5556d --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/RTE/Default.yaml.twig @@ -0,0 +1,42 @@ +imports: + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } + +editor: + config: + contentsCss: "EXT:{{ package.extensionKey }}/Resources/Public/Css/rte.css" + + stylesSet: + - { name: "Lead", element: "p", attributes: { 'class': 'lead' } } + + toolbarGroups: + - { name: styles, groups: [ format, styles ] } + - { name: basicstyles, groups: [ basicstyles ] } + - { name: paragraph, groups: [ list, indent, blocks, align ] } + - "/" + - { name: links, groups: [ links ] } + - { name: clipboard, groups: [ clipboard, cleanup, undo ] } + - { name: editing, groups: [ spellchecker ] } + - { name: insert, groups: [ insert ] } + - { name: tools, groups: [ table, specialchar ] } + - { name: document, groups: [ mode ] } + + format_tags: "p;h1;h2;h3;h4;h5;pre" + + justifyClasses: + - text-left + - text-center + - text-right + - text-justify + + extraPlugins: + - justify + + removePlugins: + - image + + removeButtons: + - Anchor + - Underline + - Strike diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TCA/Overrides/pages.php.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TCA/Overrides/pages.php.twig new file mode 100644 index 0000000..e846682 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TCA/Overrides/pages.php.twig @@ -0,0 +1,20 @@ + + + + diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig new file mode 100644 index 0000000..8213cfa --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig @@ -0,0 +1,4 @@ +# +# BACKENDLAYOUTS +# + diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig new file mode 100644 index 0000000..a16a9db --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig @@ -0,0 +1,29 @@ +# +# BACKENDLAYOUT: DEFAULT +# +mod { + web_layout { + BackendLayouts { + default { + title = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.default + config { + backend_layout { + colCount = 1 + rowCount = 1 + rows { + 1 { + columns { + 1 { + name = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal + colPos = 0 + } + } + } + } + } + } + icon = EXT:{{ package.extensionKey }}/Resources/Public/Images/BackendLayouts/default.png + } + } + } +} diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig new file mode 100644 index 0000000..3835324 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/RTE.tsconfig.twig @@ -0,0 +1,8 @@ +############# +#### RTE #### +############# +RTE { + default { + preset = {{ package.extensionKey }} + } +} diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig new file mode 100644 index 0000000..55f97ce --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig @@ -0,0 +1,11 @@ +# +# TCEFORM +# +TCEFORM { + pages { + + } + tt_content { + + } +} diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig new file mode 100644 index 0000000..9d4a5e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig @@ -0,0 +1,6 @@ +# +# TCEMAIN +# +TCEMAIN { + +} diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig new file mode 100644 index 0000000..993b020 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig @@ -0,0 +1,64 @@ +################################################ +#### DYNAMIC CONTENT LIB FOR USAGE IN FLUID #### +################################################ +# +# EXAMPLE +# --------------- +# |'}" /> +# +# +# COLUMN NUMBERS +# --------------- +# +# 0 = main +# 1 = left +# 2 = right +# 3 = border +# +################# +lib.dynamicContent = COA +lib.dynamicContent { + 5 = LOAD_REGISTER + 5 { + colPos.cObject = TEXT + colPos.cObject { + field = colPos + ifEmpty.cObject = TEXT + ifEmpty.cObject { + value.current = 1 + ifEmpty = 0 + } + } + pageUid.cObject = TEXT + pageUid.cObject { + field = pageUid + ifEmpty.data = TSFE:id + } + contentFromPid.cObject = TEXT + contentFromPid.cObject { + data = DB:pages:{register:pageUid}:content_from_pid + data.insertData = 1 + } + wrap.cObject = TEXT + wrap.cObject { + field = wrap + } + } + 20 = CONTENT + 20 { + table = tt_content + select { + includeRecordsWithoutDefaultTranslation = 1 + orderBy = sorting + where = {{ '{#colPos}={register:colPos}' }} + where.insertData = 1 + pidInList.data = register:pageUid + pidInList.override.data = register:contentFromPid + } + stdWrap { + dataWrap = {register:wrap} + required = 1 + } + } + 90 = RESTORE_REGISTER +} diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/constants.typoscript.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/constants.typoscript.twig new file mode 100644 index 0000000..1a79054 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/constants.typoscript.twig @@ -0,0 +1,56 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############################## +#### FLUID STYLED CONTENT #### +############################## +styles { + templates { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/ + } +} + + +############ +### PAGE ### +############ +page { + fluidtemplate { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + } + meta { + description = + author = + keywords = + viewport = width=device-width, initial-scale=1 + robots = index,follow + apple-mobile-web-app-capable = no + compatible = IE=edge + } + tracking { + google { + trackingID = + anonymizeIp = 1 + } + } +} + + +############## +### CONFIG ### +############## +config { + no_cache = 0 + removeDefaultJS = 0 + admPanel = 1 + prefixLocalAnchors = all + headerComment = build by sitepackagebuilder.com + sendCacheHeaders = 1 +} diff --git a/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/setup.typoscript.twig b/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/setup.typoscript.twig new file mode 100644 index 0000000..1f76557 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Configuration/TypoScript/setup.typoscript.twig @@ -0,0 +1,203 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +################ +#### HELPER #### +################ + + + +############## +#### PAGE #### +############## +page = PAGE +page { + typeNum = 0 + shortcutIcon = EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico + + 10 = FLUIDTEMPLATE + 10 { + # Template names will be generated automatically by converting the applied + # backend_layout, there is no explicit mapping necessary anymore. + # + # BackendLayout Key + # subnavigation_right_2_columns -> SubnavigationRight2Columns.html + # + # Backend Record + # uid: 1 -> 1.html + # + # Database Entry + # value: -1 -> None.html + # value: pagets__subnavigation_right_2_columns -> SubnavigationRight2Columns.html + templateName = TEXT + templateName { + cObject = TEXT + cObject { + data = pagelayout + required = 1 + case = uppercamelcase + split { + token = pagets__ + cObjNum = 1 + 1.current = 1 + } + } + ifEmpty = Default + } + templateRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + 1 = {$page.fluidtemplate.templateRootPath} + } + partialRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + 1 = {$page.fluidtemplate.partialRootPath} + } + layoutRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + 1 = {$page.fluidtemplate.layoutRootPath} + } + dataProcessing { + 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor + 10 { + references.fieldName = media + } + 20 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor + 20 { + levels = 2 + includeSpacer = 1 + as = mainnavigation + } + } + } + + meta { + viewport = {$page.meta.viewport} + robots = {$page.meta.robots} + apple-mobile-web-app-capable = {$page.meta.apple-mobile-web-app-capable} + description = {$page.meta.description} + description { + override.field = description + } + author = {$page.meta.author} + author { + override.field = author + } + keywords = {$page.meta.keywords} + keywords { + override.field = keywords + } + X-UA-Compatible = {$page.meta.compatible} + X-UA-Compatible { + attribute = http-equiv + } + + # OpenGraph Tags + og:title { + attribute = property + field = title + } + og:site_name { + attribute = property + data = TSFE:tmpl|setup|sitetitle + } + og:description = {$page.meta.description} + og:description { + attribute = property + field = description + } + og:image { + attribute = property + stdWrap.cObject = FILES + stdWrap.cObject { + references { + data = levelfield:-1, media, slide + } + maxItems = 1 + renderObj = COA + renderObj { + 10 = IMG_RESOURCE + 10 { + file { + import.data = file:current:uid + treatIdAsReference = 1 + width = 1280c + height = 720c + } + stdWrap { + typolink { + parameter.data = TSFE:lastImgResourceInfo|3 + returnLast = url + forceAbsoluteUrl = 1 + } + } + } + } + } + } + } + + includeCSSLibs { + + } + + includeCSS { + {{ package.extensionKey }}_layout = EXT:{{ package.extensionKey }}/Resources/Public/Css/layout.min.css + } + + includeJSLibs { + + } + + includeJS { + + } + + includeJSFooterlibs { + + } + + includeJSFooter { + {{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/Dist/scripts.js + } +} + + +################ +#### CONFIG #### +################ +config { + absRefPrefix = auto + no_cache = {$config.no_cache} + uniqueLinkVars = 1 + pageTitleFirst = 1 + linkVars = L + prefixLocalAnchors = {$config.prefixLocalAnchors} + renderCharset = utf-8 + metaCharset = utf-8 + doctype = html5 + removeDefaultJS = {$config.removeDefaultJS} + inlineStyle2TempFile = 1 + admPanel = {$config.admPanel} + debug = 0 + cache_period = 86400 + sendCacheHeaders = {$config.sendCacheHeaders} + intTarget = + extTarget = + disablePrefixComment = 1 + index_enable = 1 + index_externals = 1 + index_metatags = 1 + headerComment = {$config.headerComment} + + // Disable Image Upscaling + noScaleUp = 1 + + // Compression and Concatenation of CSS and JS Files + compressJs = 0 + compressCss = 0 + concatenateJs = 0 + concatenateCss = 0 +} diff --git a/resources/packages/fluid_styled_content/12.4/src/README.md.twig b/resources/packages/fluid_styled_content/12.4/src/README.md.twig new file mode 100644 index 0000000..8b095c7 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/README.md.twig @@ -0,0 +1,4 @@ +Sitepackage for the project "{{ package.title }}" +============================================================== + +Add some explanation here. diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/.htaccess b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang.xlf.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 0000000..fb3e2d8 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Default + + + Normal + + +
+
diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Layouts/Page/Default.html.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Layouts/Page/Default.html.twig new file mode 100644 index 0000000..ad57953 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Layouts/Page/Default.html.twig @@ -0,0 +1,21 @@ + + diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Templates/Page/Default.html.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Templates/Page/Default.html.twig new file mode 100644 index 0000000..312fc91 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Private/Templates/Page/Default.html.twig @@ -0,0 +1,19 @@ + + + +
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Default.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig +
+
+
+ + + +
diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/layout.css b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/layout.css new file mode 100644 index 0000000..e69de29 diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/layout.min.css b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/layout.min.css new file mode 100644 index 0000000..e69de29 diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/rte.css.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/rte.css.twig new file mode 100644 index 0000000..1ce5278 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Css/rte.css.twig @@ -0,0 +1,3 @@ +/** + * Created from sitepackagebuilder.com + */ diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Fonts/.gitkeep b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Icons/Extension.svg b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 0000000..d853637 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Icons/favicon.ico b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000..46d4c14 Binary files /dev/null and b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Icons/favicon.ico differ diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Images/BackendLayouts/default.png b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Images/BackendLayouts/default.png new file mode 100644 index 0000000..0bed870 Binary files /dev/null and b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Images/BackendLayouts/default.png differ diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig new file mode 100644 index 0000000..af83240 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/JavaScript/Dist/scripts.js.twig @@ -0,0 +1,6 @@ +/*! + * {{ package.title }} v1.0.0 ({{ package.author.homepage }}) + * Copyright 2017-{{ 'now'|date('Y') }} {{ package.author.name }} + * Licensed under the GPL-2.0-or-later license + */ +console.log("WE LOVE TYPO3"); diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/JavaScript/Src/main.js.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/JavaScript/Src/main.js.twig new file mode 100644 index 0000000..a5e4902 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/JavaScript/Src/main.js.twig @@ -0,0 +1 @@ +console.log('WE LOVE TYPO3'); diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Scss/layout.scss.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Scss/layout.scss.twig new file mode 100644 index 0000000..e1e1d9a --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Scss/layout.scss.twig @@ -0,0 +1,5 @@ +// Variables +@import 'variables'; + +// Modules +// import your modules here diff --git a/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Scss/variables.scss.twig b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Scss/variables.scss.twig new file mode 100644 index 0000000..e0e9083 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/Resources/Public/Scss/variables.scss.twig @@ -0,0 +1 @@ +// Variables diff --git a/resources/packages/fluid_styled_content/12.4/src/composer.json.twig b/resources/packages/fluid_styled_content/12.4/src/composer.json.twig new file mode 100644 index 0000000..26e9285 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/composer.json.twig @@ -0,0 +1,23 @@ +{ + "name": "{{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }}", + "type": "typo3-cms-extension", + "description": "{{ package.description}}", + "homepage": "{{ package.author.homepage }}", + "license": ["GPL-2.0-or-later"], + "keywords": ["TYPO3 CMS"], + "require": { + "typo3/cms-core": "^12.4", + "typo3/cms-rte-ckeditor": "^12.4", + "typo3/cms-fluid-styled-content": "^12.4" + }, + "autoload": { + "psr-4": { + "{{ package.vendorName }}\\{{ package.packageName }}\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "{{ package.extensionKey }}" + } + } +} diff --git a/resources/packages/fluid_styled_content/12.4/src/ext_conf_template.txt.twig b/resources/packages/fluid_styled_content/12.4/src/ext_conf_template.txt.twig new file mode 100644 index 0000000..e87dc9c --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/ext_conf_template.txt.twig @@ -0,0 +1,3 @@ +# +# Extension Configuration template +# diff --git a/resources/packages/fluid_styled_content/12.4/src/ext_emconf.php.twig b/resources/packages/fluid_styled_content/12.4/src/ext_emconf.php.twig new file mode 100644 index 0000000..b18699a --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/ext_emconf.php.twig @@ -0,0 +1,32 @@ + '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'typo3' => '12.4.0-12.4.99', + 'fluid_styled_content' => '12.4.0-12.4.99', + 'rte_ckeditor' => '12.4.0-12.4.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/fluid_styled_content/12.4/src/ext_localconf.php.twig b/resources/packages/fluid_styled_content/12.4/src/ext_localconf.php.twig new file mode 100644 index 0000000..501803a --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/ext_localconf.php.twig @@ -0,0 +1,13 @@ +'); diff --git a/resources/packages/fluid_styled_content/12.4/src/ext_tables.php.twig b/resources/packages/fluid_styled_content/12.4/src/ext_tables.php.twig new file mode 100644 index 0000000..07154a9 --- /dev/null +++ b/resources/packages/fluid_styled_content/12.4/src/ext_tables.php.twig @@ -0,0 +1,3 @@ +Resources/', + sass: '<%= paths.resources %>Public/Scss/', + css: '<%= paths.resources %>Public/Css/', + fonts: '<%= paths.resources %>Public/Fonts/', + img: '<%= paths.resources %>Public/Images/', + js: '<%= paths.resources %>Public/JavaScript/' + }, + banner: '/*!\n' + + ' * {{ package.title }} v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright 2017-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under the <%= pkg.license %> license\n' + + ' */\n', + uglify: { + all: { + options: { + banner: '<%= banner %>', + mangle: true, + compress: true, + beautify: false + }, + files: { + "<%= paths.js %>/Dist/scripts.js": [ + "<%= paths.js %>Src/main.js" + ] + } + } + }, + sass: { + options: { + implementation: sass, + outputStyle: 'expanded', + precision: 8, + sourceMap: false + }, + layout: { + files: { + '<%= paths.css %>layout.css': '<%= paths.sass %>layout.scss' + } + } + }, + postcss: { + options: { + map: false, + processors: [ + require('autoprefixer')({ + browsers: [ + 'Last 2 versions', + 'Firefox ESR', + 'IE 9' + ] + }) + ] + }, + layout: { + src: '<%= paths.css %>layout.css' + } + }, + cssmin: { + options: { + keepSpecialComments: '*', + advanced: false + }, + layout: { + src: '<%= paths.css %>layout.css', + dest: '<%= paths.css %>layout.min.css' + } + }, + imagemin: { + extension: { + files: [{ + expand: true, + cwd: '<%= paths.resources %>', + src: [ + '**/*.{png,jpg,gif}' + ], + dest: '<%= paths.resources %>' + }] + } + }, + watch: { + options: { + livereload: true + }, + sass: { + files: '<%= paths.sass %>**/*.scss', + tasks: ['css'] + }, + javascript: { + files: '<%= paths.js %>Src/**/*.js', + tasks: ['js'] + } + } + }); + + /** + * Register tasks + // */ + grunt.loadNpmTasks('grunt-contrib-cssmin'); + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-contrib-imagemin'); + grunt.loadNpmTasks('grunt-postcss'); + grunt.loadNpmTasks('grunt-sass'); + + /** + * Grunt update task + */ + grunt.registerTask('css', ['sass', 'postcss', 'cssmin']); + grunt.registerTask('js', ['uglify']); + grunt.registerTask('build', ['js', 'css', 'imagemin']); + grunt.registerTask('default', ['build']); + +}; diff --git a/resources/packages/fluid_styled_content/8.7/src/Build/package.json.twig b/resources/packages/fluid_styled_content/8.7/src/Build/package.json.twig new file mode 100644 index 0000000..a870947 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Build/package.json.twig @@ -0,0 +1,28 @@ +{ + "name": "{{ package.vendorNameAlternative }}-{{ package.packageNameAlternative }}", + "description": "{{ package.description }}", + "repository": { + "type": "git", + "url": "{{ package.repositoryUrl }}" + }, + "homepage": "{{ package.author.homepage }}", + "author": "{{ package.author.name }}", + "version": "1.0.0", + "license": "GPL-2.0-or-later", + "devDependencies": { + "grunt": "^1.0.4", + "grunt-contrib-cssmin": "^3.0.0", + "grunt-contrib-uglify": "^4.0.1", + "grunt-contrib-watch": "^1.1.0", + "grunt-contrib-imagemin": "^3.1.0", + "grunt-postcss": "^0.9.0", + "grunt-sass": "^3.0.2", + "autoprefixer": "^9.5.0", + "node-sass": "^4.11.0" + }, + "scripts": { + "build": "./node_modules/.bin/grunt", + "css": "./node_modules/.bin/grunt css", + "watch": "./node_modules/.bin/grunt watch" + } +} diff --git a/resources/packages/fluid_styled_content/8.7/src/Classes/.htaccess b/resources/packages/fluid_styled_content/8.7/src/Classes/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Classes/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/8.7/src/Classes/Controller/.gitkeep b/resources/packages/fluid_styled_content/8.7/src/Classes/Controller/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Classes/Controller/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/8.7/src/Classes/Domain/.gitkeep b/resources/packages/fluid_styled_content/8.7/src/Classes/Domain/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Classes/Domain/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/8.7/src/Classes/Domain/Model/.gitkeep b/resources/packages/fluid_styled_content/8.7/src/Classes/Domain/Model/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Classes/Domain/Model/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/8.7/src/Classes/Domain/Repository/.gitkeep b/resources/packages/fluid_styled_content/8.7/src/Classes/Domain/Repository/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Classes/Domain/Repository/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/8.7/src/Classes/ViewHelpers/.gitkeep b/resources/packages/fluid_styled_content/8.7/src/Classes/ViewHelpers/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Classes/ViewHelpers/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/8.7/src/Configuration/.htaccess b/resources/packages/fluid_styled_content/8.7/src/Configuration/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Configuration/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/8.7/src/Configuration/RTE/Default.yaml.twig b/resources/packages/fluid_styled_content/8.7/src/Configuration/RTE/Default.yaml.twig new file mode 100644 index 0000000..5d5556d --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Configuration/RTE/Default.yaml.twig @@ -0,0 +1,42 @@ +imports: + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } + +editor: + config: + contentsCss: "EXT:{{ package.extensionKey }}/Resources/Public/Css/rte.css" + + stylesSet: + - { name: "Lead", element: "p", attributes: { 'class': 'lead' } } + + toolbarGroups: + - { name: styles, groups: [ format, styles ] } + - { name: basicstyles, groups: [ basicstyles ] } + - { name: paragraph, groups: [ list, indent, blocks, align ] } + - "/" + - { name: links, groups: [ links ] } + - { name: clipboard, groups: [ clipboard, cleanup, undo ] } + - { name: editing, groups: [ spellchecker ] } + - { name: insert, groups: [ insert ] } + - { name: tools, groups: [ table, specialchar ] } + - { name: document, groups: [ mode ] } + + format_tags: "p;h1;h2;h3;h4;h5;pre" + + justifyClasses: + - text-left + - text-center + - text-right + - text-justify + + extraPlugins: + - justify + + removePlugins: + - image + + removeButtons: + - Anchor + - Underline + - Strike diff --git a/resources/packages/fluid_styled_content/8.7/src/Configuration/TCA/Overrides/pages.php.twig b/resources/packages/fluid_styled_content/8.7/src/Configuration/TCA/Overrides/pages.php.twig new file mode 100644 index 0000000..f64fca7 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Configuration/TCA/Overrides/pages.php.twig @@ -0,0 +1,20 @@ + + + + diff --git a/resources/packages/fluid_styled_content/8.7/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig b/resources/packages/fluid_styled_content/8.7/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig new file mode 100644 index 0000000..8213cfa --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig @@ -0,0 +1,4 @@ +# +# BACKENDLAYOUTS +# + diff --git a/resources/packages/fluid_styled_content/8.7/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig b/resources/packages/fluid_styled_content/8.7/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig new file mode 100644 index 0000000..a16a9db --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig @@ -0,0 +1,29 @@ +# +# BACKENDLAYOUT: DEFAULT +# +mod { + web_layout { + BackendLayouts { + default { + title = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.default + config { + backend_layout { + colCount = 1 + rowCount = 1 + rows { + 1 { + columns { + 1 { + name = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal + colPos = 0 + } + } + } + } + } + } + icon = EXT:{{ package.extensionKey }}/Resources/Public/Images/BackendLayouts/default.png + } + } + } +} diff --git a/resources/packages/fluid_styled_content/8.7/src/Configuration/TsConfig/Page/RTE.tsconfig.twig b/resources/packages/fluid_styled_content/8.7/src/Configuration/TsConfig/Page/RTE.tsconfig.twig new file mode 100644 index 0000000..3835324 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Configuration/TsConfig/Page/RTE.tsconfig.twig @@ -0,0 +1,8 @@ +############# +#### RTE #### +############# +RTE { + default { + preset = {{ package.extensionKey }} + } +} diff --git a/resources/packages/fluid_styled_content/8.7/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig b/resources/packages/fluid_styled_content/8.7/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig new file mode 100644 index 0000000..55f97ce --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig @@ -0,0 +1,11 @@ +# +# TCEFORM +# +TCEFORM { + pages { + + } + tt_content { + + } +} diff --git a/resources/packages/fluid_styled_content/8.7/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig b/resources/packages/fluid_styled_content/8.7/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig new file mode 100644 index 0000000..9d4a5e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig @@ -0,0 +1,6 @@ +# +# TCEMAIN +# +TCEMAIN { + +} diff --git a/resources/packages/fluid_styled_content/8.7/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig b/resources/packages/fluid_styled_content/8.7/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig new file mode 100644 index 0000000..993b020 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig @@ -0,0 +1,64 @@ +################################################ +#### DYNAMIC CONTENT LIB FOR USAGE IN FLUID #### +################################################ +# +# EXAMPLE +# --------------- +# |'}" /> +# +# +# COLUMN NUMBERS +# --------------- +# +# 0 = main +# 1 = left +# 2 = right +# 3 = border +# +################# +lib.dynamicContent = COA +lib.dynamicContent { + 5 = LOAD_REGISTER + 5 { + colPos.cObject = TEXT + colPos.cObject { + field = colPos + ifEmpty.cObject = TEXT + ifEmpty.cObject { + value.current = 1 + ifEmpty = 0 + } + } + pageUid.cObject = TEXT + pageUid.cObject { + field = pageUid + ifEmpty.data = TSFE:id + } + contentFromPid.cObject = TEXT + contentFromPid.cObject { + data = DB:pages:{register:pageUid}:content_from_pid + data.insertData = 1 + } + wrap.cObject = TEXT + wrap.cObject { + field = wrap + } + } + 20 = CONTENT + 20 { + table = tt_content + select { + includeRecordsWithoutDefaultTranslation = 1 + orderBy = sorting + where = {{ '{#colPos}={register:colPos}' }} + where.insertData = 1 + pidInList.data = register:pageUid + pidInList.override.data = register:contentFromPid + } + stdWrap { + dataWrap = {register:wrap} + required = 1 + } + } + 90 = RESTORE_REGISTER +} diff --git a/resources/packages/fluid_styled_content/8.7/src/Configuration/TypoScript/constants.typoscript.twig b/resources/packages/fluid_styled_content/8.7/src/Configuration/TypoScript/constants.typoscript.twig new file mode 100644 index 0000000..fb2cc51 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Configuration/TypoScript/constants.typoscript.twig @@ -0,0 +1,56 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############################## +#### FLUID STYLED CONTENT #### +############################## +styles { + templates { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/ + } +} + + +############ +### PAGE ### +############ +page { + fluidtemplate { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + } + meta { + description = + author = + keywords = + viewport = width=device-width, initial-scale=1 + robots = index,follow + apple-mobile-web-app-capable = no + compatible = IE=edge + } + tracking { + google { + trackingID = + anonymizeIp = 1 + } + } +} + + +############## +### CONFIG ### +############## +config { + no_cache = 0 + removeDefaultJS = 0 + admPanel = 1 + prefixLocalAnchors = all + headerComment = build by sitepackagebuilder.com + sendCacheHeaders = 1 +} diff --git a/resources/packages/fluid_styled_content/8.7/src/Configuration/TypoScript/setup.typoscript.twig b/resources/packages/fluid_styled_content/8.7/src/Configuration/TypoScript/setup.typoscript.twig new file mode 100644 index 0000000..987ce19 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Configuration/TypoScript/setup.typoscript.twig @@ -0,0 +1,203 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +################ +#### HELPER #### +################ + + + +############## +#### PAGE #### +############## +page = PAGE +page { + typeNum = 0 + shortcutIcon = EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico + + 10 = FLUIDTEMPLATE + 10 { + # Template names will be generated automatically by converting the applied + # backend_layout, there is no explicit mapping necessary anymore. + # + # BackendLayout Key + # subnavigation_right_2_columns -> SubnavigationRight2Columns.html + # + # Backend Record + # uid: 1 -> 1.html + # + # Database Entry + # value: -1 -> None.html + # value: pagets__subnavigation_right_2_columns -> SubnavigationRight2Columns.html + templateName = TEXT + templateName { + cObject = TEXT + cObject { + data = pagelayout + required = 1 + case = uppercamelcase + split { + token = pagets__ + cObjNum = 1 + 1.current = 1 + } + } + ifEmpty = Default + } + templateRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + 1 = {$page.fluidtemplate.templateRootPath} + } + partialRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + 1 = {$page.fluidtemplate.partialRootPath} + } + layoutRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + 1 = {$page.fluidtemplate.layoutRootPath} + } + dataProcessing { + 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor + 10 { + references.fieldName = media + } + 20 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor + 20 { + levels = 2 + includeSpacer = 1 + as = mainnavigation + } + } + } + + meta { + viewport = {$page.meta.viewport} + robots = {$page.meta.robots} + apple-mobile-web-app-capable = {$page.meta.apple-mobile-web-app-capable} + description = {$page.meta.description} + description { + override.field = description + } + author = {$page.meta.author} + author { + override.field = author + } + keywords = {$page.meta.keywords} + keywords { + override.field = keywords + } + X-UA-Compatible = {$page.meta.compatible} + X-UA-Compatible { + attribute = http-equiv + } + + # OpenGraph Tags + og:title { + attribute = property + field = title + } + og:site_name { + attribute = property + data = TSFE:tmpl|setup|sitetitle + } + og:description = {$page.meta.description} + og:description { + attribute = property + field = description + } + og:image { + attribute = property + stdWrap.cObject = FILES + stdWrap.cObject { + references { + data = levelfield:-1, media, slide + } + maxItems = 1 + renderObj = COA + renderObj { + 10 = IMG_RESOURCE + 10 { + file { + import.data = file:current:uid + treatIdAsReference = 1 + width = 1280c + height = 720c + } + stdWrap { + typolink { + parameter.data = TSFE:lastImgResourceInfo|3 + returnLast = url + forceAbsoluteUrl = 1 + } + } + } + } + } + } + } + + includeCSSLibs { + + } + + includeCSS { + {{ package.extensionKey }}_layout = EXT:{{ package.extensionKey }}/Resources/Public/Css/layout.min.css + } + + includeJSLibs { + + } + + includeJS { + + } + + includeJSFooterlibs { + + } + + includeJSFooter { + {{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/Dist/scripts.js + } +} + + +################ +#### CONFIG #### +################ +config { + absRefPrefix = auto + no_cache = {$config.no_cache} + uniqueLinkVars = 1 + pageTitleFirst = 1 + linkVars = L + prefixLocalAnchors = {$config.prefixLocalAnchors} + renderCharset = utf-8 + metaCharset = utf-8 + doctype = html5 + removeDefaultJS = {$config.removeDefaultJS} + inlineStyle2TempFile = 1 + admPanel = {$config.admPanel} + debug = 0 + cache_period = 86400 + sendCacheHeaders = {$config.sendCacheHeaders} + intTarget = + extTarget = + disablePrefixComment = 1 + index_enable = 1 + index_externals = 1 + index_metatags = 1 + headerComment = {$config.headerComment} + + // Disable Image Upscaling + noScaleUp = 1 + + // Compression and Concatenation of CSS and JS Files + compressJs = 0 + compressCss = 0 + concatenateJs = 0 + concatenateCss = 0 +} diff --git a/resources/packages/fluid_styled_content/8.7/src/README.md.twig b/resources/packages/fluid_styled_content/8.7/src/README.md.twig new file mode 100644 index 0000000..8b095c7 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/README.md.twig @@ -0,0 +1,4 @@ +Sitepackage for the project "{{ package.title }}" +============================================================== + +Add some explanation here. diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Private/.htaccess b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Language/locallang.xlf.twig b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Language/locallang.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Language/locallang.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 0000000..fb3e2d8 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Default + + + Normal + + +
+
diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Layouts/Page/Default.html.twig b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Layouts/Page/Default.html.twig new file mode 100644 index 0000000..ad57953 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Layouts/Page/Default.html.twig @@ -0,0 +1,21 @@ + + diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Templates/Page/Default.html.twig b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Templates/Page/Default.html.twig new file mode 100644 index 0000000..312fc91 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Private/Templates/Page/Default.html.twig @@ -0,0 +1,19 @@ + + + +
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Default.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig +
+
+
+ + + +
diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Css/layout.css b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Css/layout.css new file mode 100644 index 0000000..e69de29 diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Css/layout.min.css b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Css/layout.min.css new file mode 100644 index 0000000..e69de29 diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Css/rte.css.twig b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Css/rte.css.twig new file mode 100644 index 0000000..1ce5278 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Css/rte.css.twig @@ -0,0 +1,3 @@ +/** + * Created from sitepackagebuilder.com + */ diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Fonts/.gitkeep b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Icons/Extension.svg b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 0000000..d853637 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Icons/favicon.ico b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000..46d4c14 Binary files /dev/null and b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Icons/favicon.ico differ diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Images/BackendLayouts/default.png b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Images/BackendLayouts/default.png new file mode 100644 index 0000000..0bed870 Binary files /dev/null and b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Images/BackendLayouts/default.png differ diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Public/JavaScript/Dist/scripts.js.twig b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/JavaScript/Dist/scripts.js.twig new file mode 100644 index 0000000..af83240 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/JavaScript/Dist/scripts.js.twig @@ -0,0 +1,6 @@ +/*! + * {{ package.title }} v1.0.0 ({{ package.author.homepage }}) + * Copyright 2017-{{ 'now'|date('Y') }} {{ package.author.name }} + * Licensed under the GPL-2.0-or-later license + */ +console.log("WE LOVE TYPO3"); diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Public/JavaScript/Src/main.js.twig b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/JavaScript/Src/main.js.twig new file mode 100644 index 0000000..a5e4902 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/JavaScript/Src/main.js.twig @@ -0,0 +1 @@ +console.log('WE LOVE TYPO3'); diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Scss/layout.scss.twig b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Scss/layout.scss.twig new file mode 100644 index 0000000..e1e1d9a --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Scss/layout.scss.twig @@ -0,0 +1,5 @@ +// Variables +@import 'variables'; + +// Modules +// import your modules here diff --git a/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Scss/variables.scss.twig b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Scss/variables.scss.twig new file mode 100644 index 0000000..e0e9083 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/Resources/Public/Scss/variables.scss.twig @@ -0,0 +1 @@ +// Variables diff --git a/resources/packages/fluid_styled_content/8.7/src/composer.json.twig b/resources/packages/fluid_styled_content/8.7/src/composer.json.twig new file mode 100644 index 0000000..db3decd --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/composer.json.twig @@ -0,0 +1,23 @@ +{ + "name": "{{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }}", + "type": "typo3-cms-extension", + "description": "{{ package.description}}", + "homepage": "{{ package.author.homepage }}", + "license": ["GPL-2.0-or-later"], + "keywords": ["TYPO3 CMS"], + "require": { + "typo3/cms-core": "^8.7", + "typo3/cms-rte-ckeditor": "^8.7", + "typo3/cms-fluid-styled-content": "^8.7" + }, + "autoload": { + "psr-4": { + "{{ package.vendorName }}\\{{ package.packageName }}\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "{{ package.extensionKey }}" + } + } +} diff --git a/resources/packages/fluid_styled_content/8.7/src/ext_conf_template.txt.twig b/resources/packages/fluid_styled_content/8.7/src/ext_conf_template.txt.twig new file mode 100644 index 0000000..e87dc9c --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/ext_conf_template.txt.twig @@ -0,0 +1,3 @@ +# +# Extension Configuration template +# diff --git a/resources/packages/fluid_styled_content/8.7/src/ext_emconf.php.twig b/resources/packages/fluid_styled_content/8.7/src/ext_emconf.php.twig new file mode 100644 index 0000000..57b19e0 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/ext_emconf.php.twig @@ -0,0 +1,32 @@ + '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'typo3' => '8.7.0-8.7.99', + 'fluid_styled_content' => '8.7.0-8.7.99', + 'rte_ckeditor' => '8.7.0-8.7.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/fluid_styled_content/8.7/src/ext_localconf.php.twig b/resources/packages/fluid_styled_content/8.7/src/ext_localconf.php.twig new file mode 100644 index 0000000..b455f51 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/ext_localconf.php.twig @@ -0,0 +1,13 @@ +'); diff --git a/resources/packages/fluid_styled_content/8.7/src/ext_tables.php.twig b/resources/packages/fluid_styled_content/8.7/src/ext_tables.php.twig new file mode 100644 index 0000000..a7758e2 --- /dev/null +++ b/resources/packages/fluid_styled_content/8.7/src/ext_tables.php.twig @@ -0,0 +1,3 @@ +Resources/', + sass: '<%= paths.resources %>Public/Scss/', + css: '<%= paths.resources %>Public/Css/', + fonts: '<%= paths.resources %>Public/Fonts/', + img: '<%= paths.resources %>Public/Images/', + js: '<%= paths.resources %>Public/JavaScript/' + }, + banner: '/*!\n' + + ' * {{ package.title }} v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright 2017-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under the <%= pkg.license %> license\n' + + ' */\n', + uglify: { + all: { + options: { + banner: '<%= banner %>', + mangle: true, + compress: true, + beautify: false + }, + files: { + "<%= paths.js %>/Dist/scripts.js": [ + "<%= paths.js %>Src/main.js" + ] + } + } + }, + sass: { + options: { + implementation: sass, + outputStyle: 'expanded', + precision: 8, + sourceMap: false + }, + layout: { + files: { + '<%= paths.css %>layout.css': '<%= paths.sass %>layout.scss' + } + } + }, + postcss: { + options: { + map: false, + processors: [ + require('autoprefixer')({ + browsers: [ + 'Last 2 versions', + 'Firefox ESR', + 'IE 9' + ] + }) + ] + }, + layout: { + src: '<%= paths.css %>layout.css' + } + }, + cssmin: { + options: { + keepSpecialComments: '*', + advanced: false + }, + layout: { + src: '<%= paths.css %>layout.css', + dest: '<%= paths.css %>layout.min.css' + } + }, + imagemin: { + extension: { + files: [{ + expand: true, + cwd: '<%= paths.resources %>', + src: [ + '**/*.{png,jpg,gif}' + ], + dest: '<%= paths.resources %>' + }] + } + }, + watch: { + options: { + livereload: true + }, + sass: { + files: '<%= paths.sass %>**/*.scss', + tasks: ['css'] + }, + javascript: { + files: '<%= paths.js %>Src/**/*.js', + tasks: ['js'] + } + } + }); + + /** + * Register tasks + // */ + grunt.loadNpmTasks('grunt-contrib-cssmin'); + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-contrib-imagemin'); + grunt.loadNpmTasks('grunt-postcss'); + grunt.loadNpmTasks('grunt-sass'); + + /** + * Grunt update task + */ + grunt.registerTask('css', ['sass', 'postcss', 'cssmin']); + grunt.registerTask('js', ['uglify']); + grunt.registerTask('build', ['js', 'css', 'imagemin']); + grunt.registerTask('default', ['build']); + +}; diff --git a/resources/packages/fluid_styled_content/9.5/src/Build/package.json.twig b/resources/packages/fluid_styled_content/9.5/src/Build/package.json.twig new file mode 100644 index 0000000..a870947 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Build/package.json.twig @@ -0,0 +1,28 @@ +{ + "name": "{{ package.vendorNameAlternative }}-{{ package.packageNameAlternative }}", + "description": "{{ package.description }}", + "repository": { + "type": "git", + "url": "{{ package.repositoryUrl }}" + }, + "homepage": "{{ package.author.homepage }}", + "author": "{{ package.author.name }}", + "version": "1.0.0", + "license": "GPL-2.0-or-later", + "devDependencies": { + "grunt": "^1.0.4", + "grunt-contrib-cssmin": "^3.0.0", + "grunt-contrib-uglify": "^4.0.1", + "grunt-contrib-watch": "^1.1.0", + "grunt-contrib-imagemin": "^3.1.0", + "grunt-postcss": "^0.9.0", + "grunt-sass": "^3.0.2", + "autoprefixer": "^9.5.0", + "node-sass": "^4.11.0" + }, + "scripts": { + "build": "./node_modules/.bin/grunt", + "css": "./node_modules/.bin/grunt css", + "watch": "./node_modules/.bin/grunt watch" + } +} diff --git a/resources/packages/fluid_styled_content/9.5/src/Classes/.htaccess b/resources/packages/fluid_styled_content/9.5/src/Classes/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Classes/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/9.5/src/Classes/Controller/.gitkeep b/resources/packages/fluid_styled_content/9.5/src/Classes/Controller/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Classes/Controller/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/9.5/src/Classes/Domain/.gitkeep b/resources/packages/fluid_styled_content/9.5/src/Classes/Domain/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Classes/Domain/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/9.5/src/Classes/Domain/Model/.gitkeep b/resources/packages/fluid_styled_content/9.5/src/Classes/Domain/Model/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Classes/Domain/Model/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/9.5/src/Classes/Domain/Repository/.gitkeep b/resources/packages/fluid_styled_content/9.5/src/Classes/Domain/Repository/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Classes/Domain/Repository/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/9.5/src/Classes/ViewHelpers/.gitkeep b/resources/packages/fluid_styled_content/9.5/src/Classes/ViewHelpers/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Classes/ViewHelpers/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/9.5/src/Configuration/.htaccess b/resources/packages/fluid_styled_content/9.5/src/Configuration/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Configuration/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/9.5/src/Configuration/RTE/Default.yaml.twig b/resources/packages/fluid_styled_content/9.5/src/Configuration/RTE/Default.yaml.twig new file mode 100644 index 0000000..5d5556d --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Configuration/RTE/Default.yaml.twig @@ -0,0 +1,42 @@ +imports: + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } + - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } + +editor: + config: + contentsCss: "EXT:{{ package.extensionKey }}/Resources/Public/Css/rte.css" + + stylesSet: + - { name: "Lead", element: "p", attributes: { 'class': 'lead' } } + + toolbarGroups: + - { name: styles, groups: [ format, styles ] } + - { name: basicstyles, groups: [ basicstyles ] } + - { name: paragraph, groups: [ list, indent, blocks, align ] } + - "/" + - { name: links, groups: [ links ] } + - { name: clipboard, groups: [ clipboard, cleanup, undo ] } + - { name: editing, groups: [ spellchecker ] } + - { name: insert, groups: [ insert ] } + - { name: tools, groups: [ table, specialchar ] } + - { name: document, groups: [ mode ] } + + format_tags: "p;h1;h2;h3;h4;h5;pre" + + justifyClasses: + - text-left + - text-center + - text-right + - text-justify + + extraPlugins: + - justify + + removePlugins: + - image + + removeButtons: + - Anchor + - Underline + - Strike diff --git a/resources/packages/fluid_styled_content/9.5/src/Configuration/TCA/Overrides/pages.php.twig b/resources/packages/fluid_styled_content/9.5/src/Configuration/TCA/Overrides/pages.php.twig new file mode 100644 index 0000000..f64fca7 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Configuration/TCA/Overrides/pages.php.twig @@ -0,0 +1,20 @@ + + + + diff --git a/resources/packages/fluid_styled_content/9.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig b/resources/packages/fluid_styled_content/9.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig new file mode 100644 index 0000000..8213cfa --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig.twig @@ -0,0 +1,4 @@ +# +# BACKENDLAYOUTS +# + diff --git a/resources/packages/fluid_styled_content/9.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig b/resources/packages/fluid_styled_content/9.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig new file mode 100644 index 0000000..a16a9db --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig.twig @@ -0,0 +1,29 @@ +# +# BACKENDLAYOUT: DEFAULT +# +mod { + web_layout { + BackendLayouts { + default { + title = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.default + config { + backend_layout { + colCount = 1 + rowCount = 1 + rows { + 1 { + columns { + 1 { + name = LLL:EXT:{{ package.extensionKey }}/Resources/Private/Language/locallang_be.xlf:backend_layout.column.normal + colPos = 0 + } + } + } + } + } + } + icon = EXT:{{ package.extensionKey }}/Resources/Public/Images/BackendLayouts/default.png + } + } + } +} diff --git a/resources/packages/fluid_styled_content/9.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig b/resources/packages/fluid_styled_content/9.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig new file mode 100644 index 0000000..3835324 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Configuration/TsConfig/Page/RTE.tsconfig.twig @@ -0,0 +1,8 @@ +############# +#### RTE #### +############# +RTE { + default { + preset = {{ package.extensionKey }} + } +} diff --git a/resources/packages/fluid_styled_content/9.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig b/resources/packages/fluid_styled_content/9.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig new file mode 100644 index 0000000..55f97ce --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Configuration/TsConfig/Page/TCEFORM.tsconfig.twig @@ -0,0 +1,11 @@ +# +# TCEFORM +# +TCEFORM { + pages { + + } + tt_content { + + } +} diff --git a/resources/packages/fluid_styled_content/9.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig b/resources/packages/fluid_styled_content/9.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig new file mode 100644 index 0000000..9d4a5e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Configuration/TsConfig/Page/TCEMAIN.tsconfig.twig @@ -0,0 +1,6 @@ +# +# TCEMAIN +# +TCEMAIN { + +} diff --git a/resources/packages/fluid_styled_content/9.5/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig b/resources/packages/fluid_styled_content/9.5/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig new file mode 100644 index 0000000..993b020 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Configuration/TypoScript/Helper/DynamicContent.typoscript.twig @@ -0,0 +1,64 @@ +################################################ +#### DYNAMIC CONTENT LIB FOR USAGE IN FLUID #### +################################################ +# +# EXAMPLE +# --------------- +# |'}" /> +# +# +# COLUMN NUMBERS +# --------------- +# +# 0 = main +# 1 = left +# 2 = right +# 3 = border +# +################# +lib.dynamicContent = COA +lib.dynamicContent { + 5 = LOAD_REGISTER + 5 { + colPos.cObject = TEXT + colPos.cObject { + field = colPos + ifEmpty.cObject = TEXT + ifEmpty.cObject { + value.current = 1 + ifEmpty = 0 + } + } + pageUid.cObject = TEXT + pageUid.cObject { + field = pageUid + ifEmpty.data = TSFE:id + } + contentFromPid.cObject = TEXT + contentFromPid.cObject { + data = DB:pages:{register:pageUid}:content_from_pid + data.insertData = 1 + } + wrap.cObject = TEXT + wrap.cObject { + field = wrap + } + } + 20 = CONTENT + 20 { + table = tt_content + select { + includeRecordsWithoutDefaultTranslation = 1 + orderBy = sorting + where = {{ '{#colPos}={register:colPos}' }} + where.insertData = 1 + pidInList.data = register:pageUid + pidInList.override.data = register:contentFromPid + } + stdWrap { + dataWrap = {register:wrap} + required = 1 + } + } + 90 = RESTORE_REGISTER +} diff --git a/resources/packages/fluid_styled_content/9.5/src/Configuration/TypoScript/constants.typoscript.twig b/resources/packages/fluid_styled_content/9.5/src/Configuration/TypoScript/constants.typoscript.twig new file mode 100644 index 0000000..1a79054 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Configuration/TypoScript/constants.typoscript.twig @@ -0,0 +1,56 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +############################## +#### FLUID STYLED CONTENT #### +############################## +styles { + templates { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/ContentElements/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/ContentElements/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/ContentElements/ + } +} + + +############ +### PAGE ### +############ +page { + fluidtemplate { + layoutRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + partialRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + templateRootPath = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + } + meta { + description = + author = + keywords = + viewport = width=device-width, initial-scale=1 + robots = index,follow + apple-mobile-web-app-capable = no + compatible = IE=edge + } + tracking { + google { + trackingID = + anonymizeIp = 1 + } + } +} + + +############## +### CONFIG ### +############## +config { + no_cache = 0 + removeDefaultJS = 0 + admPanel = 1 + prefixLocalAnchors = all + headerComment = build by sitepackagebuilder.com + sendCacheHeaders = 1 +} diff --git a/resources/packages/fluid_styled_content/9.5/src/Configuration/TypoScript/setup.typoscript.twig b/resources/packages/fluid_styled_content/9.5/src/Configuration/TypoScript/setup.typoscript.twig new file mode 100644 index 0000000..1f76557 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Configuration/TypoScript/setup.typoscript.twig @@ -0,0 +1,203 @@ +###################### +#### DEPENDENCIES #### +###################### + + + +################ +#### HELPER #### +################ + + + +############## +#### PAGE #### +############## +page = PAGE +page { + typeNum = 0 + shortcutIcon = EXT:{{ package.extensionKey }}/Resources/Public/Icons/favicon.ico + + 10 = FLUIDTEMPLATE + 10 { + # Template names will be generated automatically by converting the applied + # backend_layout, there is no explicit mapping necessary anymore. + # + # BackendLayout Key + # subnavigation_right_2_columns -> SubnavigationRight2Columns.html + # + # Backend Record + # uid: 1 -> 1.html + # + # Database Entry + # value: -1 -> None.html + # value: pagets__subnavigation_right_2_columns -> SubnavigationRight2Columns.html + templateName = TEXT + templateName { + cObject = TEXT + cObject { + data = pagelayout + required = 1 + case = uppercamelcase + split { + token = pagets__ + cObjNum = 1 + 1.current = 1 + } + } + ifEmpty = Default + } + templateRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Templates/Page/ + 1 = {$page.fluidtemplate.templateRootPath} + } + partialRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Partials/Page/ + 1 = {$page.fluidtemplate.partialRootPath} + } + layoutRootPaths { + 0 = EXT:{{ package.extensionKey }}/Resources/Private/Layouts/Page/ + 1 = {$page.fluidtemplate.layoutRootPath} + } + dataProcessing { + 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor + 10 { + references.fieldName = media + } + 20 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor + 20 { + levels = 2 + includeSpacer = 1 + as = mainnavigation + } + } + } + + meta { + viewport = {$page.meta.viewport} + robots = {$page.meta.robots} + apple-mobile-web-app-capable = {$page.meta.apple-mobile-web-app-capable} + description = {$page.meta.description} + description { + override.field = description + } + author = {$page.meta.author} + author { + override.field = author + } + keywords = {$page.meta.keywords} + keywords { + override.field = keywords + } + X-UA-Compatible = {$page.meta.compatible} + X-UA-Compatible { + attribute = http-equiv + } + + # OpenGraph Tags + og:title { + attribute = property + field = title + } + og:site_name { + attribute = property + data = TSFE:tmpl|setup|sitetitle + } + og:description = {$page.meta.description} + og:description { + attribute = property + field = description + } + og:image { + attribute = property + stdWrap.cObject = FILES + stdWrap.cObject { + references { + data = levelfield:-1, media, slide + } + maxItems = 1 + renderObj = COA + renderObj { + 10 = IMG_RESOURCE + 10 { + file { + import.data = file:current:uid + treatIdAsReference = 1 + width = 1280c + height = 720c + } + stdWrap { + typolink { + parameter.data = TSFE:lastImgResourceInfo|3 + returnLast = url + forceAbsoluteUrl = 1 + } + } + } + } + } + } + } + + includeCSSLibs { + + } + + includeCSS { + {{ package.extensionKey }}_layout = EXT:{{ package.extensionKey }}/Resources/Public/Css/layout.min.css + } + + includeJSLibs { + + } + + includeJS { + + } + + includeJSFooterlibs { + + } + + includeJSFooter { + {{ package.extensionKey }}_scripts = EXT:{{ package.extensionKey }}/Resources/Public/JavaScript/Dist/scripts.js + } +} + + +################ +#### CONFIG #### +################ +config { + absRefPrefix = auto + no_cache = {$config.no_cache} + uniqueLinkVars = 1 + pageTitleFirst = 1 + linkVars = L + prefixLocalAnchors = {$config.prefixLocalAnchors} + renderCharset = utf-8 + metaCharset = utf-8 + doctype = html5 + removeDefaultJS = {$config.removeDefaultJS} + inlineStyle2TempFile = 1 + admPanel = {$config.admPanel} + debug = 0 + cache_period = 86400 + sendCacheHeaders = {$config.sendCacheHeaders} + intTarget = + extTarget = + disablePrefixComment = 1 + index_enable = 1 + index_externals = 1 + index_metatags = 1 + headerComment = {$config.headerComment} + + // Disable Image Upscaling + noScaleUp = 1 + + // Compression and Concatenation of CSS and JS Files + compressJs = 0 + compressCss = 0 + concatenateJs = 0 + concatenateCss = 0 +} diff --git a/resources/packages/fluid_styled_content/9.5/src/README.md.twig b/resources/packages/fluid_styled_content/9.5/src/README.md.twig new file mode 100644 index 0000000..8b095c7 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/README.md.twig @@ -0,0 +1,4 @@ +Sitepackage for the project "{{ package.title }}" +============================================================== + +Add some explanation here. diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Private/.htaccess b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Language/locallang.xlf.twig b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Language/locallang.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Language/locallang.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Language/locallang_be.xlf.twig b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Language/locallang_be.xlf.twig new file mode 100644 index 0000000..fb3e2d8 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Language/locallang_be.xlf.twig @@ -0,0 +1,17 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + + Default + + + Normal + + +
+
diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Language/locallang_db.xlf.twig b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Language/locallang_db.xlf.twig new file mode 100644 index 0000000..5aea277 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Language/locallang_db.xlf.twig @@ -0,0 +1,11 @@ + + + +
+ {{ package.author.name }} + {{ package.author.email }} +
+ + +
+
diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Layouts/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Layouts/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Layouts/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Layouts/Page/Default.html.twig b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Layouts/Page/Default.html.twig new file mode 100644 index 0000000..ad57953 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Layouts/Page/Default.html.twig @@ -0,0 +1,21 @@ + + diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Partials/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Partials/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Partials/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Partials/Page/.gitkeep b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Partials/Page/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Partials/Page/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Templates/ContentElements/.gitkeep b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Templates/ContentElements/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Templates/ContentElements/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Templates/Page/Default.html.twig b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Templates/Page/Default.html.twig new file mode 100644 index 0000000..312fc91 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Private/Templates/Page/Default.html.twig @@ -0,0 +1,19 @@ + + + +
+
+
Template file
+
+ typo3conf/ext/{{ package.extensionKey }}/Resources/Private/Templates/Page/Default.html +
+
Backend Configuration
+
+ typo3conf/ext/{{ package.extensionKey }}/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig +
+
+
+ + + +
diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Css/layout.css b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Css/layout.css new file mode 100644 index 0000000..e69de29 diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Css/layout.min.css b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Css/layout.min.css new file mode 100644 index 0000000..e69de29 diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Css/rte.css.twig b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Css/rte.css.twig new file mode 100644 index 0000000..1ce5278 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Css/rte.css.twig @@ -0,0 +1,3 @@ +/** + * Created from sitepackagebuilder.com + */ diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Fonts/.gitkeep b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Fonts/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Icons/Extension.svg b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Icons/Extension.svg new file mode 100644 index 0000000..d853637 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Icons/favicon.ico b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000..46d4c14 Binary files /dev/null and b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Icons/favicon.ico differ diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Images/BackendLayouts/default.png b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Images/BackendLayouts/default.png new file mode 100644 index 0000000..0bed870 Binary files /dev/null and b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Images/BackendLayouts/default.png differ diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig new file mode 100644 index 0000000..af83240 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/JavaScript/Dist/scripts.js.twig @@ -0,0 +1,6 @@ +/*! + * {{ package.title }} v1.0.0 ({{ package.author.homepage }}) + * Copyright 2017-{{ 'now'|date('Y') }} {{ package.author.name }} + * Licensed under the GPL-2.0-or-later license + */ +console.log("WE LOVE TYPO3"); diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Public/JavaScript/Src/main.js.twig b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/JavaScript/Src/main.js.twig new file mode 100644 index 0000000..a5e4902 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/JavaScript/Src/main.js.twig @@ -0,0 +1 @@ +console.log('WE LOVE TYPO3'); diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Scss/layout.scss.twig b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Scss/layout.scss.twig new file mode 100644 index 0000000..e1e1d9a --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Scss/layout.scss.twig @@ -0,0 +1,5 @@ +// Variables +@import 'variables'; + +// Modules +// import your modules here diff --git a/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Scss/variables.scss.twig b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Scss/variables.scss.twig new file mode 100644 index 0000000..e0e9083 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/Resources/Public/Scss/variables.scss.twig @@ -0,0 +1 @@ +// Variables diff --git a/resources/packages/fluid_styled_content/9.5/src/composer.json.twig b/resources/packages/fluid_styled_content/9.5/src/composer.json.twig new file mode 100644 index 0000000..c8c07a7 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/composer.json.twig @@ -0,0 +1,23 @@ +{ + "name": "{{ package.vendorNameAlternative }}/{{ package.packageNameAlternative }}", + "type": "typo3-cms-extension", + "description": "{{ package.description}}", + "homepage": "{{ package.author.homepage }}", + "license": ["GPL-2.0-or-later"], + "keywords": ["TYPO3 CMS"], + "require": { + "typo3/cms-core": "^9.5", + "typo3/cms-rte-ckeditor": "^9.5", + "typo3/cms-fluid-styled-content": "^9.5" + }, + "autoload": { + "psr-4": { + "{{ package.vendorName }}\\{{ package.packageName }}\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "{{ package.extensionKey }}" + } + } +} diff --git a/resources/packages/fluid_styled_content/9.5/src/ext_conf_template.txt.twig b/resources/packages/fluid_styled_content/9.5/src/ext_conf_template.txt.twig new file mode 100644 index 0000000..e87dc9c --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/ext_conf_template.txt.twig @@ -0,0 +1,3 @@ +# +# Extension Configuration template +# diff --git a/resources/packages/fluid_styled_content/9.5/src/ext_emconf.php.twig b/resources/packages/fluid_styled_content/9.5/src/ext_emconf.php.twig new file mode 100644 index 0000000..1d7d24f --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/ext_emconf.php.twig @@ -0,0 +1,32 @@ + '{{ package.title }}', + 'description' => '{{ package.description }}', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'typo3' => '9.5.0-9.5.99', + 'fluid_styled_content' => '9.5.0-9.5.99', + 'rte_ckeditor' => '9.5.0-9.5.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => '{{ package.author.name }}', + 'author_email' => '{{ package.author.email }}', + 'author_company' => '{{ package.author.company }}', + 'version' => '1.0.0', +]; diff --git a/resources/packages/fluid_styled_content/9.5/src/ext_localconf.php.twig b/resources/packages/fluid_styled_content/9.5/src/ext_localconf.php.twig new file mode 100644 index 0000000..b455f51 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/ext_localconf.php.twig @@ -0,0 +1,13 @@ +'); diff --git a/resources/packages/fluid_styled_content/9.5/src/ext_tables.php.twig b/resources/packages/fluid_styled_content/9.5/src/ext_tables.php.twig new file mode 100644 index 0000000..a7758e2 --- /dev/null +++ b/resources/packages/fluid_styled_content/9.5/src/ext_tables.php.twig @@ -0,0 +1,3 @@ +deleteFileAfterSend(true); } - /** - * @param $object - */ - protected function validateObject($object): void + protected function validateObject(mixed $object): void { $validator = Validation::createValidatorBuilder() ->enableAttributeMapping() diff --git a/src/Entity/Package.php b/src/Entity/Package.php index 8f2a83f..4087587 100644 --- a/src/Entity/Package.php +++ b/src/Entity/Package.php @@ -19,18 +19,18 @@ */ class Package implements \JsonSerializable { - #[Assert\NotBlank] - #[Assert\Choice([12004000, 11005000, 10004000, 9005000, 8007000])] - #[Serializer\Type('int')] - #[OA\Property(type: 'int', example: '12004000')] - private int $typo3Version = 12004000; - #[Assert\NotBlank] #[Assert\Choice(['bootstrap_package', 'fluid_styled_content'])] #[Serializer\Type('string')] #[OA\Property(type: 'string', example: 'bootstrap_package')] private string $basePackage = 'bootstrap_package'; + #[Assert\NotBlank] + #[Assert\Choice([8.7, 9.5, 10.4, 11.5, 12.4])] + #[Serializer\Type('float')] + #[OA\Property(type: 'float', example: 12.4)] + private float $typo3Version = 12.4; + private string $vendorName; private string $vendorNameAlternative; @@ -56,228 +56,136 @@ class Package implements \JsonSerializable #[OA\Property(type: 'string', example: 'https://github.com/benjaminkott/packagebuilder')] private string $repositoryUrl = ''; - /** - * - * @var Author - */ #[Assert\Valid] #[Serializer\Type(Author::class)] - private $author; + private Author $author; - /** - * @return int - */ - public function getTypo3Version() + public function getTypo3Version(): float { return $this->typo3Version; } - /** - * @param int $typo3Version - * - * @return Package - */ - public function setTypo3Version($typo3Version) + public function setTypo3Version(float $typo3Version): self { $this->typo3Version = $typo3Version; return $this; } - /** - * @return string - */ - public function getBasePackage() + public function getBasePackage(): string { return $this->basePackage; } - /** - * @param string $basePackage - * - * @return Package - */ - public function setBasePackage($basePackage) + public function setBasePackage(string $basePackage): self { $this->basePackage = $basePackage; return $this; } - /** - * @return string - */ - public function getVendorName() + public function getVendorName(): string { return $this->vendorName; } - /** - * @param string $vendorName - * - * @return Package - */ - public function setVendorName($vendorName) + public function setVendorName(string $vendorName): self { $this->vendorName = $vendorName; return $this; } - /** - * @return string - */ - public function getVendorNameAlternative() + public function getVendorNameAlternative(): string { return $this->vendorNameAlternative; } - /** - * @param string $vendorNameAlternative - * - * @return Package - */ - public function setVendorNameAlternative($vendorNameAlternative) + public function setVendorNameAlternative(string $vendorNameAlternative): self { $this->vendorNameAlternative = $vendorNameAlternative; return $this; } - /** - * @return string - */ - public function getTitle() + public function getTitle(): string { return $this->title; } - /** - * @param string $title - * - * @return Package - */ - public function setTitle($title) + public function setTitle(string $title): self { $this->title = $title; return $this; } - /** - * @return string - */ - public function getDescription() + public function getDescription(): string { return $this->description; } - /** - * @param string $description - * - * @return Package - */ - public function setDescription($description) + public function setDescription(string $description): self { $this->description = $description; return $this; } - /** - * @return string - */ - public function getPackageName() + public function getPackageName(): string { return $this->packageName; } - /** - * @param string $packageName - * - * @return Package - */ - public function setPackageName($packageName) + public function setPackageName(string $packageName): self { $this->packageName = $packageName; return $this; } - /** - * @return string - */ - public function getPackageNameAlternative() + public function getPackageNameAlternative(): string { return $this->packageNameAlternative; } - /** - * @param string $packageNameAlternative - * - * @return Package - */ - public function setPackageNameAlternative($packageNameAlternative) + public function setPackageNameAlternative(string $packageNameAlternative): self { $this->packageNameAlternative = $packageNameAlternative; return $this; } - /** - * @return string - */ - public function getExtensionKey() + public function getExtensionKey(): string { return $this->extensionKey; } - /** - * @param string $extensionKey - * - * @return Package - */ - public function setExtensionKey($extensionKey) + public function setExtensionKey(string $extensionKey): self { $this->extensionKey = $extensionKey; return $this; } - /** - * @return string - */ - public function getRepositoryUrl() + public function getRepositoryUrl(): string { return $this->repositoryUrl; } - /** - * @param string $repositoryUrl - * - * @return Package - */ - public function setRepositoryUrl($repositoryUrl) + public function setRepositoryUrl(string $repositoryUrl): self { $this->repositoryUrl = $repositoryUrl; return $this; } - /** - * @return Author - */ - public function getAuthor() + public function getAuthor(): Author { return $this->author; } - /** - * @param Author $author - * - * @return Package - */ - public function setAuthor($author) + public function setAuthor(Author $author): self { $this->author = $author; diff --git a/src/Entity/Package/Author.php b/src/Entity/Package/Author.php index 35094c7..ae4fcbb 100644 --- a/src/Entity/Package/Author.php +++ b/src/Entity/Package/Author.php @@ -18,117 +18,73 @@ */ class Author implements \JsonSerializable { - /** - * @var string - */ #[Assert\NotBlank(message: "Please enter the authors' name.")] #[Assert\Length(min: 3)] #[Serializer\Type('string')] #[OA\Property(type: 'string', example: 'Benjamin Kott')] - private $name; + private string $name; - /** - * @var string - */ #[Assert\NotBlank(message: "Please enter the authors' email address.")] #[Assert\Email(message: "The email '{{ value }}' is not a valid email.")] #[Serializer\Type('string')] #[OA\Property(type: 'string', example: 'contact@sitepackagebuilder.com')] - private $email; + private string $email; - /** - * @var string - */ #[Assert\NotBlank(message: "Please enter the authors' company.")] #[Assert\Length(min: 3)] #[Assert\Regex(pattern: '/^[A-Za-z0-9\x7f-\xff .:&-]+$/', message: 'Only letters, numbers and spaces are allowed')] #[Serializer\Type('string')] #[OA\Property(type: 'string', example: 'BK2K')] - private $company; + private string $company; - /** - * @var string - */ #[Assert\NotBlank(message: "Please enter the authors' homepage URL.")] #[Assert\Url] #[Serializer\Type('string')] #[OA\Property(type: 'string', example: 'https://www.sitepackagebuilder.com')] - private $homepage; + private string $homepage; - /** - * @return string - */ - public function getName() + public function getName(): string { return $this->name; } - /** - * @param string $name - * - * @return Author - */ - public function setName($name) + public function setName(string $name): self { $this->name = $name; return $this; } - /** - * @return string - */ - public function getEmail() + public function getEmail(): string { return $this->email; } - /** - * @param string $email - * - * @return Author - */ - public function setEmail($email) + public function setEmail(string $email): self { $this->email = $email; return $this; } - /** - * @return string - */ - public function getCompany() + public function getCompany(): string { return $this->company; } - /** - * @param string $company - * - * @return Author - */ - public function setCompany($company) + public function setCompany(string $company): self { $this->company = $company; return $this; } - /** - * @return string - */ - public function getHomepage() + public function getHomepage(): string { return $this->homepage; } - /** - * @param string $homepage - * - * @return Author - */ - public function setHomepage($homepage) + public function setHomepage(string $homepage): self { $this->homepage = $homepage; diff --git a/src/Form/Extension/AbstractIconExtension.php b/src/Form/Extension/AbstractIconExtension.php index bd85868..4e61906 100644 --- a/src/Form/Extension/AbstractIconExtension.php +++ b/src/Form/Extension/AbstractIconExtension.php @@ -15,22 +15,19 @@ use Symfony\Component\Form\FormView; use Symfony\Component\OptionsResolver\OptionsResolver; -/** - * AbstractIconExtension. - */ abstract class AbstractIconExtension extends AbstractTypeExtension { - public function buildForm(FormBuilderInterface $builder, array $options) + public function buildForm(FormBuilderInterface $builder, array $options): void { $builder->setAttribute('icon', $options['icon']); } - public function buildView(FormView $view, FormInterface $form, array $options) + public function buildView(FormView $view, FormInterface $form, array $options): void { $view->vars['icon'] = $options['icon']; } - public function configureOptions(OptionsResolver $resolver) + public function configureOptions(OptionsResolver $resolver): void { $resolver->setDefaults(['icon' => null]); $resolver->setDefined(['icon']); diff --git a/src/Form/Extension/ButtonTypeIconExtension.php b/src/Form/Extension/ButtonTypeIconExtension.php index a052a54..09c0445 100644 --- a/src/Form/Extension/ButtonTypeIconExtension.php +++ b/src/Form/Extension/ButtonTypeIconExtension.php @@ -11,9 +11,6 @@ use Symfony\Component\Form\Extension\Core\Type\ButtonType; -/** - * ButtonTypeIconExtension. - */ class ButtonTypeIconExtension extends AbstractIconExtension { public static function getExtendedTypes(): iterable diff --git a/src/Form/PackageType.php b/src/Form/PackageType.php index 21d84a0..433c547 100644 --- a/src/Form/PackageType.php +++ b/src/Form/PackageType.php @@ -17,26 +17,12 @@ use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; -/** - * PackageType. - */ class PackageType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $builder ->setAction($options['action']) - ->add('typo3Version', ChoiceType::class, [ - 'label' => 'TYPO3 Version', - 'choices' => [ - '12.4' => 12004000, - '11.5' => 11005000, - '10.4' => 10004000, - '9.5' => 9005000, - '8.7' => 8007000, - ], - 'expanded' => true, - ]) ->add('basePackage', ChoiceType::class, [ 'label' => 'Base Package', 'choices' => [ @@ -45,6 +31,17 @@ public function buildForm(FormBuilderInterface $builder, array $options) ], 'expanded' => true, ]) + ->add('typo3Version', ChoiceType::class, [ + 'label' => 'TYPO3 Version', + 'choices' => [ + '12.4' => 12.4, + '11.5' => 11.5, + '10.4' => 10.4, + '9.5' => 9.5, + '8.7' => 8.7, + ], + 'expanded' => true, + ]) ->add('title', TextType::class, [ 'attr' => [ 'autocomplete' => 'off', diff --git a/src/Menu/MenuBuilder.php b/src/Menu/MenuBuilder.php index e497d4d..59e2902 100644 --- a/src/Menu/MenuBuilder.php +++ b/src/Menu/MenuBuilder.php @@ -10,17 +10,15 @@ namespace App\Menu; use Knp\Menu\FactoryInterface; +use Knp\Menu\ItemInterface; -/** - * MenuBuilder. - */ class MenuBuilder { public function __construct(private readonly FactoryInterface $factory) { } - public function main(array $options) + public function main(array $options): ItemInterface { $menu = $this->factory->createItem('root'); $menu->addChild('Home', ['route' => 'default_index']); diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/Resources/Public/Scss/Theme/theme.scss.twig b/src/Resources/skeletons/BaseExtension/bootstrap_package/Resources/Public/Scss/Theme/theme.scss.twig deleted file mode 100644 index 2cd3519..0000000 --- a/src/Resources/skeletons/BaseExtension/bootstrap_package/Resources/Public/Scss/Theme/theme.scss.twig +++ /dev/null @@ -1,9 +0,0 @@ -// -// Variables -// -@import "variables"; - -// -// Import needed Bootstrap Package Files -// -{% if package.typo3version < 10004000 %}@import "../../../../../bootstrap_package/Resources/Public/Scss/Theme/theme";{% else %}@import "EXT:bootstrap_package/Resources/Public/Scss/bootstrap5/theme";{% endif %} diff --git a/src/Resources/skeletons/BaseExtension/bootstrap_package/ext_tables.php.twig b/src/Resources/skeletons/BaseExtension/bootstrap_package/ext_tables.php.twig deleted file mode 100644 index 8eb918c..0000000 --- a/src/Resources/skeletons/BaseExtension/bootstrap_package/ext_tables.php.twig +++ /dev/null @@ -1,2 +0,0 @@ - '{{ package.title }}', - 'description' => '{{ package.description }}', - 'category' => 'templates', - 'constraints' => [ - 'depends' => [ - 'typo3' => '{% if package.typo3version < 9000000 %}8.7.0-8.7.99{% elseif package.typo3version < 10000000 %}9.5.0-9.5.99{% elseif package.typo3version < 11000000 %}10.4.0-10.4.99{% elseif package.typo3version < 12000000 %}11.5.0-11.5.99{% else %}12.4.0-12.4.99{% endif %}', - 'fluid_styled_content' => '{% if package.typo3version < 9000000 %}8.7.0-8.7.99{% elseif package.typo3version < 10000000 %}9.5.0-9.5.99{% elseif package.typo3version < 11000000 %}10.4.0-10.4.99{% elseif package.typo3version < 12000000 %}11.5.0-11.5.99{% else %}12.4.0-12.4.99{% endif %}', - 'rte_ckeditor' => '{% if package.typo3version < 9000000 %}8.7.0-8.7.99{% elseif package.typo3version < 10000000 %}9.5.0-9.5.99{% elseif package.typo3version < 11000000 %}10.4.0-10.4.99{% elseif package.typo3version < 12000000 %}11.5.0-11.5.99{% else %}12.4.0-12.4.99{% endif %}', - ], - 'conflicts' => [ - ], - ], - 'autoload' => [ - 'psr-4' => [ - '{{ package.vendorName }}\\{{ package.packageName }}\\' => 'Classes', - ], - ], - 'state' => 'stable', - 'uploadfolder' => 0, - 'createDirs' => '', - 'clearCacheOnLoad' => 1, - 'author' => '{{ package.author.name }}', - 'author_email' => '{{ package.author.email }}', - 'author_company' => '{{ package.author.company }}', - 'version' => '1.0.0', -]; diff --git a/src/Resources/skeletons/BaseExtension/fluid_styled_content/ext_tables.php.twig b/src/Resources/skeletons/BaseExtension/fluid_styled_content/ext_tables.php.twig deleted file mode 100644 index 8eb918c..0000000 --- a/src/Resources/skeletons/BaseExtension/fluid_styled_content/ext_tables.php.twig +++ /dev/null @@ -1,2 +0,0 @@ -kernel = $kernel; + } - public function create(Package $package) + public function create(Package $package): void { $extensionKey = $package->getExtensionKey(); $this->filename = $extensionKey . '.zip'; - $sourceDir = __DIR__ . '/../Resources/skeletons/BaseExtension/' . $package->getBasePackage() . '/'; + $sourceDir = $this->kernel->getProjectDir() . '/resources/packages/' . $package->getBasePackage() . '/' . (string) $package->getTypo3Version() . '/src/'; $this->zipPath = tempnam(sys_get_temp_dir(), $this->filename); $fileList = FileUtility::listDirectory($sourceDir); @@ -58,28 +55,17 @@ public function create(Package $package) } } - /** - * @return string - */ - public function getZipPath() + public function getZipPath(): string { return $this->zipPath; } - /** - * @return string - */ - public function getFilename() + public function getFilename(): string { return $this->filename; } - /** - * @param string $file - * - * @return string - */ - private function getFileContent($file, Package $package) + private function getFileContent(string $file, Package $package): string { $content = file_get_contents($file); $fileUniqueId = uniqid('file'); @@ -95,35 +81,19 @@ private function getFileContent($file, Package $package) return $rendered; } - /** - * @param string $file - * - * @return bool - */ - private function isTwigFile($file) + private function isTwigFile(string $file): bool { $pathinfo = pathinfo($file); return 'twig' === $pathinfo['extension']; } - /** - * @param string $file - * @param string $sourceDir - * - * @return mixed - */ - protected function createRelativeFilePath($file, $sourceDir) + protected function createRelativeFilePath(string $file, string $sourceDir): string { return substr($file, strlen($sourceDir)); } - /** - * @param string $baseFileName - * - * @return mixed - */ - protected function removeTwigExtension($baseFileName) + protected function removeTwigExtension(string $baseFileName): string { return substr($baseFileName, 0, -5); } diff --git a/src/Twig/Extension/BlockExtension.php b/src/Twig/Extension/BlockExtension.php index 25d7552..068daa8 100644 --- a/src/Twig/Extension/BlockExtension.php +++ b/src/Twig/Extension/BlockExtension.php @@ -46,8 +46,6 @@ public function frameFunction(Environment $environment, string $content, array $ $attributes['options'] ??= []; $attributes['backgroundImage'] ??= null; - $identifier = $attributes['id']; - $classes = []; $classes[] = 'frame'; $classes[] = 'frame-' . $attributes['frameClass']; diff --git a/src/Twig/Extension/ContentGetExtension.php b/src/Twig/Extension/ContentGetExtension.php index 40532d3..4a1c6df 100644 --- a/src/Twig/Extension/ContentGetExtension.php +++ b/src/Twig/Extension/ContentGetExtension.php @@ -14,14 +14,8 @@ use Twig\Extension\AbstractExtension; use Twig\TwigFunction; -/** - * ContentExtension. - **/ class ContentGetExtension extends AbstractExtension { - /** - * @return array - */ public function getFunctions() { return [ @@ -29,18 +23,12 @@ public function getFunctions() ]; } - /** - * @return string - */ - public function fileGetContents($file) + public function fileGetContents($file): string { return file_get_contents($file); } - /** - * @return string - */ - public function getName() + public function getName(): string { return 'contentget'; } diff --git a/src/Twig/Extension/VersionNumberExtension.php b/src/Twig/Extension/VersionNumberExtension.php deleted file mode 100644 index b485349..0000000 --- a/src/Twig/Extension/VersionNumberExtension.php +++ /dev/null @@ -1,54 +0,0 @@ -versionFilter(...) - ), - ]; - } - - /** - * @return int - */ - public function versionFilter($version, $positions = 3) - { - $versionInt = (int) $version; - $versionString = str_pad((string) $versionInt, 9, '0', STR_PAD_LEFT); - $parts = [ - substr($versionString, 0, 3), - substr($versionString, 3, 3), - substr($versionString, 6, 3), - ]; - - return match ($positions) { - 1 => (int) $parts[0], - 2 => (int) $parts[0] . '.' . (int) $parts[1], - default => (int) $parts[0] . '.' . (int) $parts[1] . '.' . (int) $parts[2], - }; - } -} diff --git a/src/Twig/Node/FrameNode.php b/src/Twig/Node/FrameNode.php index 2606ae0..17a7cc7 100644 --- a/src/Twig/Node/FrameNode.php +++ b/src/Twig/Node/FrameNode.php @@ -29,7 +29,7 @@ public function __construct(int $lineno, Node $body = null, Node $attributes = n parent::__construct($nodes, [], $lineno, $tag); } - public function compile(Compiler $compiler) + public function compile(Compiler $compiler): void { $compiler->addDebugInfo($this); diff --git a/src/Twig/TokenParser/FrameTokenParser.php b/src/Twig/TokenParser/FrameTokenParser.php index 2cc9c9d..ffcd589 100644 --- a/src/Twig/TokenParser/FrameTokenParser.php +++ b/src/Twig/TokenParser/FrameTokenParser.php @@ -17,7 +17,7 @@ final class FrameTokenParser extends AbstractTokenParser { - public function parse(Token $token) + public function parse(Token $token): FrameNode { $stream = $this->parser->getStream(); @@ -33,12 +33,12 @@ public function parse(Token $token) return new FrameNode($token->getLine(), $body, $attributes, $this->getTag()); } - public function decideFrameEnd(Token $token) + public function decideFrameEnd(Token $token): bool { return $token->test('endframe'); } - public function getTag() + public function getTag(): string { return 'frame'; } diff --git a/src/Utility/FileUtility.php b/src/Utility/FileUtility.php index 396d7af..c4dfa33 100644 --- a/src/Utility/FileUtility.php +++ b/src/Utility/FileUtility.php @@ -9,18 +9,9 @@ namespace App\Utility; -/** - * FileUtility. - */ class FileUtility { - /** - * @param string $dir - * @param bool $filesOnly - * - * @return array - */ - public static function listDirectory($dir, $filesOnly = false) + public static function listDirectory(string $dir, bool $filesOnly = false): array { $result = []; $root = scandir($dir); diff --git a/src/Utility/StringUtility.php b/src/Utility/StringUtility.php index c6d1219..41c0764 100644 --- a/src/Utility/StringUtility.php +++ b/src/Utility/StringUtility.php @@ -9,9 +9,6 @@ namespace App\Utility; -/** - * StringUtility. - */ class StringUtility { public static function clean(string $string): string diff --git a/templates/default/success.html.twig b/templates/default/success.html.twig index 9797aa5..8d468d0 100644 --- a/templates/default/success.html.twig +++ b/templates/default/success.html.twig @@ -18,7 +18,7 @@

Base Package

TYPO3 Version
-
{{ sitepackage.typo3Version|version(2) }}
+
{{ sitepackage.typo3Version }}
Extension Key
{{ sitepackage.basePackage }}