[prev in list] [next in list] [prev in thread] [next in thread] 

List:       horde
Subject:    Re: [horde] Disabling the portal link
From:       Ralf Lang <lang () b1-systems ! de>
Date:       2013-07-29 10:56:07
Message-ID: 51F64A47.4070604 () b1-systems ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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@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


["signature.asc" (application/pgp-signature)]

-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe@lists.horde.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic