Hi John,
The first step to creating this behavior is to set it to open your own event layout:
Under the "Load Source Settings at Startup..." script, there's a line under each source that says "#Should we show event details using a FileMaker layout? Boolean - True or False." If you modify the value of the line below to True, it will automatically open the associated event layout, rather than the calendar popover.
Then, if you don't want any action when an event is clicked on, you can modify the "Show Event Details From WebViewer" script. If you're basing your read-only status on a specific condition, you'll want to enclose all the steps in the script with an if statement. You can either refer to the $$sc_SourceReadOnly[sourceNumber] variable repetition, or enter your own condition, to check if the source should be read only. This way, the script will be run if a user has permission to modify the event, and if they don't, nothing will happen upon clicking the calendar event.
To hide the plus button, you can add the following to the CSS file after the first few declarations:
- Code: Select all
.add-event-container {
display: none;
}
For more information on editing the CSS, you can take a look at our documentation
here.
Let us know if that works out for you,
-KC