NAME

Bigtop::Backend::SiteLook::GantryDefault - Bigtop to generate site appearance files

SYNOPSIS

If your bigtop file looks like this:

config {
    SiteLook  GantryDefault {}
}
app App::Name { }

and their are controllers in the app block, this backend will generate the templates for your app (mostly by copying them from Gantry's collection) when you type:

bigtop your.bigtop SiteLook

or

bigtop your.bigtop all

The templates and other files will live in the html subdirectory of the build directory. The files generated (or copied) include genwrapper.tt, index.html, and all the other templates that various bits of Gantry use (notably the AutoCRUD). It also makes a couple of css files in the html/css subdirectory of the build dir.

DESCRIPTION

This Bigtop backend generates templates and css files to make your app look like the Gantry samples.

KEYWORDS

This modules registers the location keyword at the app and controller level. It also registers page_link_label and rel_location at the controller level. Note that all of these except page_link_label are also registered by Control modules.

METHODS

To keep podcoverage tests happy.

backend_block_keywords

Tells tentmaker that I understand these config section backend block keywords:

no_gen
gantry_wrapper
what_do_you_make

Tells tentmaker what this module makes. Summary: genwrapper.tt a TT WRAPPER.

gen_SiteLook

Called by Bigtop::Parser to get me to do my thing.

What I call on the various AST packages to do my thing.

build_wrapper

What I call on the various AST packages to do my thing.

AUTHOR

Phil Crow <philcrow2000@yahoo.com>

COPYRIGHT and LICENSE

Copyright (C) 2005 by Phil Crow

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.