Provides extra CWP functionality for self-managed agency style websites
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_config Add ColorPickerField Oct 12, 2018
client Add selected option state to FontPickerField Oct 30, 2018
docs Update FontPickerField and remove references to ColorPaletteField Oct 29, 2018
lang Adjust description of accent colour field Oct 29, 2018
src Add selected state to popover options Oct 30, 2018
templates/CWP/AgencyExtensions/Forms NEW add react drive font selection field with preview Oct 28, 2018
tests/Extensions Update FontPickerField and remove references to ColorPaletteField Oct 29, 2018
thirdparty/TinyMCE-FontAwesome-Plugin Remove dead code & tidy up missed bits identified in peer review Jan 22, 2018
.editorconfig Update changelog for 0.1.0 Feb 16, 2017
.eslintrc.js Add build-tools for compiling js/css Oct 11, 2018
.gitattributes Update towards SilverStripe 4 compatibility Jan 9, 2018
.gitignore Add build-tools for compiling js/css Oct 11, 2018
.scrutinizer.yml Update towards SilverStripe 4 compatibility Jan 9, 2018
.travis.yml adjust travis config & tidy code via phpcs Jan 24, 2018
.upgrade.yml Remove deprecated code, update altered API usage Jan 15, 2018
LICENSE.md Update LICENSE.md Sep 26, 2018
_config.php Remove dead code & tidy up missed bits identified in peer review Jan 22, 2018
code-of-conduct.md Update towards SilverStripe 4 compatibility Jan 9, 2018
codecov.yml Update towards SilverStripe 4 compatibility Jan 9, 2018
composer.json Update FontPickerField and remove references to ColorPaletteField Oct 29, 2018
package.json Adding button and styling the options in the color picker popover Oct 26, 2018
phpcs.xml.dist Update towards SilverStripe 4 compatibility Jan 9, 2018
phpunit.xml.dist Update towards SilverStripe 4 compatibility Jan 9, 2018
readme.md Add supported module badge to readme Jun 15, 2018
webpack.config.js Add build-tools for compiling js/css Oct 11, 2018
yarn.lock NEW add react drive font selection field with preview Oct 28, 2018

readme.md

CWP Agency Extensions Module

Build Status Scrutinizer Code Quality codecov SilverStripe supported module

This module provides some added configuration and underlying functionality that may be useful to allow clients/agencies to adjust website functionality theirselves, or to provide additional functionality that may not always be required for a CWP project. It provides the content management side of the functionality provided by the Watea theme (specifically the Carousel).

Summary of contents

This module provides the following (may not be a definitive list):

  • Carousel/hero image for the home page
  • Customise search results labels from SiteConfig
  • Upload custom header and footer logos from SiteConfig
  • Upload custom favicon and Apple touch logos from SiteConfig
  • FontAwesome icon popup dialog to the TinyMCE content editor (Wātea theme only, by default)

Installation

This module will automatically be installed along with either the "default" or Wātea CWP themes.

If you want to install this module on its own you can do so with Composer:

composer require cwp/agency-extensions

Requirements

  • cwp/cwp 2.0 or above

Note For use with CWP versions less than 2, please see the 1.x release line.

Documentation

Features

Versioning

This library follows Semver. According to Semver, you will be able to upgrade to any minor or patch version of this library without any breaking changes to the public API. Semver also requires that we clearly define the public API for this library.

All methods, with public visibility, are part of the public API. All other methods are not part of the public API. Where possible, we'll try to keep protected methods backwards-compatible in minor/patch versions, but if you're overriding methods then please test your work before upgrading.

Notes

This library includes a version of the TinyMCE-FontAwesome-Plugin by Josh18 which is open and permissive via the expat/MIT Licence.