143

Product support

Visit this product's website for support.

Categories

Inspired by Blog Tags Extension and Blog Series plugins Blog Taxonomy adds both tags and series functionality in a high quality and reliable way. Every post could belong to a single series and at the same time it can have multiple tags assigned.

Categories are meant for broad grouping of your posts. Think of these as general topics or the table of contents for your site. Categories are there to help identify what your blog is really about. It is to assist readers finding the right type of content on your site. Categories are hierarchical, so you can define sub-categories. Tags are meant to describe specific details of your posts. Think of these as your site’s index words. They are the micro-data that you can use to micro-categorize your content. Tags are not hierarchical.

And series could help you to organize your posts in a single flow of related posts.

If you like the plugin, please rate it and leave a review if you have something to say.

Please also check other nice plugins:

Components

Blog Taxonomy

Taxonomy extension for RainLab Blog plugin.

Table of Contents

Inspired by Blog Tags Extension and Blog Series plugins Blog Taxonomy adds both tags and series functionality in a high quality and reliable way. Every post could belong to a single series and at the same time it can have multiple tags assigned.

Categories are meant for broad grouping of your posts. Think of these as general topics or the table of contents for your site. Categories are there to help identify what your blog is really about. It is to assist readers finding the right type of content on your site. Categories are hierarchical, so you can define sub-categories. Tags are meant to describe specific details of your posts. Think of these as your site’s index words. They are the micro-data that you can use to micro-categorize your content. Tags are not hierarchical.

And series could help you to organize your posts in a single flow of related posts.

Changes to Original Blog Plugin

Original blog categories were enhanced with ability to add posts while being on the single category page. They were also placed in a new tag-like style along with tags and series in their own Taxonomy tab of a backend CMS blog page.

Translate Plugin Support

Starting from 1.5.0 version Blog Taxonomy supports RainLab Translate plugin when it's installed. All tag and series fields could be translated.

Migration from Other Plugins

Starting from 1.12.0 version Blog Taxonomy supports migration from other plugins. Currently supported plugins are: BlogSeries.

The migration is done via console command:

php artisan blogtaxonomy:migrate PKleindienst.BlogSeries

Use -h or --help to get usage help.

Migration example output:

**************************************************
*     Migration from PKleindienst.BlogSeries     *
**************************************************

