[Vtigercrm-developers] Add uitype 10 in calendar module

Nathalia França nath.campreguer at gmail.com
Wed Jan 25 05:10:13 PST 2012


Adam,

EditViewUI.tpl is the file that displays fields based on their
uitypes. Searching the structure of other modules using uitype 10 i found
something related to EditViewHidden.tpl. This is the file missing on
calendar add event. If you open it you can see that it just puts on the
page several hiddens conatining module name, return module name, and
others. I suppose popup.tpl uses these hiddens to rebuild the url and go to
the right module page.

As calendar module add event is not completely displayed using templates i
thought would be easier not to use uitype 10. Instead i added an option on
the select of "related to" tab. This can be done making changes on
addEventUI.php on calendar files. It has a differente apperance but works
the same as uitype 10.

Thanks for the help!!!

Nathalia Campreguer França
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20120125/11428812/attachment-0002.html 


More information about the vtigercrm-developers mailing list