dynamic / silverstripe-base-site
Base page types for SilverStripe websites
Package info
github.com/dynamic/silverstripe-base-site
Type:silverstripe-vendormodule
pkg:composer/dynamic/silverstripe-base-site
Fund package maintenance!
Requires
- php: ^8.3
- axllent/silverstripe-email-obfuscator: ^2
- axllent/silverstripe-scaled-uploads: ^2.1
- dnadesign/silverstripe-elemental: ^6
- dynamic/silverstripe-site-tools: ^6
- jonom/silverstripe-betternavigator: ^7
- jonom/silverstripe-text-target-length: ^2
- silverstripe/linkfield: ^5.0
- silverstripe/recipe-cms: ^6
- silverstripe/sharedraftcontent: ^4
- tractorcow/silverstripe-robots: ^5
- wilr/silverstripe-googlesitemaps: ^4
Requires (Dev)
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- 8.x-dev
- dev-master / 8.0.x-dev
- 8.0.4
- 8.0.3
- 8.0.2
- 8.0.1
- 8.0.0
- 7.x-dev
- 7.1.2
- 7.1.1
- 7.1.0
- 7.0.1
- 7.0.0
- 6.x-dev
- 6.0.1
- 6.0.0
- 5.x-dev
- 5.0.0
- 4.1.x-dev
- 4.1.0
- 4.0.x-dev
- 4.0.12
- 4.0.11
- 4.0.10
- 4.0.9
- 4.0.8
- 4.0.7
- 4.0.6
- 4.0.5
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.1.x-dev
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.x-dev
- 3.0.1
- 3.0.0
- 2.0.x-dev
- 2.0.0
- 2.0.0-beta4
- 2.0.0-beta3
- 2.0.0-beta2
- 2.0.0-beta1
- 1.0.x-dev
- 1.0.0-beta1
- 1.0.0-alpha2
- 1.0.0-alpha1
- dev-claude/base-site-194-logo-asset-visibility-docs
- dev-claude/publish-navigation-links-live
- dev-claude/docs-sociallinks-methods-list
- dev-claude/phpstan-ci-config
- dev-fix/template-data-extension-test-isolation
- dev-fix/recipe-context-logo-field-assertion
- dev-add-github-funding
- dev-2024_02_19_cacheKeyConfiguration
This package is auto-updated.
Last update: 2026-09-29 06:32:19 UTC
README
Base page types and extensions for SilverStripe websites
Requirements
- PHP: ^8.3
- axllent/silverstripe-email-obfuscator: ^2
- axllent/silverstripe-scaled-uploads: ^2.1
- dnadesign/silverstripe-elemental: ^6
- dynamic/silverstripe-site-tools: ^6
- jonom/silverstripe-betternavigator: ^7
- jonom/silverstripe-text-target-length: ^2
- silverstripe/linkfield: ^5.0
- silverstripe/recipe-cms: ^6
- silverstripe/sharedraftcontent: ^4
- tractorcow/silverstripe-robots: ^5
- wilr/silverstripe-googlesitemaps: ^4
Installation
composer require dynamic/silverstripe-base-site
Features
- Multiple Page Types: HomePage, BlockPage, CampaignLandingPage, SearchPage
- Header Image Support: Add hero images to pages
- Elemental Integration: Full page builder support with drag-and-drop elements
- Shared Drafts: Collaborate with shared draft content management
- SEO Tools: Google Sitemaps, robots.txt configuration, and configurable meta title/description length targets
- Site Branding & Navigation:
SiteConfig-level logo (with retina variant) or title/slogan toggle, footer navigation columns and link groups, social links, and utility links - CMS Field Organization: Reorders CMS fields for a more logical editing experience
- Better Navigation: Enhanced CMS navigation via jonom/betternavigator
- Email Obfuscation: Protected email links from spam bots
- Image Optimization: Automatic scaled uploads for performance
Configuration
Dynamic\Base\Model\SocialLink.social_channels/.social_icons/.default_icon— the supported social platforms and their Bootstrap Icons mapping (see_config/social-channels.yml)Axllent\ScaledUploads\ScaledUploads.max_width/.max_height— maximum dimensions for uploaded images (see_config/scaled-uploads.yml)
Documentation
Upgrading
SearchContent is gone from SeoExtension
SeoExtension no longer declares a SearchContent field or a SearchFields fulltext
index over it, and no longer hooks onBeforeWrite(). Sites whose custom code queried
SearchContent directly (templates printing $SearchContent, ORM filters on that field,
or custom MATCH queries) will stop seeing that data after this change.
dev/build neither drops columns nor removes indexes that a class stops declaring, so
existing installs keep the stale, frozen data behind - including the storage cost of a large
HTMLText column on every row of SiteTree_Versions. To drop it by hand after deploying:
ALTER TABLE SiteTree DROP COLUMN SearchContent; ALTER TABLE SiteTree_Live DROP COLUMN SearchContent; ALTER TABLE SiteTree_Versions DROP COLUMN SearchContent;
Dropping the column also removes it from any index that contains it. Sites without
FulltextSearchable lose the old SearchFields index entirely. Sites with it keep core's
SearchFields index on Title, MenuTitle, Content, MetaDescription, which dev/build
already manages. Don't drop that index by hand.
Skip any statement for a table that has no such column - for example a site that
never ran an older version of this module. On a large site, altering SiteTree_Versions
can rebuild the whole table, so take a backup and run it in a maintenance window.
This removal breaks public API for anyone still using it: templates printing
$SearchContent, ORM filters on that field, and calls to seoContentFields() all stop
working.
Maintainers
Bugtracker
Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.
If the issue does look like a new bug:
- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.
Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.
Development and contribution
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.
License
See License