[Vtigercrm-developers] vTiger 6 - DatePicker

salim salim at posibolt.com
Fri Feb 22 03:09:21 PST 2013


Hi Vikas,
Thanks for the reply,
Could you please help me with this. i have edited *RecentComments.tpl, *and
added this lines(mentioned below) in to* <div class="addCommentBlock">*
*
*
{if $MODULE_NAME eq 'CallReport'}
<p class="muted pull-left">Date: <input type="text" id="postdate" /></p>
<script type="text/javascript" src="initdate.js"></script>

{/if}

and added this lines to initdate.js

$('#postdate').datepicker({dateFormat:'yy-mm-dd'});

i can see the datepicker  in comment section, also i can select date from
that,

but the dateFrormat is not effecting, it shows date as dd/mm/yy format,
also its style is broken


[image: Inline images 1]


What should i have to do to get this widget.?

[image: Inline images 2]

Thanks
--
Salim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130222/5ae0c4df/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 15566 bytes
Desc: not available
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130222/5ae0c4df/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 16402 bytes
Desc: not available
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130222/5ae0c4df/attachment-0003.png 


More information about the vtigercrm-developers mailing list