Set of very simple extensions for OctoberCMS and it's plugins.
MIT License
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.
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
Change post author
Link Rainlab User
Custom fields
OctoberCMS > Backend > Settings > Small Extensions > Static pages
Depends on: Rainlab.Pages plugin!
Hide Content field (depricated)
Enable Menu notes
Enable Page duplicating
OctoberCMS > Backend > Settings > Small Extensions > System
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)
truncate
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.
There is a dashboard widget that optimize database.
Supported databases and used commands:
#### 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.