Insert a link in event field

Hello,

I am trying to add a link to an event. My events have four fields: event name, event description, project of the week, and link to materials for that event.

I followed some of the instructions I found here, and now my event text template looks like this:

return “Program: “+event.text+”
”+“Description: “+event.details+”
”+“This week project: “+event.project+”
”+“Link: “+event.link?(””+event.text+""):event.text;

However, this is not exactly what I want. This way, the event title becomes a link. You click on it and taken away even before you have a chance to read the pop-up. I need event.project to become a link. I changed the above to this:

return “Program: “+event.text+”
”+“Description: “+event.details+”
”+“This week project: “+event.link?(””+event.project+""):event.project;

Now the whole calendar won’t even show up.

What should I make my template so that a field other than event.text becomes a link?

Is it possible to have linkable fields in event description pop-up?

Thank you!

Now the whole calendar won’t even show up.
Such problem can occur if you place some incorrect js code in template, but the one which you have provide is valid.
Can you give a link, to the page where issue occurs?

Also, the templates is the only way to customize appearance of scheduler. ( in case of standalone scheduler - there are custom form blocks, but they are not available for plugins )