Changing the view of the Asset page with Entry Points
You can create several Asset pages with different views on your category structure. It means that every Assets page can show different assets based on your configuration using entry points.
For example, let’s say that you created the main page called “Media library” and added several sub-pages such as “Photography”, “Video”, and “Logo” as shown below.
When you visit the Logo page, you want to see only logo categories and not all your photography assets. You can achieve this by using entry points to show a part of your category tree on an Assets page.
Entry points are groups of categories from your category tree which you can place on an Assets page. While this helps to create a clear navigation structure with dedicated pages for different asset types (in categories), there are some considerations to keep in mind when considering entry points.
Some things to keep in mind:
- Users can only upload assets in any category available in the entry point. In the example above, users can not select a logo category when they are uploading on the Photography page.
- Users can only search inside the categories listed in the entry point. Again from the example: when you are looking for a logo file on the Photography page, you will get zero results.
- If you have multiple child categories from only one category in the entry point, you can consider adding only these child categories. That way, users will immediately see the chilc categories when they open the category dropdown.
Tips for entry points:
- It is best not to combine child categories from different parent categories without including their parent categories in an entry point. Doing this will mess up the view of your category structure on the page.
- When dividing categories across different pages, you can also create an extra page with an entry point containing all your categories. On this page, users can search across all categories in one go. Often, this page has limited access, and only advanced users can view the page.
- You can use categories from other spaces in an entry point.
- Use the "Automatically add all (future) child categories" feature. When checked, all child categories of a parent category will be included. When you add a new subcategory later on, it will also be included in the entry point. This works only when parent categories are included in the entry point. And when checked, you can not exclude a specific category from an entry point.
- Clicking "Home" in the breadcrumb will return to the 1st level of categories in your entry point. If you have no parent categories included, clicking home will show you the assets from all categories in your entry point.
Creating an entry point
Entry points are created in the Admin console, in the Assets extension.
As per our example, let's create an entry point for the photography page. Click "New entry point" and name it "Kadanza - Photography"
In the detail view, you can select the categories that you would like to include in the entry point. As Photography has several child categories, we want to
- Select all child categories of Photography
- Exclude the main category Photography, so the category dropdown immediately shows the child categories
- Check "Automatically add all (future) child categories", so all child categories of the "Kadanza" category are included.
After saving, you can navigate to the Photography page and open the editor. After clicking the configuration icon, you can select the newly created entry point in the configuration modal.
And after saving this change and publishing the page, you will see the selected category structure in the category dropdown.
Please keep in mind that adding more sub-pages than main pages will give you a clear and organized Main Navigation menu.