Skip to content

Commit

Permalink
[!!!][FEATURE] Convert to sitepackage distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertsoft committed Aug 31, 2021
1 parent a8d733a commit f3aaf89
Show file tree
Hide file tree
Showing 9 changed files with 139 additions and 130 deletions.
20 changes: 20 additions & 0 deletions Configuration/TCA/Overrides/100_sys_template.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

/*
* This file is part of the package bk2k/bootstrap-package.
*
* For the full copyright and license information, please read the
* LICENSE file that was distributed with this source code.
*/

defined('TYPO3') || die();

/***************
* TypoScript: Sitepackage
* This includes the full setup including all configurations
*/
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'introduction',
'Configuration/TypoScript',
'Introduction: Sitepackage'
);
32 changes: 32 additions & 0 deletions Configuration/TypoScript/constants.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
######################
#### DEPENDENCIES ####
######################
@import 'EXT:bootstrap_package/Configuration/TypoScript/constants.typoscript'

############
### PAGE ###
############
[tree.level === 0]
page.theme.navigation.style = default-transition
[end]

page.theme.navigation.type = top
page.theme.meta.enable = 0
page.logo.file = EXT:introduction/Resources/Public/Images/introduction-package.svg
page.logo.fileInverted = EXT:introduction/Resources/Public/Images/introduction-package-inverted.svg
page.theme.socialmedia.channels.facebook.url = https://www.facebook.com/typo3/
page.theme.socialmedia.channels.twitter.url = https://twitter.com/typo3
page.theme.socialmedia.channels.github.url = https://github.com/TYPO3/typo3
page.theme.socialmedia.channels.youtube.url = https://www.youtube.com/user/typo3
page.theme.cookieconsent.position = bottom-right
page.preloader.backgroundColor = #03A9F4
page.preloader.logo.file = EXT:introduction/Resources/Public/Images/introduction-package-inverted.svg

##############
### PLUGIN ###
##############
plugin.bootstrap_package.settings.scss.primary = #0288D1
plugin.bootstrap_package.settings.scss.secondary = #FFEB3B
plugin.bootstrap_package.settings.scss.breadcrumb-bg = #FFEB3B
plugin.bootstrap_package.settings.scss.cookieconsent-bg = #F2F2F2
plugin.bootstrap_package.settings.scss.footer-sections = (content:(background: #0288D1, color: #ffffff, link-color: #FFEB3B), meta:(background: #ffffff, color: $body-color, link-color: #0288D1))
4 changes: 4 additions & 0 deletions Configuration/TypoScript/setup.typoscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
######################
#### DEPENDENCIES ####
######################
@import 'EXT:bootstrap_package/Configuration/TypoScript/ContentElement/setup.typoscript'
5 changes: 0 additions & 5 deletions Documentation/Installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ If you want to test the distribution in an existing instance, just select the ex
manager in the backend, go to "Get preconfigured distribution" and select the introduction
distribution.

Note the extension can be unloaded and removed from the system after initial import,
all business code is within the bootstrap_package extension that comes along with the
introduction extension, all required content data is loaded into the database and
required files are put into :file:`fileadmin/introduction` upon first installation.


Composer based instance
-----------------------
Expand Down
61 changes: 0 additions & 61 deletions Initialisation/Files/images/introduction-package-inverted.svg

This file was deleted.

63 changes: 0 additions & 63 deletions Initialisation/Files/images/introduction-package.svg

This file was deleted.

39 changes: 39 additions & 0 deletions Resources/Public/Images/introduction-package-inverted.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f3aaf89

Please sign in to comment.