[horde] remove item from menu?
Michael J Rubinsky
mrubinsk at horde.org
Mon Mar 13 18:48:54 UTC 2017
Quoting Mike Poznecki <poz_sa at yahoo.com>:
> From: Michael J Rubinsky <mrubinsk at horde.org>
> To: Mike Poznecki <poz_sa at yahoo.com>
> Cc: horde at lists.horde.org
> Sent: Monday, March 13, 2017 10:26 AM
> Subject: Re: [horde] remove item from menu?
>
>
> PLEASE do no top post.
>
> Quoting Mike Poznecki <poz_sa at yahoo.com>:
>
>> I don't want to disable composing of emails. I just want to remove
>> it from the top menu.
>
> Then you will need to hack the source code, this is not configurable.
>
>
>>
>> From: Michael J Rubinsky <mrubinsk at horde.org>
>> To: horde at lists.horde.org
>> Sent: Friday, March 10, 2017 11:57 AM
>> Subject: Re: [horde] remove item from menu?
>>
>>
>> Quoting Mike Poznecki <poz_sa at yahoo.com>:
>>
>>> Hi, how can I remove "New Message" from the "Mail" menu list?
>>
>> Use the disable_compose hook.
>>
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>>
>>
>> --
>> mike
>> The Horde Project
>> http://www.horde.org
>> https://www.facebook.com/hordeproject
>> https://www.twitter.com/hordeproject
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
>
> --
> mike
> The Horde Project
> http://www.horde.org
> https://www.facebook.com/hordeproject
> https://www.twitter.com/hordeproject
>
> Thanks, any idea on where I should look at making the hack? I've
> been looking at topbar.js and Menu.php but am not sure what or where
> to change.
Search the source code for 'disable_compose'. This will show you where
the hook is called - which is also where it is determine if the link
is added. One of the search results will be for the top menu.
--
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3282 bytes
Desc: S/MIME Signature
URL: <https://lists.horde.org/archives/horde/attachments/20170313/214b143c/attachment.bin>
More information about the horde
mailing list