|
|
Forum moderator: bigblog |
uCoz Community » For Webmasters » Design Customization » Social login UID (Using social login.) |
Social login UID |
Mark-V1, we consider implementing this feature in the future. Follow our blog for updates on what improvements we've made on our system!
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau sometimes i lurk here |
Mark-V1, we consider implementing this feature in the future. Follow our blog for updates on what improvements we've made on our system! Thanks I was also wondering I have done a search but don't see it is there a way I can make a menu item appear only for admin? or is this feature not existing? I would rather have a menu item then a side module. I know I can use $user_groups$ but I am not sure how id make the item only appear for admins and mods I know I can use the following code but how would I add more then one group to that code? or is it not possible? $GROUP_ID$ == "5" Post edited by Mark-V1 - Tuesday, 2016-12-27, 1:15 AM
|
Post text
Attachments:
2078366.png
(20.7 Kb)
|
Mark-V1, Sorry for jumping. You can do it by enable builder > Add block > Drag and put at wherever you want > Put your menu in this block > Move to Access tab > Only check for Administrator > Save. Thanks for the info the problem is I know I can do it that way but I would prefer to have a dropdown menu from the top instead of a block on the side if that makes sense |
Mark-V1, adnet, is correct. Although I would suggest a slight improvement, which is the use of the logical or operator, rather than the word itself;
Code <?if($GROUP_ID$='4' || $GROUP_ID$='X')?>Your menu template <?endif?> You can chain as many necessary boolean (true/false) operations into these statements, so for example, if you added an additional group that required access to this menu; Code <?if($GROUP_ID$ == '4' || $GROUP_ID$ == 'X' || $GROUP_ID$ == 'Y')?><?else?><?endif?> Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
| |||
| |||