block

Define a group of elements that should be stored in a template in order to be used by ajax calls.

  • name (optional)
see filter, link, start_node

<r:filter update='img_list' key='f'/>
<div id='img_list' do='block'>
  <ul do='images from site' where='v_title like "%[param:f]%"' order='name' limit='5'>
    <li do='each' do='img' mode='pv' link='self'/>
  </ul>
</div>

<r:filter update='funky_list'/>
...
<div id='funky_list' do='block'>...</div>

<r:projects in='site' do='link' update='preview'/>
...
<div id='preview' do='block'>...</div>

This feature currently works with filter but not yet with edit. Make sure you put the ‘filter’ tag outside of the block.