Product support

Visit this product's website for support.


This plugin extends Rainlab Blog and Pages.

  • Replace default Markdown editor with WYSIWIG richtext editor, change it's toolbar buttons.
  • Allows to change post author
  • Allows to replace original featured images upload field with one featured image selectable from Media manager
  • Add custom fields to blog post form (string, text, switch, datetime, repeater)
    • Repeater fields and labels are easily configurable
  • Option to hide Content tab and field when using {variable} tabs and default Content tab is little bit confusing.
  • Add new fields to static Menu items
    • Notes (textarea)
    • Image (mediafinder)
    • Color (text)
System tools
  • PHP info overview
  • Custom fields for backend administrator's form
Twig extensions
  • New functions
    • getImageSizeAttributes() to automatically add width and height to img tag
    • Bypass |_ and |__ filters if Rainlab Translate plugin is not installed.
Report Widgets
  • Cache cleaner
    • There is a dashboard widget that cleans cache files and folders.
    • It doesn't use Artisan cache:clear so it works on sites where putenv() function is disabled.
  • Optimize DB (only sqlite is supported yet).
  • Force login
    • When placed in page, layout or partial and allowed in Plugin's settings, forces login to backend area.
    • Useful while testing pages (or whole site) to limit access to logged in administrators only

Small Extensions

Set of small tools for Rainlab.Pages and Rainlab.Blog plugins .


GitHub clone into /plugins dir:

git clone https://github.com/jan-vince/smallextensions

OctoberCMS backend

Just look for 'Small Extensions' in search field in:

Settings > Updates&Plugins > Install plugins


You can set permissions to restrict settings page of this plugin.

Rainlab.Blog Extension

OctoberCMS > Backend > Settings > Small Extensions > Blog

Depends on: Rainlab.Blog plugin!

Rainlab Blog is a great plugin, but none of my clients is happy with MarkDown syntax to edit posts.


  • WYSIWYG editor

    • Enable to switch between default MarkDown or OctoberCMS's Rich editor.
    • Allows you to add custom toolbar buttons.
  • Change post author

    • Adds post author field with administrators dropdown
  • Link Rainlab User

    • Adds Rainlab User field with users dropdown (but will be visible only if Rainlab User plugin is installed)
  • Custom fields

    • Adds selected extra fields to blog post editing page on More tab (available fields: API code, string, text, switch, date&time, repeater (as notes) and Media image)
    • Allow to replace original featured images upload field with one featured image selectable from Media manager

Rainlab.Pages Extension

OctoberCMS > Backend > Settings > Small Extensions > Static pages

Depends on: Rainlab.Pages plugin!


  • Hide Content field

    • Allow to hide default Content tab and field from Pages editing page.
    • Useful for those, who uses {variable} fields and are little bit confused with default secondary content tab.
    • As of version 1.2.17 of Rainlab.Pages plugin custom fields are placed in secondary tabs container by default - by allow Hide Content field, all custom fields will be moved to primary tabs container.
  • Enable Menu notes

    • If on, new tab Notes and a field Note is added to Menu items editing popup window.
    • text is then accessible from page/layout from {{item.viewBag.note}}.

System Extension

OctoberCMS > Backend > Settings > Small Extensions > System


  • Custom fields
    • Adds extra fields to backend administrators form (currently only field description)

Twig Extensions

New functions

  • getImageSizeAttributes(image)

    • Get image dimensions for use in <img> tag like: <img src="{{image.getPath}}" {{getImageSizeAttributes(image)}}>
    • Will output <img ... width="123" height="123">.
  • |_ (trans), |__ (choice)

    • If Rainlab Translate plugin is not present, bypass trans and choice functions

Report Widgets

Cache cleaner

There is a dashboard widget that cleans cache files and folders.

It doesn't use Artisan cache:clear so it works on sites where putenv() function is disabled.

Optimize database

There is a dashboard widget that optimize database.

