[eZ publish] How to modify the $view_parameters valus in the template.
2010-07-12 15:04
447 查看
1. You have to install the swark extension.
2. Below I want to change the $view_parameters.offset to 10 in the template.
2. Below I want to change the $view_parameters.offset to 10 in the template.
{set $view_parameters = $view_parameters|set_array_element("offset", 10)}
相关文章推荐
- [eZ publish] When a ezxml embed an video, how to get the ezxml object in the video embed template?
- How to organize the Template Files in C++
- How to organize the Template Files in C++
- How to modify the Header Search Paths In XCode 4
- How to calculate the number of parameters in CNNs?
- XAF How to enable LayoutView mode in the GridControl in List Views
- How to hide the create button dynamical tree view in openerp ?
- How to Modify the Virtual Memory in a Mac
- How to view assertions in the Verdi waveform viewer
- How to modify non-customizable entity in MS Dynamics CRM 4.0 (Add Product price column to Price List Item view)
- how to modify the enviroment varible in Ubuntu
- How to Modify the Virtual Memory in a Mac
- How to use isInEditMode() to see layout with custom View in the editor
- How To Query And Change The Oracle Hidden Parameters In Oracle 10g and 11g (文档 ID 315631.1)
- How to find child controls that are located in the template of a parent control
- How to popup a UIPickerView from the bottom of a UIScrollView in response to UITextField selection
- In an iOS 5 Storyboard, how do you push a new scene to the original view controller from a Popover?
- How to modify the response element name in soap message?
- how to scroll a ScrollViewer at design time in Blend to manually design content for it that goes beyond the visible view
- How to display fields in the frontend item view