[web2py] User Preference Settings

2013-08-31 Thread dirman
i want to add a preference settings page where a logged in user can change font size and also turn off advertisement on the website and this will be unique to the user.i don like the cookie method that runs on client machines. I am thinking of a function that can manipulate css property values an

Re: [web2py] User Preference Settings

2013-08-31 Thread Vinicius Assef
Tell us what is not working in your try. On Sat, Aug 31, 2013 at 11:33 AM, dirman wrote: > i want to add a preference settings page where a logged in user can change > font size and also turn off advertisement on the website > and this will be unique to the user.i don like the cookie method that

Re: [web2py] User Preference Settings

2013-09-03 Thread dirman
this part of the code works; {{if auth.is_logged_in():}}{{for settings in records:}}{{=db.settings[auth.user_id].fontsize}}{{pass}}{{else:}}{{=12}}px:} but the preferences a logged in user makes seem to affect other users setting. On Sunday, September 1, 2013 4:43:27 AM UTC+1, viniciusban wrote