Welcome Block
|
Posted
#80082
(In Topic #16264)
|
|
|---|---|
|
Well-settled |
I am trying to edit the welcome block so that certain content is visible to different usegroups. EG: The message "Why dont you register?" would be visible to guests, but not members. On a similar topic…i only want certain usergroups to have the ability to add blog content. I have followed the tutorial that says "Have personal categories" and edited the permissions so that only a couple of usegroups can create a blog, but i want to be able to edit the links so that they appear different for those capable of submitting. For example; In the 'features' block there is the link "Blog". For those capable of submitting a blog this works fine, but the link is still visible to those who cannot. When they click the link they get an error message. is there any way of making that link only visible to those who can submit a blog? |
|
Posted
|
|
|
Community saint |
Use if_in_group to differentiate between the types of users, always remembering that ocPortal ID's the Guest or Visitor group as '1', e.g. Code
[semihtml]
This will get you something like this … I'll leave the second part of your question to somebody more clued-up in that area.
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
|
Posted
|
|
|
Community saint |
Code
[if_in_group=2-6][block param="collab_features" caption="Contributing editors" type="tree" tray_status="tray_open" silent_failure="0"]side_stored_menu[/block][/if_in_group]
Bob |
|
Posted
|
|
|
Community saint |
On a side note… To hide the individual menu link, enter into the menu editor, select the menu item and look for the check/tick box that's labeled "Only display link if there is permission" and tick it. I believe the groups that have permissions to view the blog will also have permission to see the link.
Last edit: by sholzy
Steve
|
|
Posted
|
|
|
Well-settled |
Ollie |
1 guests and 0 members have just viewed this: None
Control functions:







Last edit: by