This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
60 Posts
Wolfgang Claus
1 month 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 Book for SEBLOD