<div>Adam, </div><div><br></div><div>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.</div>
<div><br></div><div>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.</div>
<div><br></div><div>Thanks for the help!!!</div><div><br></div><div>Nathalia Campreguer França</div>