Supported databases and used commands:

  • SQLite - VACUUM


 Force login

You can place forceLogin component to your page, layout or partial.

Than if you check Allow force login checkbox in Plugin's settings, visitors will be redirected to backedUri configured in /config/cms.php.

Useful when you need to limit access to several pages or whole site to only administrators while testing.

My special thanks goes to:
OctoberCMS team members and supporters for this great system.
Joel kyber for his photo I have used in the plugin banner.
Font Awesome for Universal access symbol.

Created by Jan Vince, freelance web designer from Czech Republic.

  • Found the plugin useful on 20 Feb, 2021

    Hi Jan,

    It's a great plugin and it does all the work for me. Thank you so much.

    At a small point I need your support. How do I add multi-language support to the menu notes? Ranilab translate support.

  • Found the plugin useful on 1 Oct, 2020

    Works! But documentation is not updated and complete. Images for Static Pages do not need a fix anymore and twig code for that is: item.viewBag.image. Would be nice to be able to add custom fields to CMS, Static Pages and Blog like the plugin "CustomFields" so one of this plugin could be saved. :) With custom fields in the plugin f.e. a template selection can be made (for article, video or gallery posts etc.).

  • author

    Replied on 1 Oct, 2020

    Hi and thanks for comment - I will update docs as soon as I have some spare time :)

    Best regards,


  • Found the plugin not useful on 29 Apr, 2020

    I don't understand what's wrong with this plugin. When I edit blogs with RichEditor, regardless of whether I align an image to the left or the right, it ALWAYS aligns to the right. It doesn't change the assigned classes. If I try change the classes manually, it just changes them back. Please assist.

  • author

    Replied on 29 Apr, 2020

    Hi Marco,

    my plugin only replaces original Markup editor with built in Richeditor. So problem with picture alignment my plugin cannot solve (or even cause).

    Generaly when you insert picture inside an editor you can click on it and in popup menu you can control it’s alignment with second icon. Also you can change picture’s behavior by clicking on a Star icon.

    If you need more assistance, you can ask on OctoberCMS forum, on GitHub or on Slack.

    Anyway thanks for trying my plugin.

    Best regards,


  • Found the plugin useful on 14 Mar, 2018

    "Allows to replace original featured images upload field with one featured image selectable from Media manager"

    This feature alone is worth having in any plugin list. Thank you very much for creating this plugin. A true "must have"!

  • author

    Replied on 15 Mar, 2018

    You are welcome :)

  • Found the plugin useful on 11 Nov, 2017

    The thing I love about October is the quality of work that developers bring to it. And Jan absolutely hits the mark with this. While I prefer the markdown editor for the blog, having the option to make it WYSIWYG for clients is invaluable. The PHP overview is a nice touch. It's a plugin that bleeds quality and care.

    Because of it, I'm going to install his other plugins, confidently knowing that he's made them both powerful and user-friendly.

  • author

    Replied on 11 Nov, 2017

    This is only a small plugin but thank you very much for your review :)


  • Found the plugin useful on 26 Nov, 2016

    Great, simple and working plugin, thank you! :) It just wonder if I could manipulate editor's options (remove some styles, add another ones, etc.)

  • author

    Replied on 26 Nov, 2016

    Depends on what you need.

    If you need new paragraph formats, you are probably looking for this.

    If you just only need CSS classes for editor's content, look in OctoberCMS backend in Settings > Editor settings > Markup classes.

    And I will publish today an update to allow custom editor toolbar buttons.

    Hope this helps :)

    Have a nice day...


Added file field to Blog custom fields repeater

Sep 14, 2020


Allow Twig extensions if not explicitly disabled

Sep 02, 2020


Fixed artisan Blog post creation (thanks mbroadhead)

Sep 16, 2019


Fixed raw SQL in Optimize DB report widget

Jun 09, 2019


Added Optimize DB report widget

Jun 08, 2019


