Author Topic

STEVO +

Tuesday 25 January 2005 5:48:03 pm

Comment41984

i've looked into the on/off bug + it's the same as this:

http://ez.no/community/forum/general/ezpreferences_in_login_tpl_need_a_cache_block

it uses an ezpreference which isn't being changed until the user logs out or the object is published. i'm fairly sure that i hadn't noticed this before because i've just recently upgraded to the stable 3.5.0 + it worked previously with rc2. it still works on my website which i haven't upgraded yet, tsk, tsk. any ideas?

i've added a temporarily fix in pubsvn rev. 506. the only updated file is:

http://pubsvn.ez.no/websvn/filedetails.php?repname=community&path=%2Ftrunk%2Fextension%2Fxmlarea%2Fdesign%2Fstandard%2Ftemplates%2Fcontent%2Fdatatype%2Fedit%2Fezxmltext.tpl&rev=0&sc=1

this removes the on/off user preference altogether.

ideally i'd like to do it the online editor way with a submit button so no input is lost when switching editors but i've no idea how to add custom http content/actions in an extension.