Koozali.org: home of the SME Server

Change the login page in webmail

AiJ0k3r

Change the login page in webmail
« on: March 09, 2006, 01:57:24 AM »
I viewed the fAQ's on how to change the default settings on the Webmail page...but none of the paths or files exist in the directories stated in the article.
I would like the login page to say "Welcome to mydomain" instead of "Welcome to Horde" I use SME Server 7.04Pre with the default updates.

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Change the login page in webmail
« Reply #1 on: March 09, 2006, 06:24:14 AM »
# mkdir -p /etc/e-smith/templates-custom/home/httpd/html/horde/config/registry.php
# cd /etc/e-smith/templates-custom/home/httpd/html/horde/config/registry.php
# cp /etc/e-smith/templates/home/httpd/html/horde/config/registry.php/110AppRegistryHorde .
# pico 110AppRegistryHorde

edit the line:

    'name' => _("Horde"),

# expand-template /home/httpd/html/horde/config/registry.php

Darrell

AiJ0k3r

Change the login page in webmail
« Reply #2 on: March 09, 2006, 06:53:09 PM »
That worked suh-weet…thanx for the reply. :-D
I would also like to put my company logo on the login page if u could tell me where the link for that one is.

RobRoye

Change the login page in webmail
« Reply #3 on: June 20, 2006, 05:11:50 PM »
I'm trying to do the same thing, but I have no idea what the above means. Possible to dumb it down just a hair?

It looks like I run those commands, is that the case?

Offline dtech

  • **
  • 70
  • +0/-0
Change the login page in webmail
« Reply #4 on: June 21, 2006, 04:38:11 AM »
RobRoye;

Yes, those are commands to be typed at the command prompt. Log in to your SME server as root, then enter each of those lines and hit enter to execute the command. One line at a time, by the way. And skip the "#", that indicates the command prompt.

So, first line creates a directory (mkdir), second line changes to the directory (cd) just created, third line copies (cp) a file from another directory to the directory just created, and the fourth line runs pico, an editor, so you can make the necessary changes to the name in the file you just copied in the third line.

The last line, expand-template, causes the changes to the name to be used.

-P

Offline mmccarn

  • *
  • 2,626
  • +10/-0
Change the login page in webmail
« Reply #5 on: July 26, 2007, 12:06:29 AM »
http://bugs.contribs.org/show_bug.cgi?id=3181
Quote from: "Bug 3181"
After upgrading to SME 7.2, webmail returns error 404 "/imp/redirect.php was
not found on this server"

...

Anyone that has a custom-template of 110AppRegistryHorde is going to be
affected, because of the webroot detection changes in horde 3.1.4.  It doesn't
work as advertised.  Copying the new 110AppRegistryHorde to templates-custom
and then making your changes will allow you to customize your setup once again.

Offline WF168Tech

  • *
  • 39
  • +0/-0
Change the login page in webmail
« Reply #6 on: July 31, 2007, 07:05:21 PM »
Quote from: "dmay"
#
# expand-template /home/httpd/html/horde/config/registry.php

Darrell


Trying to follow your instructions, but last command "expand-template ......" give me this error:  Skipping /etc/e-smith/templates-custom//home/httpd/html/horde/config/registry.php/.200AppRegistryHorde.swp at /sbin/e-smith/expand-template line 45

Any ideas?

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Change the login page in webmail
« Reply #7 on: July 31, 2007, 11:45:51 PM »
Quote from: "WF168Tech"
Quote from: "dmay"
#
# expand-template /home/httpd/html/horde/config/registry.php

Darrell


Trying to follow your instructions, but last command "expand-template ......" give me this error:  Skipping /etc/e-smith/templates-custom//home/httpd/html/horde/config/registry.php/.200AppRegistryHorde.swp at /sbin/e-smith/expand-template line 45

Any ideas?


Go to this directory -  /etc/e-smith/templates-custom//home/httpd/html/horde/config/registry.php/  and remove the file .200AppRegistryHorde.swp

Do an ls -la to see it.  It has a . in front of it, so it makes is hidden.

John
......

Offline WF168Tech

  • *
  • 39
  • +0/-0
Change the login page in webmail
« Reply #8 on: August 01, 2007, 04:28:38 PM »
Quote from: "mrjhb3"
Quote from: "WF168Tech"
Quote from: "dmay"
#
# expand-template /home/httpd/html/horde/config/registry.php

Darrell


Trying to follow your instructions, but last command "expand-template ......" give me this error:  Skipping /etc/e-smith/templates-custom//home/httpd/html/horde/config/registry.php/.200AppRegistryHorde.swp at /sbin/e-smith/expand-template line 45

Any ideas?


Go to this directory -  /etc/e-smith/templates-custom//home/httpd/html/horde/config/registry.php/  and remove the file .200AppRegistryHorde.swp

Do an ls -la to see it.  It has a . in front of it, so it makes is hidden.

John


That worked like a charm.  Thanks very much.

allforone

Sweet
« Reply #9 on: August 03, 2007, 03:42:46 AM »
Quote from: "AiJ0k3r"
That worked suh-weet…thanx for the reply. :-D
I would also like to put my company logo on the login page if u could tell me where the link for that one is.


I concur it works.

Offline carolus555

  • 8
  • +0/-0
Re: Change the login page in webmail
« Reply #10 on: August 07, 2008, 03:59:41 AM »
That worked suh-weet…thanx for the reply. :-D
I would also like to put my company logo on the login page if u could tell me where the link for that one is.
Worked for me too  :-P so suhhh-weeet thanx a lot  :-) and how to put my company logo ??

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: Change the login page in webmail
« Reply #11 on: August 08, 2008, 01:35:45 AM »
All,

If your SME Server is up to date, then all you have to do is
Code: [Select]
config setprop horde Name mydomain; signal-event email-update. If would highly recommend this method as if/when the 110AppRegistryHorde template is changed again, then your site will be broken.


* Tue Apr 01 2008 John H. Bennett III <bennettj@johnbennettservices.com> 1.13.0-24

- Patch to allow users to add a different name to their webmail installation other
  than horde.  To use - config setprop horde Name xxxx ; signal-event email-update.
  Change will be seen in /home/httpd/html/horde/config/registry.php/110AppRegistryHorde
  [SME: 3707]


John
......