Hi guys, I'm not sure if this is the right place to post this or not (apologies if it's not). I've done some work on expand/collapse for mail folders with some server-side stuff to remember the folder state between pageloads/sessions. There are 2 versions:
1 - Session Only
Folders remember their open/closed state for the duration of the session.
http://download.recurser.com/roundcubemail_r507_session_only.tar.gz2- Database
Folders store their open/closed state in a new DB table ('folders') so they can maintain state between sessions.
http://download.recurser.com/roundcubemail_r507_with_new_table.tar.gzI lean towards the second one because I've usually got a stupidly large amount of folders and i like to have them keep their open/closed state between sessions so I don't have to keep re-opening commonly used folders every time i log in.
The only problem with the second solution is that if folders are renamed/deleted in the 'Personal Settings->Folders' section there will be orphaned rows in the folders table (hope that makes sense!). I tried to alter the folder delete/rename so that the folders table would be kept up to date but folder rename seems to crash firefox & IE for me (connection timeout or something) so i just left it as is.
Feel free to use either (or neither!) as you see fit. Love roundcube - keep up the great work!
edit #1: i've only tested it in FireFox & IE6 on windows - would be cool if someone could give opera/mac/IE7 a go.
edit #2: sorry looks like i should have put this in the Plug-Ins forum, didn't see it before