Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-17944

Custom themes don't work after upgrade to 5.0

XMLWordPrintable

    • Icon: Documentation task Documentation task
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 5.2 (plan)
    • 5.0.0, 5.0.1
    • CentOS 8.2.2004
      nginx-1.14.1
      php-fpm-7.2.24
      zabbix-web-5.0.1
      Google Chrome 83.0.4103.106 64 bits
    • Sprint 66 (Jul 2020), Sprint 67 (Aug 2020)
    • 0.125

      Cannot use custom themes. Editing the file Z.php doesn't makes custom themes available.

      Although, editing the function 'getThemes()' in ZBase.php makes the themes available.

       

      The file 'Z.php' doen't seem to be part of the frontend anymore in CentOS 8:

      # rpm -qf /usr/share/zabbix/include/classes/core/Z.phpfile /usr/share/zabbix/include/classes/core/Z.php is not owned by any package

       

      Steps to reproduce:

      1. Follow the instructions form section "18.8 -  Creating your own theme" of the manual
      2. Navigate to screen "User settings" / "User profile"
      3. Click on screen element "Themes", the custom theme doesn't show up.

      Result:

      Expected:

            agriscenko Andrejs Griščenko
            galoxucro Galo Xucro
            Team D
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: