-
-
Notifications
You must be signed in to change notification settings - Fork 20
Documentation Code Camp Events Templates
<< Back to Code Camp Events Documentation
This module utilizes HTML-based templates to make it super easy to edit. This empowers your designers to be able to apply nearly any design changes they can imagine. Before you get started editing the templates, please note the following built-in dependencies.
- Bootstrap 3.3.5
- Bootflat 2.0.4
- AngularJS 1.4.7
- Angular UI Bootstrap 0.14.3
- MomentJS 2.10.6
- HTML5 Shiv 3.7.2
- RespondJS 1.4.0
- Stack Blur JS 0.5
Prior to continuing any further with editing the templates, you should first familiarize yourself with the resources above.
The templates are found in the following folder of your site:
~/DesktopModules/CodeCamp/Templates/_default/
For the initial release, you'll be expected to make all of your edits to these existing files. In the next 1-2 releases, you can expect to be able to add your own template packages, and choose which one to use for each instance of the code camp events module.
In order to edit templates, you should first have experience editing any site that employs a client-side binding framework like AngularJS or KnockoutJS. If you don't have this experience already, it will greatly add to your learning curve.
When editing templates, nearly everything you'll want to edit should be self-explanatory. The views are intentionally using as much HTML as possible, along with the expected bracket placeholders, such as {{codeCamp.BeginDate}}
. Anything contained in these brackets are placeholders for the AngularJS rendering engine. Please see the AngularJS website to learn more about this, as necessary.
Any changes you make to the templates will be reflected instantly on the site. So please be careful when applying your updates. Always make sure you have an archived backup before performing any work, and especially before pushing these updates into your production environment.
Please note that any changes you make to the templates will be overwritten on upgrade, until there is an update applied to the module that prevents this. So please be sure to backup your template files prior to executing any upgrade of this module.
Once you do, it is always suggested that you compare your templates to the templates that come installed by default to determine if there are any updates that you might wish to merge into your own custom template package.