[horde] Disabling the portal link
Ralf Lang
lang at b1-systems.de
Mon Jul 29 10:56:07 UTC 2013
On 29.07.2013 12:25, Ralf Lang wrote:
> Is there any trick (short of hacking the source) to disable the horde 5
> portal link in the topbar icon?
>
> I have a two-app installation (custom + passwd) which directly starts
> the custom app and any way to access the portal is not desirable. In
> Horde 4 I would have removed "horde" from the list of menu apps.
Partial solution:
Using a hook.
public function pushapp()
{
global $page_output;
$js = "var horde_logo_a =
document.getElementById('horde-logo').children[0].removeAttribute('href');";
$page_output->addInlineScript(
$js,
true
);
}
Works in the custom app, works in horde's admin screen, does not work in
passwd (why?)
--
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.horde.org/archives/horde/attachments/20130729/919e2429/attachment.bin>
More information about the horde
mailing list