mouseketeers/silverstripe-banner

SilverStripe module for adding banner images to pages

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 3

Type:silverstripe-module

1.2 2014-04-28 09:28 UTC

This package is auto-updated.

Last update: 2024-04-17 20:09:18 UTC


README

Module for adding banner images to pages

Maintainer Contact

  • Henrik Olsen <Henrik (at) mouseketeers (dot) dk>

Requirements

Installation Instructions

  1. Install DataObjectManager < http://silverstripe.org/dataobjectmanager-module/ > and Uploadify < http://silverstripe.org/uploadify-module/ >

  2. Put the banner folder inside your project

  3. To enable the banner module on all pages, add the following to your mysite/_config.php file:

DataObject::add_extension('Page', 'Banner');

To enable the slideshow on specific pages, for example your home page, add the following to your mysite/_config.php file:

DataObject::add_extension('HomePage', 'Banner');

  1. Build the database (e.g. http://localhost/mysite/dev/build)

  2. Add <% include Banner %> to your template