elvina Posted July 15 Posted July 15 Hi, I'm using Rockdev 3.23.2 I have a page that is displaying content from a series of subpages, and I have users that can only edit 1 of these subpages. I would like Alfred to let them edit it from this list page (as it is the only way it is displayed on the site). So I am using {alfred($item)}, where $item is the subpage, in a div. This works perfectly if I am logged in as admin, but logged in as the user with edit access to a subpage, it doesn't work. No icons appear I can edit from the dashboard, so its only front page editing that isn't working. I checked and the user does have 'page-edit-front' checked. Is this possible? or does it need any extra settings? cheers
bernhard Posted July 15 Posted July 15 Hi @elvina sounds like your user does not have the alfred permission:
elvina Posted July 15 Author Posted July 15 Hi @bernhard , thanks for reply I just looked and I do have that checked already
elvina Posted July 15 Author Posted July 15 I think it might be something to do with jquery. For some reason, when I am logged in as superuser, i get no errors and can see "Alfred is ready" in console, but if I login as a limited user, I get a ton of messages that jquery is not loaded, and Alfred reports... Loading jQuery... inject_main.js:1 inject_main.js 20 Alfred.min.js?m=1731854866:8 Loading jQuery... Alfred.min.js?m=1731854866:8 jQuery not found I am adding the scripts in my _init file with this $rockfrontend->scripts() ->add('/site/templates/uikit/dist/js/uikit.min.js') ->add('/site/templates/uikit/dist/js/uikit-icons.min.js') ->add('/site/modules/FormBuilder/ProcessFormBuilder.js', 'defer') ... ->minify(!$config->debug); Am I doing it correctly?
elvina Posted July 15 Author Posted July 15 ok, i saw this comment and have aded in the jquerycore file. this works for now, but I don't really understand why this file gets loaded for admin user but not other users. I can't see anything obvious in the Roles settings. 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now