[Vtigercrm-developers] select all patch not working

hassan omar omar at tbdinvesting.com
Tue Mar 15 08:02:47 PDT 2011


This patch is not working. I manually made the changes per the instructions.
The select all button appears, but is not functional.


http://lists.vtigercrm.com/pipermail/vtigercrm-developers/2010-December/015913.html

I think the issue is in the Smarty/templates/ListViewEntries.tpl    patch


+++ vtigercrm.patched/Smarty/templates/ListViewEntries.tpl    2010-12-01
14:41:12.000000000 +0100
@@ -25,6 +25,7 @@
      <input name="selectedboxes" id="selectedboxes" type="hidden"
value="{$SELECTEDIDS}">
      <input name="allselectedboxes" id="allselectedboxes" type="hidden"
value="{$ALLSELECTEDIDS}">
      <input name="current_page_boxes" id="current_page_boxes" type="hidden"
value="{$CURRENT_PAGE_BOXES}">
+     <input name="selectallrecords" id="selectallrecords" type="hidden"
value="0">
                 <!-- List View Master Holder starts -->
                 <table border=0 cellspacing=1 cellpadding=0 width=100%
class="lvtBg">
                 <tr>
@@ -97,6 +98,10 @@
                 {/if}
                 {* END *}

+                {* Select all button for mass edit *}
+                <input class="crmbutton small create" type="button"
id="chooseAllBtn" value="Select all records"
onclick="toggleSelectAllEntries_ListView();" {if $hideSelectAll}
style="display:none"{/if}/>
+
+
                 </td>
                 <td class="small" nowrap>
                     {$recordListRange}
@@ -321,6 +326,9 @@
                             </div>
                         {/if}
                         {* END *}
+                        {* Select all button for mass edit *}
+                        <input class="crmbutton small create" type="button"
value="Select all records" onclick="toggleSelectAllEntries_ListView();"/>
+
                     </td>
                 <td class="small" nowrap>
                     {$recordListRange}



what am I missing? 5.2.1 used
-- 
Thanks,

Hassan Omar
678-683-0646
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20110315/ea0439a8/attachment-0002.html 


More information about the vtigercrm-developers mailing list