Rietz,<div><br></div><div>I completely agree with you on this, i take the responsibility for this mistake. Initially this was more of a </div><div>prototype that was planned to enhance further to allow addition of more date fields from other modules, </div>


<div>but it just got slipped from my list. Thank you for bringing this to notice.</div><div><br></div><div>This is the below plan that will make it more flexible for anyone to add more Calendar View Types :</div><div><ol>


<li>Add a new Link type for Calendar called "CALENDARVIEWTYPE".<br></li><li>In the URL pass the name of the module and date fields on which the Calendar should show the entry.<br>eg : index.php?module=Calendar&action=Feed&sourceModule={moduleName}&fields=[field1,(optional field2)]</li>


<li>On the server end it would process and return the records for {moduleName} between field1 and field2.<br></li></ol></div><div>Let us know if this would be flexible enough for anyone to use.</div><div><br></div><div><br>

<br><div class="gmail_quote">On 4 April 2013 13:12, Rietz, Artur <span dir="ltr"><<a href="mailto:a.rietz@opensaas.pl" target="_blank">a.rietz@opensaas.pl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<div><br></div><div>I've seen new widget in VT6 Calendar, called" Activity Types, I was kinda interested in using it but suprisingly it is not flexible widget :/</div>


<div>Why while you have been planning this widget, and realising it from the beggining you didnt assume that someone might want to add new field, or new module, or another module or another field to this particular widget ? Why you do not use any table, any array, maybe new uitype anything configurable to choose what fields/modules should be visible there ? Was it so hard to realise that it might be useful ?</div>



<div><br></div><div>Instead of this we can see something like:</div><div><br></div><div>vtiger6/layouts/vlayout/modules/Calendar/CalendarViewTypes.tpl</div><div>part of source code: </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



<div><label class="checkbox"></div><div><span style="white-space:pre-wrap">                   </span><input type="checkbox" data-calendar-sourcekey="ProjectTask" data-calendar-feed="ProjectTask" data-calendar-feed-css="fc-event-style8"> <span class="label fc-event-style8">{vtranslate('SINGLE_ProjectTask', 'ProjectTask')}</span></div>



<div><span style="white-space:pre-wrap">          </span></label></div></blockquote><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



<span style="white-space:pre-wrap">             </span><label class="checkbox"></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



<span style="white-space:pre-wrap">                     </span><input type="checkbox" data-calendar-sourcekey="Contacts_Birthday" data-calendar-feed="Contacts" data-calendar-feed-css="fc-event-style6" data-custom-data='{ldelim}"fieldname":"birthday"{rdelim}' /></blockquote>



<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap">                        </span><span class="label fc-event-style6">{vtranslate('LBL_CONTACTS_BIRTH_DAY', $MODULE)}</span></blockquote>



<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="white-space:pre-wrap">                </span></label></blockquote>



<div><br></div><div>Don't you think that for now this wigdet is not fully working for the developers ?</div><div><br></div><div>Regards, Rietz Artur</div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards<br>Vikas<br>Vtiger Team
</div>