Line | |
---|
1 | // ------------------------ |
---|
2 | // Install notes : |
---|
3 | // ------------------------ |
---|
4 | |
---|
5 | - drop dwoo's directory in app/lib/renderer (create if needed) |
---|
6 | |
---|
7 | - add a renderer to app/config/output_types.xml as such : |
---|
8 | <renderer name="dwoo" class="DwooRenderer"> |
---|
9 | <parameter name="assigns"> |
---|
10 | <parameter name="routing">ro</parameter> |
---|
11 | <parameter name="request">rq</parameter> |
---|
12 | <parameter name="controller">ct</parameter> |
---|
13 | <parameter name="user">us</parameter> |
---|
14 | <parameter name="translation_manager">tm</parameter> |
---|
15 | <parameter name="request_data">rd</parameter> |
---|
16 | </parameter> |
---|
17 | <parameter name="extract_vars">true</parameter> |
---|
18 | <parameter name="plugin_dir">%core.lib_dir%/dwoo_plugins</parameter> |
---|
19 | </renderer> |
---|
20 | |
---|
21 | - add the renderer to app/config/autoload.xml as such : |
---|
22 | <autoload name="DwooRenderer">%core.lib_dir%/renderer/dwoo/Dwoo/Adapter/Agavi/DwooRenderer.php</autoload> |
---|
23 | |
---|
24 | - you can copy the /Dwoo/Adapters/Agavi/dwoo_plugins directory to your agavi app's |
---|
25 | lib directory, or change the plugin_dir parameter in the output_types.xml file. |
---|
26 | these plugins are agavi-specific helpers that shortens the syntax to call common |
---|
27 | agavi helpers (i18n, routing, ..) |
---|
Note: See
TracBrowser
for help on using the repository browser.