Topic: Can anyone add events to a calendar?
BradleyByerly04 pro premium priority asked a year ago
Expected behavior Only specified users have the ability to add calendar events Actual behavior Pretty sure it allows everyone to? Haven't actually published it to find out just looking through liveserver Resources (screenshots, code snippets etc.) Snippet
Grzegorz Bujański staff answered a year ago
This is a similar thread to the e commerce gallery you added. You can add data attribute data-mdb-readonly="true"
to the calendar. You need to verify whether this is a user who should be able to add events. For example, creating a login system. You could then give the logged in user, or only selected users, the ability to modify calendar events. And for other people, set the data attribute data-mdb-disable="true"
.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 7.1.0
- Device: PC
- Browser: Opera GX 104.0.4944.80
- OS: Windows 11
- Provided sample code: No
- Provided link: Yes
BradleyByerly04 pro premium priority commented a year ago
Found out how to add via HTML, would still like to not have to use 'readonly' as it's far more convenient to add events that way but also don't want any visitor to be able to add an event.