A Plugin for moziloCMS 2.0
The fancyBox plugin offers a nice and elegant way to add zooming functionality for images, inline, linked and html content.
To add (or update) a plugin in moziloCMS, go to the backend tab Plugins and click the item Manage Plugins. Here you can choose the plugin archive file (note that it has to be a ZIP file with exactly the same name the plugin has) and click Install. Now the fancyBox plugin is listed below and can be activated.
Installing a plugin manually requires FTP Access.
- Upload unpacked plugin folder into moziloCMS plugin directory:
/<moziloroot>/plugins/
- Set default permissions (chmod 777 for folders and 666 for files)
- Go to the backend tab Plugins and activate the now listed new fancyBox plugin
{fancyBox|image|<gallery>|<file>|<remote>}
Shows images or galleries in fancyBox.
- Parameter
<gallery>
: Name of an existing gallery - Parameter
<file>
: Name of an existing file. If parameter<gallery>
is set, the file has to exist in this gallery. Otherwise the given file will be taken from the moziloCMS filelist and has to be set with category, e.g.@=category:filename.jpg=@
- Parameter
<remote>
: Optional. Text to display instead of thumbnail image.
{fancyBox|inline|<text>|<content>|<title>}
Shows inline content like text, html or moziloCMS syntax in fancyBox.
- Parameter
<text>
: Text to link (moziloCMS syntax is possible). - Parameter
<content>
: Content to display in fancyBox. - Parameter
<title>
: Optional. Title for fancyBox.
{fancyBox|link|<text>|<url>|<title>}
Shows linked content in fancyBox.
- Parameter
<text>
: Text to link (moziloCMS syntax is possible). - Parameter
<url>
: Link url (with http://). - Parameter
<title>
: Optional. Title for fancyBox.
This Plugin is distributed under Creative Commons Attribution-NonCommercial 3.0 (see LICENSE) and is free to use only for non-comercial purposes.
A detailed documentation and demo can be found here:
https://github.com/devmount-mozilo/fancyBox/wiki/Dokumentation [german]
This project is completely free to use. If you enjoy it and don't have the time to contribute, please consider donating via Paypal or sponsoring me to support further support and development. 💚