Server: Hide contact icon when contacts app is disabled

Created on 24 May 2017  路  4Comments  路  Source: nextcloud/server

The contact icon on the upper right corner is shown, even if contacts app is disabled.

Expected behaviour

Icon should be hidden, because there are no contacts

Actual behaviour

image

Server configuration

Operating system: CentOS 7

Web server: Apache

Database: MySQL/MariaDB

PHP version: 7.0

Nextcloud version: (see Nextcloud admin page) 12.0.0

Updated from an older Nextcloud/ownCloud or fresh install: OC 9.1 -> NC 10 -> NC 11 -> NC 12

Where did you install Nextcloud from: tar.bz2 file from website

Are you using an external user-backend, if yes which one: LDAP/Active Directory

contacts menu

Most helpful comment

@MariusBluem we are using the LDAP backend and have no local users. Maybe add an option to disable/hide it via config.php ?

All 4 comments

Hmm... The contacts menu does not only show contacts from the contacts app 馃槈 It does also show local users. We may want to hide the contacts menu if you are the only user 馃 - but we may need this menu for Federation user-reasons in the future...

@ChristophWurst

@MariusBluem we are using the LDAP backend and have no local users. Maybe add an option to disable/hide it via config.php ?

Ok. THX. Closing in favor of #4656

I'm using JSLoader App to remove that icon. Install it and add the code below to that configuration:

$('.icon-contacts.menutoggle').remove()

Was this page helpful?
0 / 5 - 0 ratings