SMF Support > SMF 2.0.x Support
Disable dropdown menus
Kat9119:
I'm using the Core theme, and I'm curious if I can disable the ability for users to choose a sidebar or dropdown menu. I don't want them to be able to choose dropdown menus at all. I only see this option in my own profile's look & layout.
Arantor:
There's no option anywhere to do this, so it's a code change and last time I tried to do this myself I got into a right mess with it >_>
Antechinus:
Wouldn't it be simple enough to just hide the toggle image and remove the option from the select in Profile, while still leaving all the back end crap alone? Not the most elegant solution, but workable for one site.
Arantor:
You'd also have to modify the database for anyone who set the preference, also.
Interestingly enough users would even then still be able to change it by visiting the right link (but practically, that's no big deal)
One thing I would note is that the only place on a normal installation where a normal user should be able to see it is in the profile area anyway.
Antechinus:
Yup, but you could reset the db by using admin options IIRC, without having to run a query manually.
Mnd you, I'm not sure why anyone would want to disable the drop menus. Some people like them. Anyone who doesn't can use the sidebars.
Navigation
[0] Message Index
[#] Next page
Go to full version