<div dir="ltr">Hi Alan,<div><br></div><div>The best I've been able to do is a UIType 10 field in my module that links to the Calendar. Selecting or creating a new calendar item from this field doesn't link both ways - just the custom module -> calendar item direction. So to get it linking both ways you have to modify core code or get a little tricky with Javascript/JQuery linked to your custom module's Edit tpl file... I chose the latter ;)</div>
<div><br></div><div>In my case, the parent module of my custom module is contacts. So I used a bit of JQuery and a template variable from Edit.php to get the Contact that my custom record belongs to into the Quick Create link. Yes, the little + on the UIType 10 fields literally triggers a javascript click on the appropriate quick create link under the big quick create + in the top right of the page, and then handles the return from the quick create to put the right info into the field.</div>
<div><br></div><div>Fortunately, my users will only be creating new calendar items from this custom module - they don't need to link to existing ones. I haven't looked into that at all so I won't be able to help in that respect.</div>
<div><br></div><div>Max</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 18, 2014 at 1:30 AM, Alan Lord (News) <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
with VT6 can we integrate the Calendar with our vtlib created modules simply? Unlike with 5.4.0 where so much of the calendar was hard coded it made it largely impractical.<br>
<br>
Cheers<span class="HOEnZb"><font color="#888888"><br>
<br>
Al<br>
<br>
-- <br>
Libertus Solutions<br>
<a href="http://www.libertus.co.uk" target="_blank">http://www.libertus.co.uk</a><br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</font></span></blockquote></div><br></div>