85 Posts
yuberlin
11 years ago
8
Topic
In a multi-site i want to use the "article (related)" field to crosslink articles. That works so far. But is there a possibility to set the categories (from where the articles are displayed) in this field dynamic? Every site in my multi-site page has its own form so i could enter the value when creating menu-item for the form (advanced options).

So this is what i want:

Site 1 -> User 1 can choose from articles in category 1
Site 2 -> User 2 can choose from articles in category 2

What solutions can be used to achieve this? I can add multible article (related) fields and show them based on user rights.
But this is like the dirty way because i will end with about 10-12 fields.

Best way would be to fill the field "categories" within the field "article (related)" with a dynamic live value.

Or are there better ways to handle related articles in multi-site environments?


Get a Book for SEBLOD
10 years ago
1
Level 1
Hi yuberlin,

Thank you for your post.
Please check if you set a specific "access level" to your categories, at least one access level per one website.

Regards,
Mehdi.
85 Posts
yuberlin
10 years ago
0
Level 2
View Access Level of all categories is public. I set access rights for editing in the categories for different user groups.
I use normal joomla categories, not seblod. For choosing categories when editing content, these access rights work. Usern can only post in categories, they are allowed to. But when choosing related articles, they can choose articles from all categories i configure in related article field. So how can i restrict access of related articles only to categories users have edit rights?


10 years ago
5
Level 1
Yuberlin,

If you define several websites with multi-sites of SEBLOD. Several level access was automatically created. You have a set of an access levels per website.
If you would like to set categories for website "SITE1" for example, you should set access level "SITE1" for all of these categories.

Regards,
Mehdi.
85 Posts
yuberlin
10 years ago
4
Level 2
Sorry i dont understand. There are 2 kinds of Access Level: Viewing and Editing. Everybody can view these contents. Editing rights are site based, thats right. What is your suggestion? To make a field for related articles for every of theses user groups and enter access rights in content type?
10 years ago
3
Level 3
yuberlin,

By access level i mean "public", "registered", "guest", "special". You can find a documentation about that in this link.
You can see all of your access levels by clicking on "Users -> Access Levels".

Regards,
Mehdi.
85 Posts
yuberlin
10 years ago
2
Level 4
Access Level for all categories is public. I tried to make new (public) access levels and gave them to my users.
So access levels are:
public
- site1_public
- site2_public

My users are assigned to these groups, but there are still all articles available from all categories i add to the related articles field.

So its not possible with just one article related field, right?
10 years ago
1
Level 5
Normaly, when you use SEBLOD multi-sites, all access levels are created automaticaly.

Regards,
Mehdi.
85 Posts
yuberlin
10 years ago
0
Level 6
Unfortunately it doesnt work. I testet it with a new site in multisites and default generated users. Then i set the category access level to the generated public user. Problem still remains. Users of other sites have still access to entries of this category.
Get a VIP membership