Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: kfordham281 on July 11, 2006, 04:07:12 PM

Title: Enable a theme
Post by: kfordham281 on July 11, 2006, 04:07:12 PM
I've uploaded BlueTabby to my skins directory but I can't seem to find out how to enable it. Help please. I searched the wiki but didn't find anything. Thanks.
Title: Re: Enable a theme
Post by: digitalslave on July 11, 2006, 07:14:07 PM
change this line in main.inc.php in your config folder after placing the BlueTabby folder in the Skins folder... atleast until they build in a theme switcher ;)

Code: [Select]
// relative path to the skin folder
$rcmail_config['skin_path'] = 'skins/default/';

to

Code: [Select]
// relative path to the skin folder
$rcmail_config['skin_path'] = 'skins/BlueTabby/';

thanks for checking out BlueTabby by the way :)
Title: Re: Enable a theme
Post by: kfordham281 on July 12, 2006, 10:42:31 AM
I even looked in there and didn't see it! I did a "find" on theme but it's labeled as skin.

Thanks!

BlueTabby looks good!
Title: Re: Enable a theme
Post by: flosoft on July 12, 2006, 06:31:04 PM
Quote from: kfordham281
I even looked in there and didn't see it! I did a "find" on theme but it's labeled as skin.

Thanks!

BlueTabby looks good!

Are you sure? The value is definetly in main.inc.php.
Title: Re: Enable a theme
Post by: bizhat on August 03, 2006, 09:06:40 AM
Premade skins are available for RoundCube or i have to make it myself ?

I like to have a skin like gmail, i don't like default skin as it load mail in frame. Gmail do not do that way.
Title: Re: Enable a theme
Post by: flosoft on August 04, 2006, 05:35:21 AM
How do you mean it loads the mail in a frame?
Title: Re: Enable a theme
Post by: jrmy on August 05, 2006, 02:15:44 AM
I think he means it loads the mail in an iframe.
Title: Re: Enable a theme
Post by: bpat1434 on August 06, 2006, 05:33:56 PM
it doesn't load the mail in an iframe though.....
Title: Re: Enable a theme
Post by: jrmy on August 08, 2006, 01:01:31 AM
My I ask how the scrolling functionality works? I have seen javascript implemented scrolling objects but never one that scrolled as smoothly as a normal browser frame...

In any case, it still acts like a frame.
Title: Re: Enable a theme
Post by: bpat1434 on August 08, 2006, 08:54:12 AM
It's not an Iframe. It's not even anything close to a frame. It's a Div element with a max-height of XX pixels (or em for lines) height and when there is overflow (text going over the max-height) it adds the scroll bars automatically.

You can test this out yourself:

Code: [Select]
<div style=&quot;width: 75px; height: 20px; max-height: 10em; overflow: auto; padding: 2px;&quot;>
 <p style=&quot;width: 71px;&quot;>This is some content<br />
that flows past the maximum height<br />
of our content div.<br /><br />
When content expands below the<br />
div, a scrollbar is automatically added<br />
and it looks like a frame, but is really<br />
some good CSS 2 styling.<br /><br />
lorem ipsum dolor sit amet<br />
abcdefghijklmnopqrstuvwxyz<br />
now I know my abc's, next time<br />
won't you sing with me ;)<br />
End of lesson.</p>
</div>
Title: Re: Enable a theme
Post by: jrmy on August 08, 2006, 12:33:09 PM
I see. I did not realize that overflow could be controlled that way. :)

But it still *acts* like a frame when the scroll bars are added. And I believe that is what the above user was getting at. Not what the code is but how it looks and acts.

Now that I understand how the CSS works the above post should only need to remove the height restrictions (and probably play with other items to keep the "Select: All Unread None   Disk usage:" correct) to get the effect he was looking for.

On a side note, is there a plan for a developers guide or anything of that sort?
Title: Re: Enable a theme
Post by: bpat1434 on August 08, 2006, 04:58:49 PM
There will be documentation, but that is later... right now we need a functional email client ;)