Tuesday 04 January 2005 10:06:44 pm
I'm attempting to update the login.tpl template to output some user information stored in the ezpreferences system. However, the output does not change if the preference has changed until the user logs out and logs back in.
A simple example: I.e.: I can update a variable (favorite_color) via a link to: /user/preferences/set/favorite_color/blue
And then output it via an override of login.tpl with: {ezpreference( 'haircolor' )|wash} It works fine. But if I change favorite_color to green, it will continue to output blue until the user logs out and logs back in. Even clearing all caches does not make it update! Any suggestions?
|