[Vtigercrm-developers] [Vtigercrm-Developers] which uitype replicates multiple user selection like in filter?

kiran kiranraju.jakka at gmail.com
Wed Sep 28 09:01:23 GMT 2016


Hi,

Somehow i was at getting user list combo selection. Now stuck with getting
user list into tpl file.

This was the code which is going to create combo picklist

{strip}
    {include file="EditViewBlocks.tpl"|@vtemplate_path:'Vtiger'}
    <input type="hidden" name="userChangedEndDateTime"
value="{$USER_CHANGED_END_DATE_TIME}" />
    

        

            	{vtranslate('LBL_INVITE_USER_BLOCK', $MODULE)}
        
        

            	
                <label class="muted pull-right marginRight10px">
                    {vtranslate('LBL_INVITE_USERS', $MODULE)}
                </label>
            
            	
                <select id="selectedUsers" class="select2" multiple
name="selectedusers[]" style="width:200px;">
                    {foreach key=USER_ID item=USER_NAME
from=$ACCESSIBLE_USERS}
                        
                        <option value="{$USER_ID}" {if
in_array($USER_ID,$INVITIES_SELECTED)}selected{/if}>
                            {$USER_NAME}
                        </option>
                    {/foreach}
                <select>
            
        
    

    <br>
{/strip}

When i executes this combo picklist is coming  but users list shows empty.
Is it possible to get users list into tpl file.

Thanks & Regards.



--
View this message in context: http://vtiger-crm.2324883.n4.nabble.com/Vtigercrm-Developers-which-uitype-replicates-multiple-user-selection-like-in-filter-tp19907p19925.html
Sent from the vtigercrm-developers mailing list archive at Nabble.com.


More information about the vtigercrm-developers mailing list