diff --git a/.env.example b/.env.example index abd94e0..c7c8e55 100644 --- a/.env.example +++ b/.env.example @@ -30,6 +30,6 @@ SS_DATABASE_PASSWORD="" SS_DEFAULT_ADMIN_USERNAME="" SS_DEFAULT_ADMIN_PASSWORD="" -# Host Name (for CLI commands): +# Base URL (for CLI commands, e.g. "//localhost/"): -SS_HOST = "" +SS_BASE_URL="" diff --git a/.htaccess b/.htaccess index 227179d..c7e7297 100644 --- a/.htaccess +++ b/.htaccess @@ -28,7 +28,7 @@ ErrorDocument 500 /assets/error-500.html # Turn off index.php handling requests to the homepage fixes issue in apache >=2.4 DirectoryIndex disabled - DirectorySlash Off + DirectorySlash On SetEnv HTTP_MOD_REWRITE On diff --git a/app/_config/config.yml b/app/_config/config.yml index 82b2206..5171f6a 100644 --- a/app/_config/config.yml +++ b/app/_config/config.yml @@ -7,13 +7,6 @@ Name: app SilverStripe\Core\Manifest\ModuleManifest: project: app -# Configure App Themes: - -SilverStripe\View\SSViewer: - themes: - - silverware-theme - - '$default' - # Configure App Locale: SilverStripe\i18n\i18n: diff --git a/app/_config/theme.yml b/app/_config/theme.yml new file mode 100644 index 0000000..bb97b11 --- /dev/null +++ b/app/_config/theme.yml @@ -0,0 +1,10 @@ +--- +Name: app-theme +--- + +# Configure App Themes: + +SilverStripe\View\SSViewer: + themes: + - silverware-theme + - '$default' diff --git a/app/fixtures/templates.yml b/app/fixtures/templates.yml index e8409d6..7255d8b 100644 --- a/app/fixtures/templates.yml +++ b/app/fixtures/templates.yml @@ -4,7 +4,9 @@ SilverWare\Model\Template: Main: +SilverWare\Sections\HeaderSection.Header: StyleID: Header + EdgeToEdge: true +Row: + NoGutters: true +Column: +SilverWare\Navigation\Components\BarNavigation.NavBar: BrandText: 'SilverWare' diff --git a/assets/.htaccess b/assets/.htaccess index 1718b6b..780dc7e 100644 --- a/assets/.htaccess +++ b/assets/.htaccess @@ -5,7 +5,11 @@ # - SetEnv HTTP_MOD_REWRITE On + + SetEnv HTTP_MOD_REWRITE On + + + # Enable rewriting RewriteEngine On # Disable PHP handler diff --git a/composer.json b/composer.json index aa0c88d..818a89a 100644 --- a/composer.json +++ b/composer.json @@ -19,27 +19,27 @@ "require": { "php": ">=5.6.0", "gdmedia/ss-auto-git-ignore": "^1.0", - "silverstripe/admin": "1.1.x-dev", - "silverstripe/asset-admin": "1.1.x-dev", - "silverstripe/assets": "1.1.x-dev", - "silverstripe/campaign-admin": "1.1.x-dev", - "silverstripe/cms": "4.1.x-dev", - "silverstripe/config": "1.1.x-dev", - "silverstripe/errorpage": "1.1.x-dev", - "silverstripe/framework": "4.1.x-dev", - "silverstripe/graphql": "1.1.x-dev", - "silverstripe/reports": "4.1.x-dev", - "silverstripe/siteconfig": "4.1.x-dev", - "silverstripe/versioned": "1.1.x-dev", + "silverstripe/admin": "^1.0", + "silverstripe/asset-admin": "^1.0", + "silverstripe/assets": "^1.0", + "silverstripe/campaign-admin": "^1.0", + "silverstripe/cms": "^4.0", + "silverstripe/config": "^1.0", + "silverstripe/errorpage": "^1.0", + "silverstripe/framework": "^4.0", + "silverstripe/graphql": "^1.0", + "silverstripe/reports": "^4.0", + "silverstripe/siteconfig": "^4.0", + "silverstripe/versioned": "^1.0", "silverware/admin": "^1.2", "silverware/calendar": "^1.0", "silverware/colorpicker": "^1.0", "silverware/countries": "^1.0", "silverware/font-icons": "^1.1", "silverware/model-filters": "^1.0", - "silverware/navigation": "^1.4", + "silverware/navigation": "^1.5", "silverware/open-graph": "^1.0", - "silverware/silverware": "^1.3", + "silverware/silverware": "^1.5", "silverware/spam-guard": "^1.0", "silverware/theme": "^1.2", "silverware/validator": "^1.1"