General Information
Learn about categories - a fundamental element of the future contests structure.
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:
Women
The Best Women Portrait
Another Cool Photo Contest
...
Pets
Cats
The Best Sleepy Cat
Another Cat Contest
...
Dogs
My Funny Dog
One More Dog Contest
...
Cars
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 utilises the standard CMS categories. You can display up to 3 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 front-end. Also, contests inherit view access levels.
All this allows having a low coupling and more flexible display and structure.
Last updated