Page 1 of 1
Category Resets Itself After Preview/Save
Posted: Tue Jul 18, 2006 8:44 pm
by mixx941
Hi everyone. I've just begun work on my blog, and so far when creating new entries and editing I've noticed this.
After typing out an entry and selecting a category, if I preview the entry, the category resets itself back to "[No Category]". The same thing happens if I save it and come back to edit. In that case, it will be at "[No Category]" when I click to edit that entry.
My browser is Opera 9, and I think it may be isolated to Opera. I tried in Firefox and it seemed to work fine.
Thanks
-Mark
EDIT: It seems that the category only saves if I click the plus sign to expand the category box and then select the category I want.
Posted: Thu Jul 20, 2006 7:48 am
by judebert
Sounds like an Opera-specific Javascript problem. Could someone with a bit more JavaScript than me please have a look in includes/functions_entries_admin.inc.php and search for option_categoryselector to see if there's something we can do for Opera?
Posted: Thu Jul 20, 2006 12:40 pm
by garvinhicking
Hi!
I think this has been addressed before; which s9y version are you using?
Regards,
gArvin
Posted: Thu Jul 20, 2006 6:53 pm
by mixx941
garvinhicking wrote:Hi!
I think this has been addressed before; which s9y version are you using?
Regards,
gArvin
Hi, and thanks for the replies. I'm using version 1.0.
-Mark
Posted: Fri Jul 21, 2006 10:23 am
by garvinhicking
Hi!
Can it be that you're just not using Opera's GUI the "indented" way?
In Opera, the select dropdown box will be resized to a 1-button dropdown box with scrollarrows if not expanded. In Firefox and IE, a 1-button dropdown would be a normal dropdown, but sadly Opera doesn'T behave so.
This means that if you use the up/down arrows to change the content of the dropdown, you are only panning the list and NOT selecting a new item! Only if you click on the scrolled item (so that it will be highliughted) the category is really selected. And then if you later edit this entry and you pan the list down, the selected option will still be highlighted.
I know this is a weird behaviour, but you might want to contct Opera that they rethink their way of how they display 1-button select dropdowns that have been changed from "multiple" to "not multiple" via javascript.
HTH and best regards
,Garvin
Posted: Wed Jul 26, 2006 3:43 am
by mixx941
Hi.
Yep, I think that's it. Expanding it shows the proper category and works if I save it while expanded. This is the first time I've come across one of those dropdowns with an up and down arrow next to it though. Most single option dropdowns I see look normal (for example, the "Jump To" dropdown below this posting box). I'm not sure if there's something different about the kind s9y uses.
-Mark
Posted: Wed Jul 26, 2006 1:05 pm
by garvinhicking
Hi!
Yes, s9y actually uses javascript to toggle the "multiple" attribute of a select field. While every other browser properly chagnes the GUI element, Opera seems to get stuck with that multiple field...
Best regards,
Garvin