Categories like Fields is a fundamental element of the future contests structure. Further you will require to assign the categories to contests and that is why it is a good idea to start getting familiar with the component administration from this section.
The categories have a tree structure and that allows you to organise a chain of subcategories.
Therefore categories and subcategories help you to store and display your contests logically. Imagine the following structure:
- The Best Women Portrait
- Another Cool Photo Contest
- The Best Sleepy Cat
- Another Cat Contest
- My Funny Dog
- One More Dog Contest
- The Best Tuning Contest
- Some Car Contest
Using the categories you structure the contests and make the navigation easier for users. To achieve this result NorrCompetition utilizes the standard CMS categories. You can display up to three levels of categories.
Though every contest should belong to a category it does not inherit ACL permissions from it. Also the contest route does not contain category in it. So the category title won’t be shown in the URL of the contest.
But contests inherit the state of categories. For example, if the category is unpublished, you won’t be able to access the contest which belongs to unpublished category on the frontend. Also, contests inherit view access levels.
All this allows having a low coupling and more flexible display and structure.