App::ZofCMS::Plugin::HTMLFactory::Entry - plugin to wrap content in three divs used for styling boxes
In your Main Config File or ZofCMS Template file:
plugins => [ qw/HTMLFactory::Entry/ ],
In your HTML::Template template:
<tmpl_var name='entry_start'> <p>Some content</p> <tmpl_var name='entry_end'>
The module is a plugin for App::ZofCMS. The module resides in App::ZofCMS::Plugin::HTMLFactory:: namespace thus only provides some packed HTML code.
App::ZofCMS::Plugin::HTMLFactory::
I use the HTML code provided by the plugin virtually on every site, and am sick and tired of writing it! Hence the plugin.
This documentation assumes you've read App::ZofCMS, App::ZofCMS::Config and App::ZofCMS::Template
plugins
To run the plugin all you have to do is include it in the list of plugins to execute.
<tmpl_var name='entry_start'> <tmpl_var name='entry_end'>
The plugins creates two keys in {t} ZofCMS Template special keys.
{t}
entry_start
<tmpl_var name='entry_start'>
The entry_start will be replaced with the following HTML code:
<div class="entry"> <div class="entry_top"> <div class="entry_bottom">
entry_end
<tmpl_var name='entry_end'>
The entry_end will be replaced with the following HTML code:
</div> </div> </div>
Fork this module on GitHub: https://github.com/zoffixznet/App-ZofCMS
To report bugs or request features, please use https://github.com/zoffixznet/App-ZofCMS/issues
If you can't access GitHub, you can email your request to bug-App-ZofCMS at rt.cpan.org
bug-App-ZofCMS at rt.cpan.org
Zoffix Znet <zoffix at cpan.org> (http://zoffix.com/, http://haslayout.net/)
You can use and distribute this module under the same terms as Perl itself. See the LICENSE file included in this distribution for complete details.
LICENSE
To install App::ZofCMS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::ZofCMS
CPAN shell
perl -MCPAN -e shell install App::ZofCMS
For more information on module installation, please visit the detailed CPAN module installation guide.