Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom theme architecture: Settings menu icons not being overridden by theme SVGs #9417

Closed
rebecca-cook opened this issue May 8, 2018 · 0 comments

Comments

@rebecca-cook
Copy link

rebecca-cook commented May 8, 2018

Steps to reproduce

  1. Create custom SVG icons in the directory nextcloud/themes/my-theme/settings/img/ with matching names to the root directory of the same name
  2. View site

Expected behaviour

The theme SVGs should override the root SVGs

Actual behaviour

The root SVGs persist

Server configuration

Operating system: Linux

Web server:. Apache

Database:. MariaDB

PHP version: 7.2.1

Nextcloud version: (see Nextcloud admin page) 13.0.2

Updated from an older Nextcloud/ownCloud or fresh install:. fresh

Where did you install Nextcloud from:

Signing status:

Signing status
Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

List of activated apps:

App list
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

Nextcloud configuration:

Config report
"system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost:8888"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "http:\/\/localhost:8888\/nextcloud",
        "dbtype": "sqlite3",
        "version": "13.0.2.1",
        "installed": true,
        "theme": "dais"
    },
    "apps": {
        "activity": {
            "installed_version": "2.6.1",
            "types": "filesystem",
            "enabled": "no"
        },
        "backgroundjob": {
            "lastjob": "12"
        },
        "comments": {
            "installed_version": "1.3.0",
            "types": "logging",
            "enabled": "yes"
        },
        "core": {
            "installedat": "1525641176.0508",
            "lastupdatedat": "1525773147",
            "vendor": "nextcloud",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "public_files": "files_sharing\/public.php",
            "oc.integritycheck.checker": "[]",
            "scss.variables": "eb93b3069bf8425fe060f2b976c5a70d",
            "lastcron": "1525773149",
            "lastupdateResult": "[]"
        },
        "dav": {
            "installed_version": "1.4.6",
            "types": "filesystem",
            "enabled": "yes"
        },
        "federatedfilesharing": {
            "installed_version": "1.3.1",
            "types": "",
            "enabled": "yes"
        },
        "federation": {
            "installed_version": "1.3.0",
            "types": "authentication",
            "enabled": "yes"
        },
        "files": {
            "installed_version": "1.8.0",
            "types": "filesystem",
            "enabled": "yes",
            "cronjob_scan_files": "500"
        },
        "files_sharing": {
            "installed_version": "1.5.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "files_texteditor": {
            "installed_version": "2.5.1",
            "types": "",
            "enabled": "yes"
        },
        "files_trashbin": {
            "installed_version": "1.3.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "files_versions": {
            "installed_version": "1.6.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "files_videoplayer": {
            "installed_version": "1.2.0",
            "types": "",
            "enabled": "yes"
        },
        "firstrunwizard": {
            "installed_version": "2.2.1",
            "types": "logging",
            "enabled": "yes"
        },
        "gallery": {
            "installed_version": "18.0.0",
            "types": "",
            "enabled": "yes"
        },
        "logreader": {
            "installed_version": "2.0.0",
            "ocsid": "170871",
            "types": "",
            "enabled": "yes"
        },
        "lookup_server_connector": {
            "installed_version": "1.1.0",
            "types": "authentication",
            "enabled": "yes"
        },
        "nextcloud_announcements": {
            "installed_version": "1.2.0",
            "types": "logging",
            "enabled": "yes",
            "pub_date": "Sat, 10 Dec 2016 00:00:00 +0100"
        },
        "notifications": {
            "installed_version": "2.1.2",
            "types": "logging",
            "enabled": "yes"
        },
        "oauth2": {
            "installed_version": "1.1.0",
            "types": "authentication",
            "enabled": "yes"
        },
        "password_policy": {
            "installed_version": "1.3.0",
            "types": "",
            "enabled": "yes"
        },
        "provisioning_api": {
            "installed_version": "1.3.0",
            "types": "prevent_group_restriction",
            "enabled": "yes"
        },
        "serverinfo": {
            "installed_version": "1.3.0",
            "types": "",
            "enabled": "yes"
        },
        "sharebymail": {
            "installed_version": "1.3.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "survey_client": {
            "installed_version": "1.1.0",
            "types": "",
            "enabled": "yes"
        },
        "systemtags": {
            "installed_version": "1.3.0",
            "types": "logging",
            "enabled": "yes"
        },
        "theming": {
            "installed_version": "1.4.1",
            "types": "logging",
            "enabled": "yes"
        },
        "twofactor_backupcodes": {
            "installed_version": "1.2.3",
            "types": "",
            "enabled": "yes"
        },
        "updatenotification": {
            "installed_version": "1.3.0",
            "types": "",
            "enabled": "yes",
            "update_check_errors": "0"
        },
        "workflowengine": {
            "installed_version": "1.3.0",
            "types": "filesystem",
            "enabled": "yes"
        }
    }
}

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

LDAP configuration (delete this part if not used)

LDAP config
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:

Operating system:

Logs

Web server error log

Web server error log
Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Nextcloud log
Insert your Nextcloud log here

Browser log

Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
@rebecca-cook rebecca-cook changed the title Custom theme architec Custom theme architecture: Settings menu icons not being overridden by theme SVGs May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant