Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
here the steps:
copy /components/com_community/templates/jomsocial/layouts/events.forms.php
to
/templates/rt_ambrosia/html/com_community/layouts/events.forms.php
create that folder if not exist
edit that file (new location), at line 387
find this code
copy the original - unedited file - to the directory you instructed, same old behavior (as expected) and no new problems. Editing the newly copied file as instructed produces:
that error because you put invalid code. please copy paste the code carefully.
if still cant, please edit your first post at this topic and at site info form please provide me FTP access detail.
I will do it for you.
this custom code has been tested at my test site, and it works like expected.