A PHP Error was encountered

Severity: Notice

Message: Only variables should be assigned by reference

Filename: core/Controller.php

Line Number: 51

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Embed has a deprecated constructor

Filename: libraries/embed.php

Line Number: 14

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Link has a deprecated constructor

Filename: libraries/link.php

Line Number: 14

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Nav has a deprecated constructor

Filename: libraries/nav.php

Line Number: 14

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Format has a deprecated constructor

Filename: libraries/format.php

Line Number: 17

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor

Filename: libraries/markdown.php

Line Number: 191

Plugins | PyroCMS Documentation

PyroCMS

Notice: PyroCMS v 2.2.x is depreciated and is no long under development. This documentation is provided as-is, free of charge, for reference in existing websites.

Example Usage

Let's take the user plugin, which is a part of the user module (modules can have a plugin as a part of the module, see the module overview for more info on that).

Each plugin has a name by which we reference it in the tags. For example, the format plugin's variables and functions can be referenced with format:foo. So, you can use the markdown's format function like this:

{{ format:markdown }}Let's _convert_ this to **HTML**.{{ /format:markdown }}

Genreally, whenever you are using tags in PyroCMS, you are interfacing with a plugin. To get familiar with the tag syntax in PyroCMS, check out the tags guide.

Installing Plugins

Plugins have no installation procedure. Just upload them to addons/shared_addons/plugins_ or _addons/[site-ref]/plugins and use the tag in your layouts!

You can see which plugins you have available to you by going to Add-ons → Plugins in the PyroCMS admin.

Plugin Resources