Skip to content

helpfulrobot/purplespider-mypswd-tweaks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)
  • BlockPageDelete: Disables ability to delete a page that extends this. Applied to HomePage by default.

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.
  • UploadField Alignment Tweak: Aligns UploadFields to the right of their label, instead of below it, to match nearly all other field types!
  • Hide Disabled Pages from Add New: Pages that can't be created are now hidden from the Add page list, rather than being greyed out.

Modules

  • SilverStripe Optimised Image: Automatically runs any image resampled by SilverStripe through jpegoptim, optipng etc. (Thanks to @HeyDay !)

About

Custom SilverStripe tweaks to keep things tidy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 96.7%
  • CSS 3.3%