Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 72 lines (45 sloc) 3.067 kb
32c01c46 » mandrew
2011-06-17 updated readme file and added default Boilerplate template options fo…
1 ### WARNING: this module and the following instructions haven't been 100% tested and is in an ALPHA state
2
10a8cbbf » mandrew
2011-06-15 added README file
3 ## Overview
4
32c01c46 » mandrew
2011-06-17 updated readme file and added default Boilerplate template options fo…
5 hardyakka theme [See 'Hard Yakka' meaning](http://en.wikipedia.org/wiki/Yakka) is a HTML5 Boilerplate template for the SilverStripe CMS ([http://silverstripe.org](http://silverstripe.org)).
6 It is based on a similar idea used by the Boilerplate Wordpress theme (http://wordpress.org/extend/themes/boilerplate) to also provide
7 a .ss template of all the default html objects you need to style for each SilverStripe website. I have done all the hard yakka in setting
8 up this SilverStripe theme, all you need to do is implement your design then follow the instructions to implement your own HTML5 website.
9
10 Requires:
10a8cbbf » mandrew
2011-06-15 added README file
11
32c01c46 » mandrew
2011-06-17 updated readme file and added default Boilerplate template options fo…
12 * A [SilverStripe Installer](http://github.com/silverstripe/silverstripe-installer) base project
13 * The latest [HTML5 Boilerplate](http://html5boilerplate.com/) files
10a8cbbf » mandrew
2011-06-15 added README file
14
32c01c46 » mandrew
2011-06-17 updated readme file and added default Boilerplate template options fo…
15 ## TODO ##
10a8cbbf » mandrew
2011-06-15 added README file
16
32c01c46 » mandrew
2011-06-17 updated readme file and added default Boilerplate template options fo…
17 * Turn this theme into a more automated installation of Boilerplate
18 * Possibly intergrate it into a default SilverStripe installation
10a8cbbf » mandrew
2011-06-15 added README file
19
32c01c46 » mandrew
2011-06-17 updated readme file and added default Boilerplate template options fo…
20 ## Install Theme ##
10a8cbbf » mandrew
2011-06-15 added README file
21
22 * Install SilverStripe
32c01c46 » mandrew
2011-06-17 updated readme file and added default Boilerplate template options fo…
23 * Add the Boilerplate files into the SilverStripe installation folder
10a8cbbf » mandrew
2011-06-15 added README file
24 * Drop the /hardyakka folder into the /themes folder
25 * Update the /mysite/_config.php file to point to the 'hardyakka' theme
f702bda3 »
2011-11-09 reformatted
26
363a977b »
2011-11-09 added help
27 SSViewer::set_theme('hardyakka');
28
99c5c989 » mandrew
2011-07-18 added how to include css in template
29 * Update the /mysite/Page.php file to point to the correct css files
30
31 Requirements::themedCSS('handheld', 'handheld');
f702bda3 »
2011-11-09 reformatted
32
99c5c989 » mandrew
2011-07-18 added how to include css in template
33 Requirements::themedCSS('style');
f702bda3 »
2011-11-09 reformatted
34
99c5c989 » mandrew
2011-07-18 added how to include css in template
35 Requirements::themedCSS('typography');
36
32c01c46 » mandrew
2011-06-17 updated readme file and added default Boilerplate template options fo…
37 * Start building your website
38
39 Dont forget to
40
41 * Change the favicons.ico and apple touch icons
42 * Update the google analytics code at the bottom of the Page.ss file
43 * Update the humans.txt files
44
45 ## Work the HTML5 Boilerplate magic ##
46 Once you have finished building your website and you wish to create the final version so you can publish and deploy the site
47
48 * Update the /build/config/project.properties file in the 'Directory Structure' section to point to the correct theme files
49
50 dir.js = themes/hardyakka/js
ca6246d4 » mandrew
2011-06-17 fixed formatting on readme file
51
32c01c46 » mandrew
2011-06-17 updated readme file and added default Boilerplate template options fo…
52 dir.css = themes/hardyakka/css
ca6246d4 » mandrew
2011-06-17 fixed formatting on readme file
53
32c01c46 » mandrew
2011-06-17 updated readme file and added default Boilerplate template options fo…
54 dir.images = themes/hardyakka/images
55
56 * if you want to create the publish folder outside of the main SilverStripe installation then add the following code to the properties file:
57
58 dir.publish = ../websitename-publish
59
60 * Run the build script (cd into /build folder, run 'ant build' function) which creates the dir.publish folder
61 * As a default SilverStripe installation already comes with a .htaccess file so merge .htaccess files together carefully
62 * Transfer the dir.publish folder created by the build script to your server
63 * Rename the folder to the origional project name so SilverStripe will work again
64 * Run a dev/build?flush=1
65
66 If you have any issues with running the HTML5 Boilerplate build script then I'd advise watching the videos at the [HTML5 Boilerplate website](http://html5boilerplate.com/).
10a8cbbf » mandrew
2011-06-15 added README file
67
68 ## Links ##
69
32c01c46 » mandrew
2011-06-17 updated readme file and added default Boilerplate template options fo…
70 * [SilverStripe](http://silverstripe.org/)
71 * [HTML5 Boilerplate](http://html5boilerplate.com/)
10a8cbbf » mandrew
2011-06-15 added README file
72 * [mike.andrewartha.co.nz](http://mike.andrewartha.co.nz/)
Something went wrong with that request. Please try again.