Zoffix Znet > App-ZofCMS-Plugin-HTMLFactory-Entry-0.0101 > App::ZofCMS::Plugin::HTMLFactory::Entry

Download:
App-ZofCMS-Plugin-HTMLFactory-Entry-0.0101.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.0101   Source  

NAME ^

App::ZofCMS::Plugin::HTMLFactory::Entry - plugin to wrap content in three divs used for styling boxes

SYNOPSIS ^

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'>

DESCRIPTION ^

The module is a plugin for App::ZofCMS. The module resides in App::ZofCMS::Plugin::HTMLFactory:: namespace thus only provides some packed HTML code.

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

MAIN CONFIG FILE AND ZofCMS TEMPLATE FIRST-LEVEL KEYS ^

plugins

    plugins => [ qw/HTMLFactory::Entry/ ],

To run the plugin all you have to do is include it in the list of plugins to execute.

HTML::Template VARIABLES ^

    <tmpl_var name='entry_start'>
    <tmpl_var name='entry_end'>

The plugins creates two keys in {t} ZofCMS Template special keys.

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>

AUTHOR ^

'Zoffix, <'zoffix at cpan.org'> (http://zoffix.com/, http://haslayout.net/, http://zofdesign.com/)

BUGS ^

Please report any bugs or feature requests to bug-app-zofcms-plugin-htmlfactory-entry at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-ZofCMS-Plugin-HTMLFactory-Entry. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc App::ZofCMS::Plugin::HTMLFactory::Entry

You can also look for information at:

COPYRIGHT & LICENSE ^

Copyright 2008 'Zoffix, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.