Migrating series
2 series found
Series "Series 1" => Blog Taxonomy Series "Series 1" (#3)
Series "Series 2" => Blog Taxonomy Series "Series 2" (#4)
All series have been migrated

Migrating related series
Relation "#4" => "#3" added
Relation "#3" => "#4" added
Related series have been migrated

 Do you want to assign newly created series to posts (already assigned Blog Taxonomy series will be overwritten) (yes/no) [no]:
 > yes

Migrating series assigned to posts
Series "#3" has been assigned to a post
Series "#4" has been assigned to a post
Migrated series has been assigned

Migration from PKleindienst.BlogSeries finished

Implementing Frontend Pages

The Blog Taxonomy plugin provides several useful components with basic markup for frontend usage. The default markup is not intended to fit to any existing frontend theme, it is just an example, so if the default markup is not suitable for your website, feel free to copy it from the default partial and replace the markup with your own.

Available components:

  • Post Series Navigation (seriesNavigation) - provides navigation within the series for a single post.
  • Posts in the Series (postsInSeries) - lists all posts in the supplied series.
  • Posts With the Tag (postsWithTag) - lists all posts with the supplied tag.
  • Related Posts (relatedPosts) - provides a list of posts related by tags.
  • Series List (seriesList) - displays a list of series.
  • Tag List (tagList) - displays a list of tags.

Post Series Navigation

Component seriesNavigation provides navigation within the series for a single post. You can display, for example, next and previous posts in the same series, show series details and link to its page, etc.

Component properties:

  • Post slug - get series navigation for the post specified by slug value from URL parameter; e.g. if post slug is :post the page URL must contain :post parameter which value will be used as post slug to retrieve the series;
  • Series page - CMS page which contains postsInSeries component and is used to display a single series content and posts;
  • Post page - name of the blog post page to display a single blog post content.

Posts in the Series

Component postsInSeries lists all posts in the supplied series. The component supports pagination and posts ordering.

Available properties:

  • Series slug - look up the series using the supplied slug value from this URL parameter; e.g. if series slug is :series the page URL must contain :series parameter which value will be used as series slug to retrieve the series;
  • Post order - attribute and direction on which posts should be ordered;
  • Page parameter - calculate pagination based on this URL parameter;
  • Items per page - how many items (if any) should be displayed per page, "0" displays all items;
  • Post page - name of the blog post page to display a single blog post content;
  • Category page - name of the category page to display a single blog category content;
  • Except posts - list of post ids/slugs (can be mixed together) separated by comma; these posts will be excluded from the list;
  • Except categories - list of categories ids/slugs (can be mixed together) separated by comma; posts with these categories will be excluded from the list.

Posts With the Tag

Component postsWithTag lists all posts with the supplied tag. The component supports pagination and posts ordering.

Available properties:

  • Tag slug - look up the tag using the supplied slug value from this URL parameter; e.g. if tag slug is :tag the page URL must contain :tag parameter which value will be used as tag slug to retrieve the tag;
  • Post order - attribute and direction on which posts should be ordered;
  • Page parameter - calculate pagination based on this URL parameter;
  • Items per page - how many items (if any) should be displayed per page, "0" displays all items;
  • Post page - name of the blog post page to display a single blog post content;
  • Category page - name of the category page to display a single blog category content;
  • Except posts - list of post ids/slugs (can be mixed together) separated by comma; these posts will be excluded from the list;
  • Except categories - list of categories ids/slugs (can be mixed together) separated by comma; posts with these categories will be excluded from the list.

Related Posts

Component relatedPosts provides a list of posts related by tags, e.g. posts which have some tags in common.

Available properties:

  • Post slug - get related posts for the post specified by slug value from URL parameter; e.g. if post slug is :post the page URL must contain :post parameter which value will be used as post slug to retrieve the related posts;
  • Limit - number of posts to display, 0 retrieves all related posts;
  • Post order - attribute and direction on which posts should be ordered;
  • Post page - name of the blog post page to display a single blog post content.

Series List

Component seriesList displays a list of series.

Available properties:

  • Display empty series - whether to show series which don't have any posts assigned or not;
  • Limit - number of series to display, 0 retrieves all series;
  • Series order - how series list should be ordered;
  • Series page - CMS page which contains postsInSeries component and is used to display a single series content and posts;
  • Fetch related posts - if enabled, the component will fetch related posts, so they are properly (as published) available via posts property of the series item; it does an additional request, so decreases performance a little;
  • Except posts - list of post ids/slugs (can be mixed together) separated by comma; these posts will be excluded from the post count and post list associated with the series;
  • Except categories - list of categories ids/slugs (can be mixed together) separated by comma; posts with these categories will be excluded from from the post count and post list associated with the series.

Tag List

Component tagList displays a list of tags. Can be used to build a tag cloud (because post count with each tag is available). It also can be used to retrieve a list of tags for specific post.

Please don't forget to use different aliases for components if you use the same component several times on the same page (presumably for different purpose)

Available properties:

  • Display empty tags - whether to show tags which were no assigned to any posts or not;
  • Tag order - how tags should be ordered;
  • Limit - number of tags to display, 0 retrieves all tags;
  • Expose total count - the component has totalCount property which would contain either overall amount of tags or amount of tags under "limit" only. For example you have 10 tags overall but you use a limit of 5. This will make component to display 5 tags only. With Expose total count enabled you could still get "10" in totalCount. And you'll get 5 otherwise;
  • Fetch related posts - if enabled, the component will fetch related posts, so they are properly (as published) available via posts property of the tag item; it does an additional request, so decreases performance a little;
  • Except posts - list of post ids/slugs (can be mixed together) separated by comma; these posts will be excluded from the post count and post list associated with the tag;
  • Except categories - list of categories ids/slugs (can be mixed together) separated by comma; posts with these categories will be excluded from from the post count and post list associated with the tag.

Leave this as false if you do not require a whole total count, because it will give you more optimised result

  • Include tag filter - whether to include a tag filter input or not. Tag filter is a text input with some JavaScript powered by mark.js that allows you to filter a tag list nicely. Use it if you have a lot of tags to display, because it would allow to search for a specific tag quickly. Possible values are "Never", "Always" and "When tag total count > limit". All of them are self-descriptive, but keep in mind that the last option should be used when both Limit and Expose total count enabled, because you'd get probably an undesired result otherwise. The component exposes tagFilterEnabled property which would be set to true when the filter assets are included and the filter could be used;

The default markup injects JavaScript into {% scripts %} placeholder so please make sure your theme has it. Also, the default code requires jQuery. If you do not have it, please make sure to adjust the code to fulfill your needs

  • Post slug - get tags for the post specified by a slug value from URL parameter; e.g. if the post slug is :post the page URL must contain :post parameter which value will be used as post slug to retrieve tags;

It is not required to set it to a real value unless you want to display tags specific for the post

  • Tag page - CMS page which contains postsWithTag component and is used to display a single tag content (its posts);
  • Tags page - CMS page which probably contains tagList component and is used to display all tags you have;

Related Series

Component relatedSeries provides a list of related series. The same list could be fetched for individual series by accessing its property related_series. The only difference is that the component fills urls for related series.

Available properties:

  • Series slug - look up the related series using the supplied slug value from this URL parameter; e.g. if series slug is :series the page URL must contain :series parameter which value will be used as series slug to retrieve the related series;
  • Series page - CMS page which contains postsInSeries component and is used to display a single series content and posts.
  • Found the plugin useful on 27 May, 2019

    Very good plugin, saved me from a lot of headaches when developing a series based website.

  • Found the plugin useful on 22 Mar, 2019

    Good extension for Blog, but I'm trying to set up page for posts in the series like the post list page in blog plugin, and cannot set the page meta title to the series name, or get any other series properties in template

  • author

    Replied on 22 Mar, 2019

    Hi! Thank's for review! Could you please use the public repository link on the left and open a new github issue describing what you want to achieve so I could help you to resolve the issue?

  • Found the plugin useful on 17 Jan, 2019

    This plugin addds to the blog app so well. It will most likely become a staple to my sites. One main thing missing is a feature image option for a series, but I am sure that will be coming.

  • author

    Replied on 17 Jan, 2019

    Thanks for your review! To be honest, yes, there's some work-in-progress with this plugin at the moment and featured images would be probably added too.

    Update: featured images are available in 1.4.0, feel free to update!

1.14.1

Fixed auto generated index being too long

Sep 02, 2019

1.14.0

Expose page parameter name for simple pagination

Jul 29, 2019

1.13.2

Added missing exclusions handling for series and tags

Jun 30, 2019

1.13.1

Fixed related posts component

Jun 25, 2019

1.13.0

Implemented exclusions by post/category for tag and series lists

Jun 20, 2019

1.12.0

Added functionality of migration from other plugins

Jun 18, 2019

1.11.1

Fixed migration to prevent a ghost bug on update

Jun 12, 2019

1.11.0

Implemented related series

Jun 11, 2019

1.10.0

Fixed default templates for posts with tags and series to show correct empty message on wrong pagination

May 17, 2019

1.9.0

!!! Internal directory structure was slightly changed

May 11, 2019

1.8.0

!!! Some properties of TagList component were either renamed or set to private, please check the changelog

Apr 17, 2019

1.7.0

Fixed a method to get real URL parameter names

Apr 03, 2019

1.6.0

Stop using default slug value for TagList (to allow valid empty slug)

Apr 02, 2019

1.5.4

Improved missing partials references so the backend expander could work correctly

Apr 02, 2019

1.5.3

Improved partials references so the backend expander could work correctly

Mar 10, 2019

1.5.2

Make translatable implementation truly optional

Feb 27, 2019

1.5.1

Fixed relation count condition for non-SQLite installations

Feb 08, 2019

1.5.0

Added Translate plugin support

Jan 29, 2019

1.4.0

Added featured images for series; series edit page enhanced; several minor tweaks for tags and series lists

Jan 25, 2019

1.3.1

Added missing slug generation for tags

Jan 23, 2019

1.3.0

Use another style to list required plugins

Jan 09, 2019

1.2.0

Update tag name validation rules

Jan 07, 2019

1.1.1

Skip extending Post form fields for a nested form case

Dec 27, 2018

1.1.0

Degraded from PHP7.1 to PHP7.0 to support the minimal required version for October CMS

Nov 27, 2018

1.0.0

The initial release of Blog Taxonomy

Aug 12, 2018

Upgrade to 1.8.0

In 1.8.0 version Tag Page option for Tag List component was internally renamed, so the component settings need to be revisited and saved again.

Also some Tag List component properties were turned into private properties (they were not supposed to be used in user templates anyway). Please refer to release notes and check if it may affect you.

Upgrade to 1.12.0

Starting from 1.12.0 version Blog Taxonomy supports migration from other plugins. The first supported plugin is BlogSeries.

The migration is done via console command:

php artisan blogtaxonomy:migrate PKleindienst.BlogSeries