I'm new to the Craft CMS framework and have a question about tags. How can I create a new tag group?
You can create a tag list by hand via the admin panel > settings > Tag Groups > New Tag Group. This is a way I can't use for plug-in development. So far as I know, I have to use the following code:
$tagGroup = new TagGroup(); $tagGroup->name = 'GroupName'; $tagGroup->handle = 'GroupHandle';