Coder Social home page Coder Social logo

helpfulrobot / sajansharmanz-silverstripe-site-notice Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 54 KB

This module allows you to implement a site wide notice on your Silverstripe project

License: BSD 3-Clause "New" or "Revised" License

PHP 72.58% Scheme 27.42%

sajansharmanz-silverstripe-site-notice's Introduction

Silverstripe Site Notice

Description

This module allows you to implement a site wide notice on your Silverstripe project

Author

This module was created by Creative Gorillas (Sajan Sharma)

Installation

Manual Installation:

  • Download Zip File
  • Extract Zip File
  • Locate folder inside Zip File
  • Rename folder to "site-notice" - without quotations
  • Place this site-notice folder into your projects root directory
  • Run http://yoursiteurl/dev/build?flush=1

Composer Installtion:

===================================================================== composer require sajansharmanz/silverstripe-site-notice

Usage

Once successfully installed we are ready to implement the Site Notice to the website

NOTE: This module should be setup by Developers/Designers as you will initially need access to the Page.ss template to add some code. After this code is added it can be maintained by content editors from the admin interface simply

Add Site Notice to Page:

  • Login to the Silverstripe Admin Interface
  • Select "Settings" on the left menu
  • Select the Site Notice tab
  • Add the notice you wish to display
  • Click Save (IMPORTANT)

Adding Site Notice to Template:

  • Choose an area where you would like to display the Site Notice and add the following line to display it in that area
<% include SiteNotice %>

License

This module is available under the BSD 3-clause

Additional Information

Some pre-styling has been provided with the Site Notice to use out of the box, however, you wrap it in additional html tags and classes to provide it with your own also

Good Luck and Enjoy!

sajansharmanz-silverstripe-site-notice's People

Contributors

sajansharmanz avatar spekulatius avatar

Watchers

James Cloos avatar helpfulrobot avatar

Forkers

speksforks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.