Author Topic: New File Added: MVISION v2.2 - Horizontal / Vertical Layout  (Read 44162 times)

Offline youds

  • Full Member
  • ***
  • Posts: 93
New File Added: MVISION v2.2 - Horizontal / Vertical Layout
« on: January 24, 2009, 01:25:56 PM »
Downloads: A new file has been added by  youds:

MVISION v2.2 - Horizontal / Vertical Layout

User layout changes now stored in cookies!

MVISION v2 allowed the user to switch between Horizontal or Vertical layout, but the default choice had to be made by the administrator. Now, MVISION v2.2 stores layout changes on the users computer and remembers the choice made between page visits.

Additional Features

    * Horizontal / Vertical Layout choice now stored in cookie
    * Refresh the page and the last used layout will be displayed
    * User can log out then log back in and the choice will be remembered


No changes required to installation and configuration - see INSTALL file in the download
Tested with roundcubemail-0.2-stable.tar.gz in IE6/7/8 F1/2 Opera and Safari (WebKit)
See http://www.roundcubethemes.net for more screenshots of the different layouts

Courtesy of http://www.youds.com
« Last Edit: January 25, 2009, 07:09:09 AM by youds »

Offline youds

  • Full Member
  • ***
  • Posts: 93
New File Added: MVISION v2.2 - Horizontal / Vertical Layout
« Reply #1 on: January 25, 2009, 06:58:44 AM »
Installing from command line
Code: [Select]
cd skins
wget http://www.roundcubethemes.net/downloads/mvision2.2.tar.gz
tar -zxf mvision2.2.tar.gz
vi ../config/main.inc.php
# make configuration file changes as directed below

Installing via FTP
Code: [Select]
Go to the "skins" directory in the RoundCube base path
Unzip the "mvision2-2.zip" file
Return back to the RoundCube base path
Go to the "config" directory and edit the "main.inc.php" file as directed below

Configuration file changes (main.inc.php)
Code: [Select]
  1) $rcmail_config['skin'] = 'mvision2_en';
   2) $rcmail_config['list_cols'] = array('subject', 'from', 'date', 'attachment'); // remove "size" and "flag" (flag will still appear however)
   3) $rcmail_config['preview_pane'] = TRUE;
   4) Additional configuration line required; $rcmail_config['preview_pane_vertical'] = TRUE;


For Users with Microsoft Script Debugger
When changing between "Vertical" and "Horizontal" users will see an error message.
To correct this, alter file program/js/common.js to reflect changes below:
Code: [Select]
if(w>0){
width=w.toString().match(/\%$/)?w:w+"px";
}
if(h>0){
height=h.toString().match(/\%$/)?h:h+"px";
}
The original code would of appeared like:
Code: [Select]
if(w){
width=w.toString().match(/\%$/)?w:w+"px";
}
if(h){
height=h.toString().match(/\%$/)?h:h+"px";
}
You need to add >0 to the if(w) and if(h) lines

Good luck! :)

Offline youds

  • Full Member
  • ***
  • Posts: 93
