Top NavBar Custom Order Not Working?

Moderator: crythias

Post Reply
ahafner
Znuny newbie
Posts: 10
Joined: 29 Oct 2017, 20:11
Znuny Version: 6.5.15
Real Name: Andrew Hafner
Company: NetegrityConsultants LLC

Top NavBar Custom Order Not Working?

Post by ahafner »

Hello,

I recently upgraded to the latest Znuny LTS - for some reason the "drag and drop" feature of re-ordering the top level menu bar is not working now. When re-arranging the icons, such as Dashboard,New Ticket, etc it looks like it works properly. They re-arrange and you even get a CheckMark appearing as if it is saving the layout. However, upon reload it reverts.

When re-arranging the boxes for New Tickets, Escalated Tickets, etc., this does save properly and persist beyond reloads.

I tried searching for this but I can't find any information. Is there any known issues with this feature?

Thank you.
root
Administrator
Posts: 4246
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Top NavBar Custom Order Not Working?

Post by root »

Hi,

I just tried it with a freshly installed 6.5.15 and the feature works. Do you have any errors in the browser's JavaScript console?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
root
Administrator
Posts: 4246
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Top NavBar Custom Order Not Working?

Post by root »

Hello Andrew,

My bad, the change is part of the next release. You can fix this in the meantime by adding these entries to the system configuration AgentPreferences::AJAXUpdate::AllowedKeys###Framework:

- \AUserToolBar\z
- \AUserNavBarItemsOrder\z

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
ahafner
Znuny newbie
Posts: 10
Joined: 29 Oct 2017, 20:11
Znuny Version: 6.5.15
Real Name: Andrew Hafner
Company: NetegrityConsultants LLC

Re: Top NavBar Custom Order Not Working?

Post by ahafner »

Hi Roy,

Thank you so much for the response, I really appreciate it. I actually just spent about 4 hours this morning troubleshooting this.

I confirmed that UserNavBarItemsOrder was correctly written to the database, Core.Config returned the saved array, and no frontend errors were thrown. It was clear the preference was present but wasn't being applied. This was driving me absolutely insane.

I actually was about to respond to your post, when I refreshed it and saw your update. I applied what you told me, and it instantly worked.

I just wanted to let you know that this fixed the behavior, and appreciate the response.

I am looking forward to v7 going LTS (I really want that dark mode skin!)
Post Reply