PHPackages                             janvince/smallmessages-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. janvince/smallmessages-plugin

ActiveOctober-plugin

janvince/smallmessages-plugin
=============================

None

v1.2.7(2y ago)1493[2 issues](https://github.com/jan-vince/smallmessages/issues)PHP

Since Dec 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jan-vince/smallmessages)[ Packagist](https://packagist.org/packages/janvince/smallmessages-plugin)[ RSS](/packages/janvince-smallmessages-plugin/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Small Messages
==============

[](#small-messages)

> Simple plugin to manage frontend and backend messages

Installation
------------

[](#installation)

**GitHub** clone into `/plugins` dir:

```
git clone https://github.com/jan-vince/smallmessages
```

**OctoberCMS backend**

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

> Settings &gt; Updates &amp; Plugins &gt; Install plugins

### Permissions

[](#permissions)

> Settings &gt; Administrators

You can set permissions to restrict access to *Settings &gt; Small plugins &gt; Small Messages* and to messages list.

Quick start guide
-----------------

[](#quick-start-guide)

- Install plugin.
- Go October's backend Settings and choose Small Messages.

    - Select your prefered UI style and optionally add Close button's text.
- Go October's backend and choose Messages from main menu.

    - Create new Message and set it as Active (you can also set dates from/to and choose to control messages window by cookie).
- Go to CMS part of October.

    - Add new o use existing Layout, Page or Partial.
    - Add component Small Messages &gt; messages (inside of your `body` tag).

> Do not forget to add `{% scripts %}` tag to your layout page just before closing `body` tag! More info [in October docs](https://octobercms.com/docs/markup/tag-scripts).

- Open your website - message should be visible.

Components
----------

[](#components)

### Messages

[](#messages)

Should be used in your Layout, Page or Partial.

### Visibility

[](#visibility)

You can set date from and/or date to if you want to control when a message box should appear on your web site.

### Restrictions

[](#restrictions)

You can add list or (relative) URLs where message box should appear.

### Cookies

[](#cookies)

You can add a cookie control (with custom expiration) so when a user click Hide button, message box will not appear again (until a cookie expires).

You can add URLs where message box will appear even with cookie (eg. useful for /contact page).

#### Manually disable messages box

[](#manually-disable-messages-box)

If you need to hide Messages box on specific Partial, Page or Layout, you can use [View Bag](https://octobercms.com/docs/cms/components#viewbag-component) on your Page this way:

```
[viewBag]
hideMessagesBox = 1

```

HOWTO
-----

[](#howto)

### Get list of messages

[](#get-list-of-messages)

With component attached you can get messages list by `{{ messages.items }}`.

### Your custom messages box design

[](#your-custom-messages-box-design)

If you want your custom messages box design just create folder and file `messages` in `/themes/[your-theme-name]/partials/messages/default.htm` and put your code.

> If you changed default alias of Messages component (which is `messages`) you have to change also folder name!

For default code you can look in `/plugins/janvince/smallmessages/components/messages`.

---

> My thanks goes to:
> [OctoberCMS](http://www.octobercms.com) team members and supporters for this great system.
> [Possessed Photography](https://unsplash.com/@possessedphotography) for banner photo.
> [Font Awesome](http://fontawesome.io/icons/) for nice icons.

Created by [Jan Vince](http://www.vince.cz), freelance web designer from Czech Republic.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

874d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d0762b85a7c8514e93d4114ae9bbd9dbacfe9efc2b6bd76ef151ebdcec39bf9?d=identicon)[jan-vince](/maintainers/jan-vince)

---

Top Contributors

[![jan-vince](https://avatars.githubusercontent.com/u/1104383?v=4)](https://github.com/jan-vince "jan-vince (17 commits)")

### Embed Badge

![Health badge](/badges/janvince-smallmessages-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/janvince-smallmessages-plugin/health.svg)](https://phpackages.com/packages/janvince-smallmessages-plugin)
```

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[johnbillion/user-switching

Instant switching between user accounts in WordPress and WooCommerce.

19768.3k2](/packages/johnbillion-user-switching)[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
