bhofstaetter/cms-tweaks

opinionated improvements to work with the Silverstripe cms

Installs: 17

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

Type:silverstripe-vendormodule

1.1.4 2023-01-06 19:24 UTC

This package is auto-updated.

Last update: 2024-05-06 22:37:05 UTC


README

Opinionated improvements to work with the Silverstripe cms

Installation

composer require bhofstaetter/cms-tweaks

optional but recommended

composer require bhofstaetter/framework-tweaks

Configuration

See `config.yml` and refer to the included models readme file

Contents

  • Fontawesome 6 icons for menu and SiteTree. To use FA Pro switch out `SilverStripe\Admin\LeftAndMain.custom_requirements_css.fontawesome`
  • `allowed_parents and updateAllowedParents(&$parents) similar to allowed_children`
  • `$CurrentLevel` current level in Sitetree
  • `$ShowTitle` show page title or not
  • `$ShowSubNavigation` show sub navigation or not
  • `$ShowBreadcrumbs` show sub breadcrumbs or not
  • Option to automatically update URLSegment field
  • Some german translations
  • Improvements for redirected urls
  • A HomePage
    • more features from included modules

Included Modules