• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

How to modify Horde Template?

J

JamesG

Guest
Hi,

is it possible to modify Horde-Template?, vor example, something like: "Welcome to Horde" to: "Welcome to my webmail"?

thx,
JamesG
 
You can do it ;)

To change the "welcome to Horde"

Edit: /etc/psa-horde/horde/registry.php

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

Replace with:

'name' => _(preg_replace('/^webmail./', '', $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME']) ),

OR

by changing this line in /usr/share/psa-horde/imp/login.php:

$title = sprintf(_("Welcome to %s"), $registry->get('name', ($imp_auth) ? 'horde' : null));

with

$rest = substr($_SERVER['SERVER_NAME'], 8);
$title = sprintf(_("Welcome to %s"),$rest);

---

Both will make the greeting- "Welcome to domain.com" - with domain.com being whatever domain's webmail is being called.

---

To remove (or replace) the default horde logo, edit the common-footer at /usr/share/psa-horde/templates/
 
Back
Top