New File Added: MVISION v2.2 - Horizontal / Vertical Layout
« Reply #2 on: January 25, 2009, 07:01:54 AM »
To get the HTML editor working, you need to add the line seen below to program/js/editor.js
Code: [Select]
textAreaId='compose-body';After the lines (#65/66/67)
Code: [Select]
// switch html/plain mode
function rcmail_toggle_editor(ishtml, textAreaId, flagElement)
{

(roundcube0.2-stable)
« Last Edit: January 25, 2009, 05:03:04 PM by youds »

Offline PablitoCWB

  • Newbie
  • *
  • Posts: 1
Brazilian Portuguese Translation
« Reply #3 on: January 26, 2009, 08:23:14 AM »
Hello,

I need this skin in pt_BR (brazilian portuguese)

I can help u translate the words to the portuguese if u need.

tks

:)
« Last Edit: January 26, 2009, 08:37:46 AM by PablitoCWB »

Offline udi111

  • Newbie
  • *
  • Posts: 3
quick search
« Reply #4 on: January 27, 2009, 05:57:18 AM »
pressing backspace in quicksearch field deletes the message (ff3 winxp).
don't know if it is a skin or rc bug.

Offline udi111

  • Newbie
  • *
  • Posts: 3
folders list
« Reply #5 on: January 27, 2009, 05:58:32 AM »
..see attached image

Offline flyingeagle855

  • Newbie
  • *
  • Posts: 1
New File Added: MVISION v2.2 - Horizontal / Vertical Layout
« Reply #6 on: January 28, 2009, 06:42:16 PM »
I don't get a message list when using this theme. The ajax loading icon keeps spinning and nothing. I get the list of folders and the top menu but no messages. I would really like to get this to work so if someone can tell me what I need to do that would be great.

Offline youds

  • Full Member
  • ***
  • Posts: 93
New File Added: MVISION v2.2 - Horizontal / Vertical Layout
« Reply #7 on: January 29, 2009, 04:50:50 PM »
Have you refreshed your cache?
CTRL+F5 on Windows

Offline mugurels21

  • Newbie
  • *
  • Posts: 1
New File Added: MVISION v2.2 - Horizontal / Vertical Layout
« Reply #8 on: February 04, 2009, 08:56:17 AM »
Quote from: flyingeagle855;16743
I don't get a message list when using this theme. The ajax loading icon keeps spinning and nothing. I get the list of folders and the top menu but no messages. I would really like to get this to work so if someone can tell me what I need to do that would be great.


same here.. I put ver 2.1 and it's working..

Offline aletarius

  • Jr. Member
  • **
  • Posts: 12
New File Added: MVISION v2.2 - Horizontal / Vertical Layout
« Reply #9 on: February 04, 2009, 06:20:34 PM »
Yeah, it's doing the same thing for me. If you can tell me/us how to fix that it would be awesome.

Offline tred

  • Newbie
  • *
  • Posts: 1
New File Added: MVISION v2.2 - Horizontal / Vertical Layout
« Reply #10 on: February 06, 2009, 10:01:27 AM »
refreshing cache solving this problem IMHO

youds, can you give this theme with blank buttons for translating to Russian?

Offline zer0

  • Newbie
  • *
  • Posts: 1
mark as read/unread
« Reply #11 on: February 09, 2009, 12:03:36 AM »
how come there is no "Mark as read/unread" option in this? can anyone make a patch please?

thanx

Offline aletarius

  • Jr. Member
  • **
  • Posts: 12
New File Added: MVISION v2.2 - Horizontal / Vertical Layout
« Reply #12 on: February 09, 2009, 11:08:48 AM »
yeah, I refresh my cache and then the view will be all squished together and then I try changing up the display between vertical and horizontal to fix it but then it happens again. Still a bit buggy. I'll wait until a patch to use this I suppose.

Offline knuckles

  • Jr. Member
  • **
  • Posts: 28
New File Added: MVISION v2.2 - Horizontal / Vertical Layout
« Reply #13 on: February 13, 2009, 05:29:59 AM »
Quote from: tred;16878
refreshing cache solving this problem IMHO

youds, can you give this theme with blank buttons for translating to Russian?


It did not solve this here as well.  Apache has been restarted, tested in multiple browsers on the client side.  Running the latest SVN.

Also, a mark as read is necessary... otherwise, assuming the message list worked, this skin is perfect.

Offline walkeral

  • Newbie
  • *
  • Posts: 1
New File Added: MVISION v2.2 - Horizontal / Vertical Layout
« Reply #14 on: February 13, 2009, 04:21:31 PM »
Quote from: flyingeagle855;16743
I don't get a message list when using this theme. The ajax loading icon keeps spinning and nothing. I get the list of folders and the top menu but no messages. I would really like to get this to work so if someone can tell me what I need to do that would be great.


I've found that this problem only occurs when horizontal mode is set as the default in the Roundcube main.inc.php file. Ensure that this line is present (as per the installation instructions):

Code: [Select]
$rcmail_config['preview_pane_vertical'] = TRUE;

That should get rid of the loading icon. When you log in, click "horizontal" at the bottom to switch modes. This is then stored as a cookie so it will remain the same when you log in subsequently. This brings me on to another bug I've found.

I am currently running Roundcube in a sub-directory underneath a Joomla installation. It works fine until the above cookie is set, then I keep getting error 500 whenever I try and access a Joomla-based page. It appears that the cookie name 'layout' is used by Joomla in some way. This occurred using Firefox 3.1b2 and IE7.

To fix it, I've renamed the cookie to roundcube_layout (see templates/mail.html, lines 96, 119, and 152). It might be worth putting this into the next release.

I've also found a slight layout issue in the folders list (see attached screenshot). A few tweaks to the widths in #folder-manager and the #subscription-table entries in settings.css should fix this.

Otherwise, it looks excellent.