Tag List Component for CMS

Now that I am easily adding new posts to my blog, I find myself in need of the Tag List component to work with a Tag page for each that is mentioned in the CMS Docs:

Tag List

Display every tag used in a Collection, with optional post counts.

The Tag List component renders every tag found in a CMS collection as a list of links, optionally with the number of posts that use each tag. Combined with a tag page that filters posts by tag, it’s the building block for a “Browse by topic” sidebar or a tag cloud.

we’re working on the Tag List component, unfortunately we didn’t manage to include it in the CMS2 release. We’re hoping to have it available in the near future :slight_smile:

I need this too!

It would also be very helpful to have a component to list tags in neat form (e.g. as a horizontal row of buttons) e.g. at the end of an article, with each tag linking to the tag page. I’ve managed to build a custom component to do this but there are lots of problems - e.g. the twig outputs each tag name followed by a newline, so it’s hard to style things as I wish.

Incidentally, I have to put a query string in the url for each tag page and can’t use pretty urls, which are working fine for everything else. (e.g. /tag/?tags=mytag rather than /tag/mytag )

And so do I. The CMS documents are updated with the tag list component but it is still not available. Not in 3.0.13 BETA either, which is a pity. Unless the tag list component requires a paid license for the CMS, which it hopefully doesn’t.

The tag list component is being worked on and has not shipped in a build yet, hopefully soon!

Hey Dan,
So, I just bought your Pro subscription. COuld make Categories work. But struggle with tags.
Even creating a field "tag"and have it as list would not work. And the related item module needs “By tag”. I would prefer by Category.. What is the idea?

Hi @pfroelicher

Could you explain what you’re trying to do? If you have categories working, you should be able to create a field called “tags” and have it work in the same way as categories.

At the moment, the related items module only works with tags. We will look into adding category support in the future :slightly_smiling_face:

@ben @dan Could you make a video on how to set up blog post search based on tags? I can’t get it to work.