Commit Graph

160 Commits

Author SHA1 Message Date
Sam Georges e2fa45e264 Adds new override for components, onInit() 2014-05-24 21:59:30 +10:00
Sam Georges a1d44408b8 Added new method `addComponent()` to Cms Controller 2014-05-24 20:30:22 +10:00
Sam Georges 976b364720 Generate the unique ID for the {% component %} tag only 2014-05-24 19:41:29 +10:00
Sam Georges 34cef2ab46 Fixes #197 - Subfolder duplicated in Controller asset path 2014-05-22 20:29:28 +10:00
Sam Georges 6788a32e8c Components have a new override method `onRender()` called before a component is rendered.
The `{% component %} tag now supports passing parameters that override the component properties when they are rendered.
Calling `addJs()` and `addCss()` in components without a starting slash (/) will now reference the component directory, instead of the theme.
2014-05-22 20:27:44 +10:00
Sam Georges 7d468475c0 Better logging 2014-05-19 18:18:02 +10:00
Pascal Borreli 459c8e0cfa Fixed typos 2014-05-17 18:08:01 +02:00
Sam Georges 0185244710 Drop the file extension from the combiner URL
This causes too many issues with Nginx and php server instances.
2014-05-16 14:29:25 +10:00
Sam Georges fd5d176f60 Tighten up events 2014-05-15 16:22:22 +10:00
Sam Georges 71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00