This site uses cookies and similar technologies.

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

I understand
6 Posts
Sema
6 years ago
5
Topic

Hi to all, I'm new to Seblod and I can't understand how to complete a task. I need to create a module that shows all the articles created for the site, except some categories. I already learned how to make simple search / lists, but I still have 2 point that I cannot do

  1. create a list / search that took all articles from one category and all its subcategories
  2. create a list that exclude all articles from one or more categories and all their subcategories
Could someone help me?
Thanks a lot!

Get a Book for SEBLOD
6 years ago
2
Level 1

Hi Sema,

Thank you for your post and welcome to SEBLOD forum.

in order to list or exclude the articles of one category and all of its subcategories, you should use fields "Category Left" and "Category Right" in the first stage of the search process.

Regards,
Mehdi.

6 Posts
Sema
6 years ago
0
Level 2

May I ask you the pleasure to show me in screenshots how to configure the 2 point below? I really tried in several way without success...

6 Posts
Sema
6 years ago
0
Level 2

Octopoos, what's "category left" and "category right" of your first post?

6 years ago
1
Level 1

Hi Sema,

You can list the articles of one category and all of its sub-categories, you can add the field "Article Category Id" to the search form of your search type.

After that, you can click on button 3 in order to select option "Nested Exact" for the field "Article Category Id".

Then, click on button "+". You will have to settings "collection" and "Table". Please select for the parameter "Table" the option "#__categories".

If you follow theses steps, you will obtain all articles of one category and all of its sub-categories.

Regards,
Mehdi.

6 Posts
Sema
6 years ago
0
Level 2

This correctly worked but... is there also a way to select "multiple categories" and their subcategories?

Get a Book for SEBLOD