-
- Item
- 5 October 2009
- Jaymon
partial templates #symfony #learned
include_partial('global/PARTIAL_NAME',array('key' => 'value'));
where global refers to the frontend/template directory and PARTIAL_NAME would correspond to the _PARTIAL_NAME.php template file in frontend/template (ie, full path would be frontend/template/_PARTIAL_NAME.php) and in that template file you could access $key which would contain 'value'