David N. Posted May 5, 2022 Posted May 5, 2022 Since my site is only a forum and I don't need user to create events, I would like to know how to remove the + Create ▼ link that appears in the header.
Marc Posted May 5, 2022 Posted May 5, 2022 There is no way in which to remove that without customisation to your theme. To note however, this is not just for events. Its for the creation of any content item, including topics David N. 1
Nathan Explosion Posted May 5, 2022 Posted May 5, 2022 1 hour ago, Jamynee said: Since my site is only a forum and I don't need user to create events Then disable the calendar application, or restrict access to it? David N. 1
Solution Adriano Faria Posted May 5, 2022 Solution Posted May 5, 2022 You can also probably hide via custom CSS ( li cCreate ). David N. 1
David N. Posted May 5, 2022 Author Posted May 5, 2022 16 minutes ago, Nathan Explosion said: Then disable the calendar application, or restrict access to it? How can I disable it? I tried removing permissions for all, but the "create" button remains. Do I have to uninstall the app?
Marc Posted May 5, 2022 Posted May 5, 2022 You would go to System>Site Featureds>Applications and click "Enabled" next to the calendar application if you wish to just disable that application David N. 1
Nathan Explosion Posted May 5, 2022 Posted May 5, 2022 Your provided information was "I don't need user to create events" Disabling the app or restricting access to the calendar will stop that. It won't hide the 'Create' button though. Here is the answer to your actual requirement - use CSS to hide it. li#cCreate{ display:none; } kmk, David N. and Adriano Faria 2 1
David N. Posted May 5, 2022 Author Posted May 5, 2022 20 minutes ago, Marc Stridgen said: There is no way in which to remove that without customisation to your theme. To note however, this is not just for events. Its for the creation of any content item, including topics Thank you. I'll customize the CSS then, no problem, just wanted to make sure that was the way to handle it. Since there's a big "Start new topic" button a few pixels below I feel that link is redundant for my site. 1 minute ago, Marc Stridgen said: You would go to System>Site Featureds>Applications and click "Enabled" next to the calendar application if you wish to just disable that application Ok I don't know how I didn't see it, I was just on that page trying everything. 🤦♂️ Marc 1
David N. Posted May 5, 2022 Author Posted May 5, 2022 (edited) 30 minutes ago, Adriano Faria said: You can also probably hide via custom CSS ( li cCreate ). Thank you (and thanks to @Nathan Explosion). Because there's also a separator right after that "Create" link that I also wanted to hide I ended up using this: /* Hide "Create" link next to bell and letter icons in the header */ li#cCreate li#cCreate+li.elUserNav_sep { display:none; } Edited May 5, 2022 by Jamynee kmk 1
Recommended Posts