[Vtigercrm-developers] uitype 16 in custom module

Rishab K rishab.k at vtiger.com
Thu Aug 28 06:05:39 GMT 2014


Richard,

In case you are looking to create a field that represents Time,make use of
UI type 2 and typeofdata for field as T~O for making it not mandatory,to
make it mandatory use typeofdata as T~M.

Regards,
Rishab


On Thu, Aug 28, 2014 at 8:54 AM, Richard Hills - Technologywise <
richard at tw.co.nz> wrote:

> I have a custom module using uitype 16 and the template
> Vtiger/uitypes/Time.tpl
>
> For whatever reason, this is saving all time entries as if they were am,
> ie 3:25pm becomes 3:25am.
>
> Can anyone confirm if this is a core bug or not (are you successfully
> using this uitype in your modules?).
>
> I will look at releasing the module source at some stage over the next
> couple of weeks when I have had a chance to clean it up a bit, hopefully if
> this is not a core bug someone will be kind enough to take a look at this
> for me at that stage.
>
> Thanks
>
> --
> Richard Hills
> TechnologyWise Ltd, Tauranga, NZ
> richard at tw.co.nz
> www.technologywise.co.nz
> ph: +64 (0)7 571 1060
> fax: +64 (0)7 571 1061
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140828/717f3d6d/attachment.html>


More information about the vtigercrm-developers mailing list