One one of my sites, editors can see the “Uses Template” popup when editing resources. No form customizations are being used, and their permissions have “view_template” checked off. What else could be causing this problem?
MODX 2.8.7
One one of my sites, editors can see the “Uses Template” popup when editing resources. No form customizations are being used, and their permissions have “view_template” checked off. What else could be causing this problem?
MODX 2.8.7
When you open the template dropdown (as the editor), can you see the AJAX-request that gets generated in the developer tools of the browser (tab “Network”; parameter “action” = element/template/getList
)? What’s the response of this request?
Maybe the editor is missing the “list” permission for the templates.
“list” is checked off in permissions. The dropdown doesn’t show up at all; that field is completely missing, as are Alias, Menu Title, Link Attributes, and Hide from Menus. The user can edit and save content and published status, and that’s about it.
The fields are physically there in the HTML, but they have “display: none” applied to them.
So what extra are you using to change the default MODX editing form?
(For example adding “Characters: 38/70” as shown in the screenshot.)
Does the dropdown show up again if you (temporarily) deactivate the plugin from this extra?
OK, found it! A custom plugin is adding CSS to the page during editing based on user group, hiding those elements. I just have to update the chunk containing the CSS.
This could be done a lot more easily with form customization instead of burying it deep inside a plugin!
Off-topic, but how did you create those character limitation indicators?
That’s the SEO Pro plugin.