/silverstripe-mypswd-tweaks

Custom SilverStripe tweaks to keep things tidy.

Primary LanguagePHP

Purple Spider Web Design Custom SilverStripe Tweaks

Introduction

This module contains many of the custom tweaks that I make to every SilverStripe site I do.

While it is possible to disable specific tweaks by removing the individual extension, you probably don't want to use this module as is. Partly becase it automatically sets the SilverStripe Help link to my custom help site. However, please do take a look around and steal anything you may find useful!

Maintainer Contact

Requirements

  • Silverstripe 3.1+

Extensions

  • CMSHelpLink: Sets the CMS help link to my custom built SilverStripe Help site.
  • HideErrorPage: Hides error pages from the Add New page list.
  • HideUserDefinedForm: Hides UserDefinedForm from the Add New page list.
  • HideVirtualPage: Hides the VirtualPage type from the Add New page list.
  • ImageAlignmentDefaults: Reverts the default aligment of an inserted image back to "On the left, with text wrapping around".
  • ImageFunctions: Provides extra Image functions such as setMaxWidth & setMaxHeight.
  • MemberTidy: Hides ofen unused Member fields such as Time & Date format.
  • PageHideExtraMetaData: Hides MetaKeywords and ExtraMeta fields.
  • PageSettingsHidePermissions: Hides Page permission fields such as CanViewType and CanEditType
  • PageSettingsHideSearch: Hides the ShowInSearch settings field.
  • SinglePageOnly: Can to applied to a page type, so only 1 can be created. Useful for keeping the Add New page type list tidy.
  • CannotCreatePage: Apply this extension to page types that you don't want non-admin users to be able to create.
  • StaticPublisherUpdateHomepage: Updates the cache of the Homepage upon write (requires StaticPublisher module)
  • StaticPublisherUpdateAll: Updates full pages cache upon write (requires StaticPublisher module)
  • LeftAndMainPageIconsExtension: Fixes the bug that causes the site tree page icons to not load if the CMS is opened at a tab other than Pages (eg Dashboard). (Thanks @kinglozzer for the fix.)

Page Types

  • FirstChildRedirect: Automatically redirects to the first child of the page. Useful for top level pages with no content of their own.

Tasks

Config

  • Default Paste as Plain Text: Makes Past as Plain text in TinyMCE turned on by default. Useful to avoid all those stray tags caused by clients pasting from Word.
  • Disable TinyMCE Icons: Disables useless icons such as underline, and broken Spell Checker.
  • Simple HTMLEditor Config: For use with nathancox/customhtmleditorfield. Lets you assign a simplified set of icons to certain WYSIWYG fields.
  • Custom Better Buttons Config File: With "Save & Close" and "Save & Add" buttons for Create, and "Save & Close" and "Save & Next" for Edit.

CMS CSS

  • Hides Error Pages: Hides error pages from the site tree.
  • Differentiate Hidden Pages: Pages that have "Show in menus?" unchecked, are grey in the site tree.
  • Dashboard Color Tweak: Tweaks the background colour of widgets in Unclecheese's Dashboard module, to match rest of CMS color scheme better.