• I’ve created a template to list a few items from table. It all works fine except that I can’t select items. Select All doesn’t seem to work either. I notice that the help on the Templates tab says this about selecting and deleting.

    To enable selection and deleting:
    id="row_{{_EID}}_{{_RowIndex}}" ref="{{_return_Fieldname}} highlight" class="itemRow_{{_EID}} report_entry"

    Does anyone have any ideas how to use this? I’ve tried all ways but noting seems to work. Perhaps I’m missing somethin here?

    This is my template code:

    <div>
    <table border="0" cellpadding="0" cellspacing="0" width="100%" id="table1">
    	<tr>
    		<td width="9%">CVL{{itemsID}}{{__51dc161735dae}}{{__51dc1692c2d10}}</td>
    		<td width="30%">{{item_name}}</td>
    		<td width="13%">{{sector}}</td>
    		<td width="13%">{{item_type}}</td>
    		<td width="11%">{{item_region}}</td>
    		<td width="13%">{{item_status}}</td>
    		<td width="7%"><a
      href="http://cvl.webmaven.co.uk/opportunity-listing/?itemsID={{itemsID}}"><img
      border="0" src="http://cvl.webmaven.co.uk/wp-content/uploads/2013/07/preview.gif" width="16"
      height="14" alt="Preview Item" title="Preview Item" hspace="2"><a
      href="http:/cvl.webmaven.co.uk/addedit-item/?itemsID={{itemsID}}"><img border="0"
      src="http://cvl.webmaven.co.uk/wp-content/uploads/2013/07/edit.gif"
      width="16" height="15" alt="Edit Item" title="Edit Item" hspace="2"></td>
    	</tr>
    </table>
    </div>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    http://ww.wp.xz.cn/extend/plugins/db-toolkit/

Viewing 1 replies (of 1 total)
  • Plugin Author David Cramer

    (@desertsnowman)

    you would put that code in the wrapper of the entry template.

    in this case the very first <div> will have it

    <div id="row_{{_EID}}_{{_RowIndex}}" ref="{{_return_Fieldname}} highlight" class="itemRow_{{_EID}} report_entry">

Viewing 1 replies (of 1 total)

The topic ‘Selecting in List Mode using a template’ is closed to new replies.