Themes & Styling > Theme Releases
Simple Patch to Create Three Column Layout (0.5.3)
Jaime_Pomales:
I mucked around with the templates/mail.html and mail.css files until I got a nice three column layout with sensible defaults. The changes are pretty simple and it seems to work pretty well. I think it's the smallest set of changes that one has to make in order to realign the default theme into three columns.
Edit: Fixed #mailcontframe to include a width: 100% when preview is turned off
[ATTACH=CONFIG]1694[/ATTACH]
justinhearn:
Hi. I'm having some trouble applying the patch and wonder if you could please post the complete mail.css and mail.html files? Thanks.
Oops - my mistake. Put the parameters in the right order and it worked:
patch mail.css mail.css.patch
patch mail.html mail.html.patch
Thanks very much for your work on this. I have been looking for this layout for our schools for some time. God bless. Justin
Jaime_Pomales:
Cool, glad you got it working.
For anyone else having trouble you can apply the patches thusly:
Place the patches in the roundcube/skins/ directory and run:
patch -p0 < mail.css.patch
patch -p0 < mail.html.patch
And you're good to go.
I did it as a patch so that in the future I (we) can modify and keep abreast of just those things that changed. Being able to see and track the differences within those two key files makes updating for new versions of Roundcube much easier. I've been testing Roundcube for years, and only this year decided to make the switch from Squirrelmail. I'll continue to issue update patches for this particular layout as the versions roll forward. So stay tuned.
rcubefan:
Is the user able to switch between 2 and 3 column layout at will, such as from preferences, after applying the patch?
Jaime_Pomales:
No, it's meant to be a separate theme. Just copy the default theme (renaming to 3-col-layout or similar), then apply the patch. Of course you can switch back to the default theme from your preferences.
Navigation
[0] Message Index
[#] Next page
Go to full version