65 Posts
Wissner
5 years ago
0
Topic

Hi,

I use the multi site functionality of seblod with about 20 subdomains, each displaying different categories, content, menues and so on.

I gave my categories different access levels, so that they are only displayed in the site surroundings where they are needed.

Therefore, when I use a joomla "article category field" in my site form, only the categories of the domain, I am logged in, are displayed.

Now I need to create a dynamic field, which displays only some categories of the domain, I am logged in. Is there a way the get the access level of the current site and use this in my dynamic field? Like 

"SELECT title as text, id as value from #__categories WHERE access in ($user->groups) and note='special'  "'

Of course this code does not work, it shall only show, what I want.

Thank you for any hint  :-)

Wolfgang

Get a VIP membership