zanni
Total posts: 70
10 Дек 2014 19:49

Is there a way to restict parts of the Jomsocial such as group view or creation and event creation in the Jomsocial calendar.

My links look like this but I cant seem to get the restriction to them to work. Any suggestions?

D. Ashley

Последние изменения: 19 Дек 2014


pepperstreet VIP
Total posts: 3,837
10 Дек 2014 20:17

As long as there are URL parts which can distinguish the JomSocial tasks and views... it should work.

zanni My links look like this

Sorry, can't see any screenshots or URLs. (?)


zanni
Total posts: 70
11 Дек 2014 00:33

Hi,

Sorry I forgot to add the paths: http://www.womenabout.org/cms/wab2.5/index.php?option=com_community& ;view=events&task=create&Itemid=1218

http://www.womenabout.org/cms/wab2.5/index.php?option=com_community& ;view=groups&task=mygroups&Itemid=497

D. Ashley


Sergey
Total posts: 13,748
11 Дек 2014 02:57

SHow screenshot how you created your restriction. Did you enable restriction Emerald plugin?


zanni
Total posts: 70
11 Дек 2014 18:30

Screen Shot 2014-12-11 at 12.45.04 PM

Screen Shot 2014-12-11 at 12.41.50 PM

These represent 2 different tasks: 1) to restrict group views or creation in JS and 2) to restrict event creation in JS.

D. Ashley


pepperstreet VIP
Total posts: 3,837
11 Дек 2014 20:29

Read the description carefully and compare the given example. The URL parameters are **separated by the "&" sign. You have mixed the informations in your first value field. And also in the second URL parameter.

zanni http://www.womenabout.org/cms/wab2.5/index.php?option=com_community& ;view=events&task=create&Itemid=1218

Try this:

view
=
events

AND

task
=
create


zanni http://www.womenabout.org/cms/wab2.5/index.php?option=com_community& ;view=groups&task=mygroups&Itemid=497

view
=
groups

AND

task
=
mygroups


The ItemID is not necessary, IMHO.


pepperstreet VIP
Total posts: 3,837
19 Дек 2014 02:23

@zanni
Issues solved? Any feedback?


zanni
Total posts: 70
19 Дек 2014 16:32

Hello,

Yes, I was able to come to a resolution with this issue. I will, however download your example for future reference.

Thank you for your help, D. Ashley

Работает на Cobalt