Jump to content

Custom admin home widget, unavailable


bear

Recommended Posts

Modifying a custom widget I created long ago to use different queries. Copied the existing one, changed some things and have it set to  be available for my user role in the admin. 
Thing is, though it's there in the permissions, it's not available in the drop down to enable seeing it on the admin home page. No errors being produced, it just isn't showing up in the list. 

Where does one start to determine what's wrong with that? Kind of baffled with this.

Link to comment
Share on other sites

As usual, I discover the cause while waiting, and it's an interesting one. 
File name.
If the widget file name has dashes (in my case it had both underscores and dashes in the non working version), it won't show in the admin "enable" list, but will appear in the permissions list for the role. Once I tried it without dashes, there it was. If that's documented somewhere, I certainly could't find it, so maybe this will help someone in the future.  

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated