#38

Product support

Get help in the plugin support forum.

Categories

  • Miscellaneous
  • Utility

This extension to the RainLab.Blog plugin enables tagging blog posts and displaying related articles.

These plugin(s) are required for the plugin:

The following themes use this plugin:

Blog Tags Extension

This plugin is an extension to the RainLab.Blog plugin. This extension enables tagging blog posts and displaying related articles.

Websites using Blog Tags Extension

Keios Solutions, All of the Lights

Want to show how your website is using this plugin? Feel free to get in touch with a review.

Related Posts

The blogRelated component can be used to display a post's related articles.

  • Slug - The target post's slug parameter.
  • Results - The number of related posts to display.
  • Sort by - How to sort the related articles (by relevance, title, published date, or updated date).
  • Order - Direction to sort the results (ascending or descending).

Tag List

The blogTags component is can be used to display a list of all tags.

  • Hide orphaned tags - Hides tags with no associated posts.
  • Results - The number of tags to display.
  • Sort by - How to sort the tags (by number of posts, title, or created date).
  • Order - Direction to sort the results (ascending or descending).

Tag Search

The blogTagSearch component returns all posts with a particular tag.

  • Tag - The URL parameter used to search for posts.
  • Paginate results - Determines if the results are paginated or not.
  • Page - The URL parameter defining the page number.
  • Results - Number of posts to display per page.

This component also provides several pagination variables. They are totalPosts, postsOnPage, currentPage, resultsPerPage, previousPage, nextPage, and lastPage. For an example of how to paginate your results, please review the pagination partial. The posts may be loaded through the Page URL parameter, or through the AJAX framework via the onLoadPage() method.

  • Found the plugin useful on 22 Jan, 2017

    Hi! tags produced only in English... It is impossible to expand the Russian language?

  • Found the plugin useful on 16 Dec, 2016

    Works as expected. Great work, thanks for doing this! :)

  • Found the plugin not useful on 19 Oct, 2016

    I get the following error while installing the plugin

    SQLSTATE[HY000]: General error: 1005 Can't create table `u847981389_tux`.`#sql-88f_d5eb590` (errno: 150 "Foreign key constraint is incorrectly formed") (SQL: alter table `bedard_blogtags_post_tag` add constraint bedard_blogtags_post_tag_post_id_foreign foreign key (`post_id`) references `rainlab_blog_posts` (`id`) on delete cascade)

  • Found the plugin useful on 17 Oct, 2016

    Works well. A muss have for a blog

  • Found the plugin useful on 6 May, 2016

    you have a some unresolved bug. if you come to ...blog/tags/<nonexistent tag> you will get an exception "Division by zero". You have to check existing of tag before.

    I used fast hack in controller; if (!Tag::where('name', $this->property('tag'))->first()) {

            // for displaying tagname on search page
            $this->tag = new Tag(); 
            $this->tag->setNameAttribute($this->property('tag'));
    
            $this->postsOnPage = 0;
            return;
        }

  • Found the plugin not useful on 20 Dec, 2015

    there is no minimum amount to get started

  • Found the plugin not useful on 21 Nov, 2015

    What's the purpose of this plugin if I can't click in the related post or in the tabs?

  • author

    Replied on 27 Nov, 2015

    There is nothing preventing you from linking to related posts. If you need help, feel free to open a support thread.

  • Found the plugin useful on 5 Nov, 2015

    some useful thanks!

  • Found the plugin useful on 24 Mar, 2015

    Thanks! I found this really quire useful. Especially the related posts feature.

  • Found the plugin useful on 4 Jan, 2015

    works good.

1.4.0

!!! A slug is now created for each tag.

Apr 18, 2017

1.3.7

Add slug field to tags (Fl0Cri)

Apr 18, 2017

1.3.6

Add German translation (justb81)

Feb 24, 2017

1.3.5

Add Hungarian translation (gergo85)

Feb 08, 2017

1.3.4

Add MIT license (gergo85)

Feb 06, 2017

1.3.3

Use native taglist and add translation file.

Feb 05, 2017

1.3.2

Add slugify configuration option (vojtasvoboda)

Dec 04, 2016

1.3.1

Database maintenance. Updated all timestamp columns to be nullable.

Dec 04, 2016

1.3.0

PostgreSQL support and various bug fixes

Oct 02, 2016

1.2.1

Removed getters to make plugin more accessable.

Feb 25, 2015

1.2.0

Upgrades for RC, and adds several new features.

Feb 25, 2015

1.1.2

Replace deprecated method

Jan 18, 2015

1.1.1

Bug fix

Jan 12, 2015

1.1.0

Added optional pagination to the blogTagSearch component.

Jan 12, 2015

1.0.2

Minor fix

Dec 24, 2014

1.0.1

First version of Blog Tags Extension

Dec 23, 2014