[ZBX-17944] Custom themes don't work after upgrade to 5.0 Created: 2020 Jun 20  Updated: 2024 Apr 10  Resolved: 2020 Aug 08

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Documentation (D), Frontend (F)
Affects Version/s: 5.0.0, 5.0.1
Fix Version/s: 5.2 (plan)

Type: Documentation task Priority: Trivial
Reporter: Galo Xucro Assignee: Andrejs Griščenko
Resolution: Fixed Votes: 1
Labels: frontend
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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


Attachments: PNG File image-2020-06-20-17-42-12-745.png     PNG File image-2020-06-20-17-42-55-691.png    
Team: Team D
Sprint: Sprint 66 (Jul 2020), Sprint 67 (Aug 2020)
Story Points: 0.125

 Description   

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:



 Comments   
Comment by Ricardo Canani [ 2020 Jul 26 ]

Z.php is still missing in 5.0.2 

Comment by Alexander Vladishev [ 2020 Aug 08 ]

Updated user documentation:

Generated at Tue May 27 22:45:47 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.