Better detection of missing Translate plugin

Jan 28, 2019


Fixed API Code field (thx SalocinDotTEN)

Sep 06, 2018


Fixed unintended deletion of user when blog post is deleted (thx laurensmartina for issue)

Aug 27, 2018


Added option to link Rainlab Blog post and Rainlab User

Mar 15, 2018


Fixed widget translation

Feb 14, 2018


Fixed translation

Feb 08, 2018


Fixed Blog Post plugin check

Feb 08, 2018


Added fully configurable repeater fields and labels

Feb 08, 2018


Added new custom Rainlab Blog columns 'text' and 'repeater'

Feb 08, 2018


Added option to allow extra fields in backend administrator\'s form (now only description is available)

Feb 07, 2018


Fixed forceLogin redirection logic

Feb 01, 2018


Added translations for forceLogin component

Feb 01, 2018


Added forceLogin component that can be used to force login to backend area before visiting a page

Feb 01, 2018


Fixed report widget

Jan 30, 2018


Added option for report widget to clear thumbnails

Jan 30, 2018


Fixed typo in cs locale

Jan 18, 2018


Added Report widget to clean cache files and folders (for those affected with putenv() disabled problem)

Jan 18, 2018


Fixed typo in translations

Nov 17, 2017


Twig function to be enabled by default in settings

Nov 17, 2017


Added trans and choice functions to bypass |_ and |__ twig filters if Rainlab Translate plugin is not installed.

Nov 17, 2017


Added new Twig functions section

Sep 13, 2017


Added server info tab with PHP info data

Sep 06, 2017


Changed field type colorpicker to text only. Small change in Settings UI. Fixed some typos.

Sep 06, 2017


Labels can be added to blog custom fields just right in the Settings

Jul 20, 2017


Fixed settings translation for EN

Jul 19, 2017


Added options for menu item image (imagefinder) and color (colorpicker)

Jul 19, 2017


Added extra blog image columns for title and description

Jul 14, 2017


Changed column type for repeater to 'text' instead of json (thanks CanThis)

Jun 30, 2017


Fixed typo in fields.yaml (thanks Jorge Noguera)

Jun 28, 2017


Check for singed in user in plugin's boot method

Jun 12, 2017


Check permission for authors list and set default value for logged in user

Jun 10, 2017


Disabled is_activated check for backend user as this is not needed

Jun 10, 2017


Added post author field with administrators dropdown

Jun 09, 2017


Editor toolbar buttons input field changed to textarea to support larger input (thanks kealsera)

Jun 07, 2017


Removed Rainlab Blog code dependency

Jun 03, 2017


!!! As of version 1.2.7 of Rainlab.Pages, custom fields are moved to secondary tabs area by default. If "Hide Content tab" setting of this plugin is set, custom fields will be moved back to primary tabs and secondary tabs container will be hidden.

May 15, 2017


Small change in plugin category name

May 15, 2017


All custom fields allowed while creating new blog post (previously allowed only on existing records)

Apr 16, 2017


Added option to replace Blog featured images with one featured image selectable from Media manager

Apr 16, 2017


Changed update class name to prevent installation exception

Apr 14, 2017


Added extra blog image column

Apr 14, 2017


Added option to hide content tab on Rainlab.Pages page

Apr 05, 2017


Changed menu order number

Apr 05, 2017


Added Custom fields for Blog posts (API code, string, switch and datetime)

Jan 19, 2017


Fixed typo in permissions code (thanks Christopher19815)

Jan 12, 2017


Field to set editor custom toolbar buttons

Nov 26, 2016


Detect Rainlab.Translate plugin and support translatable WYSIWYG editor

Oct 24, 2016


Added extra Notes tab to Static Menu items in Rainlab.Pages

Oct 14, 2016


Added Rainlab.Blog WYSIWYG editor extension.

Oct 12, 2016


First version of Small Extensions

Oct 12, 2016