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
Requires
- silverstripe/cms: 2.4.*
- silverstripe/framework: 2.4.*
This package is auto-updated.
Last update: 2024-12-17 21:54:46 UTC
README
Module for adding banner images to pages
Maintainer Contact
- Henrik Olsen <Henrik (at) mouseketeers (dot) dk>
Requirements
- Silverstripe 2.4
- DataObjectManager < http://silverstripe.org/dataobjectmanager-module/ >
- Uploadify < http://silverstripe.org/uploadify-module/ >
Installation Instructions
-
Install DataObjectManager < http://silverstripe.org/dataobjectmanager-module/ > and Uploadify < http://silverstripe.org/uploadify-module/ >
-
Put the banner folder inside your project
-
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');
-
Build the database (e.g. http://localhost/mysite/dev/build)
-
Add <% include Banner %> to your template