XF 2.2 Setting a custom preference from a template


Well-known member
Is it possible to target and change the state of a custom user preference from a template?

I want to make a slider to toggle something on / off in the user preferences from the front end and was wondering if any pre-existing code exists for this?
No. Very loosely, I want to make a button on the index that changes a user preference setting when pressed. Very broadly.
Top Bottom