Provides the developer with a bunch of tools to review the page types used on a website.
Make sure to check out the /dev/tasks/CheckAllTemplates task as this will provide you with a very useful implementation of the poorman's template checker.
Nicolaas Francken [at] sunnysideup.co.nz
see composer.json HIGHLY RECOMMENDED: prettyphoto:
- http://sunny.svnrepository.com/svn/sunny-side-up-general/prettyPhoto OR
- https://github.com/sunnysideup/silverstripe-prettyphoto
Please contact author for more details.
Any bug reports and/or feature requests will be looked at in detail
We are also very happy to provide personalised support for this module in exchange for a small donation.
This module allows you to review all your classes (templates) used on a website.
It has a page type that lists all templates used on the website.
You can also include a footer on every page with information about the template being used.
When logged-in as admin, the TemplateDevelopment template include allows you to visit the front-end of the website and:
- upload and view designs
- link through to edit page in the CMS
- review stats (last changed, etc... for the template).
-
Find out how to add modules to SS and add module as per usual.
-
Review configs and add entries to mysite/_config/config.yml (or similar) as necessary. In the /_config/ folder of this module you can usually find some examples of config options (if any).
-
to any page template, add the following function To provide help instructions.
function getHowToMakeThisTemplateWorkArray() { $a = array(); //OR $a = parent::getHowToMakeThisTemplateWorkArray(); $a[] = "Select header and three items for section one"; $a[] = "Select header and three items for section two"; return $a; }
-
[OPTIONAL] add to the bottom of your Page.ss file:
<% include TemplateOverviewPageDevelopmentFooter %>