Roundcube Community Forum

 

Enable a theme

Started by kfordham281, July 11, 2006, 04:07:12 PM

Previous topic - Next topic

kfordham281

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.

digitalslave

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 ;)

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

to

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

thanks for checking out BlueTabby by the way :)

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!

flosoft

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.

bizhat

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.

flosoft

How do you mean it loads the mail in a frame?

jrmy

I think he means it loads the mail in an iframe.

bpat1434

it doesn't load the mail in an iframe though.....
 
 

jrmy

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.

bpat1434

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:

<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>
 
 

jrmy

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?

bpat1434

There will be documentation, but that is later... right now we need a functional email client ;)