Author Topic: Enable a theme  (Read 10935 times)

Offline kfordham281

  • Jr. Member
  • **
  • Posts: 13
Enable a theme
« 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.

Offline digitalslave

  • Jr. Member
  • **
  • Posts: 37
Re: Enable a theme
« Reply #1 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 :)

Offline kfordham281

  • Jr. Member
  • **
  • Posts: 13
Re: Enable a theme
« Reply #2 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!

Offline flosoft

  • Sr. Member
  • ****
  • Posts: 349
    • http://flosoft.biz
Re: Enable a theme
« Reply #3 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.

Offline bizhat

  • Jr. Member
  • **
  • Posts: 10
Re: Enable a theme
« Reply #4 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.

Offline flosoft

  • Sr. Member
  • ****
  • Posts: 349
    • http://flosoft.biz
Re: Enable a theme
« Reply #5 on: August 04, 2006, 05:35:21 AM »
How do you mean it loads the mail in a frame?

Offline jrmy

  • Jr. Member
  • **
  • Posts: 48
Re: Enable a theme
« Reply #6 on: August 05, 2006, 02:15:44 AM »
I think he means it loads the mail in an iframe.

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: Enable a theme
« Reply #7 on: August 06, 2006, 05:33:56 PM »
it doesn't load the mail in an iframe though.....
 
  

Offline jrmy

  • Jr. Member
  • **
  • Posts: 48
Re: Enable a theme
« Reply #8 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.

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: Enable a theme
« Reply #9 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>
 
  

Offline jrmy

  • Jr. Member
  • **
  • Posts: 48
Re: Enable a theme
« Reply #10 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?

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: Enable a theme
« Reply #11 on: August 08, 2006, 04:58:49 PM »
There will be documentation, but that is later... right now we need a functional email client ;)