SSL Labs ScoreSecurityHeaders.io Score

Log in to participate

There is no cost to join RicheyWeb, and membership is a requirement to submit bug reports and participate in the support forums.

× Extension Discussions

System - Headtag plugin - Questions

More
5 months 4 days ago - 5 months 3 days ago #1360 by jjnxpct
jjnxpct created the topic: System - Headtag plugin - Questions
1. Is it possible to combine two settings (for example load only on a specific menu item AND only when access levels are of a selected type?

2. If we want to load a script (for example jquery) on all pages for all website users, should we place the script on the tab 'Access level' or 'Usergroep level'? Or is either OK?

3. And should we use 'guest' of 'public' for the Access level or Usergroup level. If there are no login's this would effectively be the same?

4. Are all subgroups included if we chose a (parent)group?

5. When we set the loading of a script on a menu item, will alle subitems of this parent item also load the script? Or do we have to add all child-items as well? So is the selected menu item the 'parent menu id' or the 'menu id'?
Last Edit: 5 months 3 days ago by jjnxpct.

Please Log in or Create an account to join the conversation.

More
5 months 3 days ago #1380 by michael
michael replied the topic: System - Headtag plugin - Questions
1. no - but if your template puts the itemid in the body tag as a css class, then you could load your script on the correct access level, and then use the script to check the CSS classes on the body tag to determine if they should run or not.

2. I would use the public access level. That fires for all users.

3. Guest is for visitors who are not logged in. Once a user logs in, they are not a member of the guess access level anymore. Everyone is always a member of public.

4. No. But all member groups of an access level trigger that access level.

5. It only works on that menu item, and pages directly related to that item. So if you assign a script to a category blog menu item, the script will fire for all articles. If that category blog has a subcategory, and you assign that subcategory a menu item, the scripts will not fire unless you also select the subcat menu item.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Kunena Forum