[horde] Adding a banner graphic in horde webmail
D G Teed
donald.teed at gmail.com
Thu Jun 7 18:48:27 UTC 2007
Thanks to Michael Conway for pointing me to the admin config option in
Menu Settings with the web application. Sometimes I don't spot things
there as it is usually something I'd inject into the registry, inc, or a
template file.
I can answer myself for the case of the login screen.
I edit imp/templates/login/login.inc
around the section where the title is
printed out on the login screen.
My result is like this:
<div id="menu">
<?php
$menu = &new Menu(HORDE_MENU_MASK_NONE);
$imenu = $menu->render();
if ($imenu): ?>
<span style="float:<?php echo $rightAlign ?>"><?php echo $imenu ?></span>
<?php endif; ?>
<table border=0 width="80%" cellspacing="0">
<tr><td width=200 align=left>
<img src="/my_logo.gif">
</td>
<td align="center">
<h1 align="center">
<?php echo $title ?></h1>
</td>
</tr></table>
</div>
Thanks again,
--Donald
On 6/7/07, D G Teed < donald.teed at gmail.com> wrote:
>
> Hi,
>
> I'd like to add our logo to the top left corner screen of Horde webmail
> 1.0.1. I see an FAQ item for this, but the answer was only
> applicable to version 2.
>
> I attempted to add an IMG tag to the common-header.inc
> file but that didn't work. It somehow caused the frame border
> to appear and there was no logo. It is probably touchy
> with the style sheet.
>
> Is there a new wisdom on the best way to add a logo to
> the horde webmail screen.?
>
> --Donald
>
>
More information about the horde
mailing list