Each of these 4 content types/collections require different page layouts
The problem
The client wants to have multiple dynamic lists (on the Homepage and Main blog page) on the site where they can āHero/Featureā in a single list from each of these 4 different collections. For example on the homepage they want a slider that features hand picked articles that could be from any of the four categories via a switch in the collections, and on the main blog page they want to be able to hero/feature a few articles at the top, then have a grid below that combines all 4 categories into a list sorted by most recent.
Workarounds
I have scoured the forums and tried to find people with this similar problem. One workaround I have looked into is creating 1 collection list that encompasses all 4 categories, and build 4 different layouts for the one template page that only displays the layout corresponding to the category they select from a dropdown list in the collection. This however creates a URL issue I donāt want. For example I now get:
Nice work on your research, and yes itās a difficult tradeoff choice;
A Split collection approach gives you content-type-specific base paths + field arrangements + collection page layouts - but itās much harder to create the combined views youāre after.
A Unified collection approach gives you very easy content combinations and filtering, but you have to work with one single item-record design, one collection page, and your paths are limited.
You can overcome many of the Split approach limitations using script, but itās rather messy to setup right. Likewise you can overcome many of the Unified approach limitations with a careful use of filters and page layout āpartsā.
As long as/blog is a folder and /news, etc are static pages.
Each would be a listing of that content typeā¦ here are all of our recipes, etc.
Thatās easy to build with collection lists and filtering no matter whether you choose to go split or unified.
Your item ( aka individual post ) paths though, are limited. You can do either;
e.g. /recipes/best-blueberry-muffins with split, or
e.g. /post/best-blueberry-muffins with unified.
The only production-worthy way around the path limitations is a reverse proxy, which adds a lot of path capability but the tradeoff is setup time and configuration complexity.
Thanks for the info! Looks like I will have to go for the unified approach, I feel like this will provide less niggles than the split approach.
Only issue I am having now is I canāt create a folder to contain my static static category pages as there is a URL clash with my unified collection URLā¦ am I missing something here?
You can have a static page with the same slug as a collection page, but you cannot have a folder with the same slug as a CP. Reason is path conflict. How would it know if /blog/news is a static page in a folder, or a collection item to render?
Would be nice if Webflow had a more advanced routing mode available.
Iām trying to re-create a section in our website. Currently itās in card format(itās a client story section) and they want it to be in CMS form but the last card should be hard coded. Is this possible?