Author Topic: Help with formatting  (Read 6806 times)

Offline CodaMan

  • Newbie
  • *
  • Posts: 1
Help with formatting
« on: August 02, 2007, 01:08:33 PM »
I just installed Roundcube, great app!

Three things I need help with:

1 - The login screen says "Welcome to RoundCube Webmail" at the top of the login box. How can I center it in that box?

2 - How can I change it to say, maybe, "Welcome to myDomain Webmail"?

3 - The browser shows a page title like "Roundcube Webmail :: Mail". How can I make that say myDomain Webmail :: Mail?

Any help on these?

Thanks...

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: Help with formatting
« Reply #1 on: August 02, 2007, 03:41:31 PM »
Well, the centering is just a simple CSS style declaration. You may have to fiddle with the positioning, but if you open the template file "login.tpl" you can see what div that is. Then just find the div in the css file and modify it. I'm not 100% sure of the exact items; however, they aren't that difficult to figure out.

You'd have to dig into the code to find how to change the title and the logo text. I don't have the source in front of me, but if you just search for it, it will come up (possibly in a language file).
 
  

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Help with formatting
« Reply #2 on: August 02, 2007, 06:55:31 PM »
In config/main.inc.php find:
$rcmail_config['product_name'] = 'RoundCube Webmail';

That will change the login page text and title


Offline bschneider

  • Newbie
  • *
  • Posts: 3
Re: Help with formatting
« Reply #3 on: August 13, 2007, 03:41:43 PM »
Quote from: CodaMan
1 - The login screen says "Welcome to RoundCube Webmail" at the top of the login box. How can I center it in that box?


I just did this to the login.html page on or about line 50..
Code: [Select]
<center>
<div class=&quot;boxtitle&quot;><roundcube:label name=&quot;welcome&quot; /></div>
</center>