#180

Product support

Visit this product's website for support.

Categories

  • Marketing
  • Miscellaneous
  • Utility

Introduction

This plugin associates a "RJ Gallery" to a Blog plugin post.

You will be able to work with the gallery from the blogPost component.

Requirements

Installation

  • Install dependencies:
    • php artisan plugin:install RainLab.Blog
    • php artisan plugin:install Raviraj.Rjgallery
  • Install the plugin:
    • php artisan plugin:install Martin.BlogGallery

Use

  1. Create your gallery on RJ Gallery plugin
  2. Create or edit a blog post
  3. Goto "Manage" tab
  4. Select a gallery

Display gallery on post page

You can insert the RJ Gallery component inside your blogPost component html like this:

{% component 'gallery' gallery=post.rjgallery %}

Access gallery object

  • Get gallery info:

    {{ post.rjgallery }}
  • Get gallery images
    {{ post.rjgallery.images }}
  • Found the plugin useful on 12 Nov, 2017

    别忘了,先要在CMS的Post页面上添加一个rjgallery组件:gallery或galleryslug。

  • Found the plugin useful on 25 Oct, 2016

    Excellent! Works perfectly.

    ~ Thanks for the clarity Michael Wanyoike.

  • Found the plugin useful on 2 Aug, 2016

    Managed to get it to work. Though the documentation isn't clear. The component should be added on the Blog Post CMS page, not on the post itself. Also the RJ Gallery component should be dragged onto the CMS page, the gallery id doesn't matter, it won't affect posts that haven't specified the gallery id.

1.0.1

Fix for plugin uninstall

Mar 20, 2016

1.0.0

First version of Blog with RJGallery

Mar 15, 2016