I have a login page and I need to perform some styles for users choice. Then, when user select some preset style, the website changes the style. I need to do it recording as some user params or in another component or table.
Here's what you can do to accomplish what you want:
- Override the login page to include the additional fields (such as the styles, etc...)
- Create a different login plugin (just copy the authentication/joomla plugin) and use that plugin instead of the default one. In the
onUserAuthenticatefunction of that plugin, just add the code to store the additional fields in the database when the authentication is successful. You can also store this information in the session in order to prevent querying the database for the custom user settings on each page load.