TheBigK
Well-known member
I'm really stuck at creating a template  that's similar to the 'attachment_list'. The variables available to me are:
$log.log_id, $log.user_id $log.keywords, $log.date_time
All I'm trying to achieve is display the information into a proper table that looks like the attachment browser table. I wish to have checkboxes in every row which I can select to delete records; and a 'select all' checkbox in the header that allows me to mass delete records.
I've been attempting this by referencing the attachment_list template but unable to get this to work. I found the following part very difficult to grasp:
	
	
	
		
I've going totally clueless about adding columns to display my keywords, user_id, date_time etc. Would really appreciate your help. Thanks!
				
			$log.log_id, $log.user_id $log.keywords, $log.date_time
All I'm trying to achieve is display the information into a proper table that looks like the attachment browser table. I wish to have checkboxes in every row which I can select to delete records; and a 'select all' checkbox in the header that allows me to mass delete records.
I've been attempting this by referencing the attachment_list template but unable to get this to work. I found the following part very difficult to grasp:
		PHP:
	
	<xen:title>This is search tracker</xen:title>
<xen:require css="filter_list.css" />
<xen:require js="js/xenforo/filter_list.js" />
<xen:if is="{$log}">
    <div class="section">
        <h2 class="subHeading">
            <label class="checkAll"><input type="checkbox" class="CheckAll" />Select All</label>
        </h2>
       
        <ol id="log" class="FilterList Scrollable secondRow">
            <xen:foreach loop="$log" value="$log">
                <xen:listitem id="{$log.log_id}">
                    <xen:label>
                        <span class="secondRow">{$log.user_id}</span>
                    </xen:label>
                </xen:listitem>
            </xen:foreach>
        </ol>
    </div>
</xen:if>
	