App-ZofCMS-Plugin-QueryToTemplate NAME App::ZofCMS::Plugin::QueryToTemplate - ZofCMS plugin to automagically make query parameters available in the template SYNOPSIS In your ZofCMS template, or in your main config file (under template_defaults or dir_defaults): plugins => [ qw/QueryToTemplate/ ]; In any of your L templates: DESCRIPTION Plugin can be run at any priority level and it does not take any input from ZofCMS template. Upon plugin's execution it will stuff the C<{t}> first level key (see L if you don't know what that key is) with all the query parameters as keys and values being the parameter values. Each query parameter key will be prefixed with C. In other words, if your query looks like this: http://foo.com/index.pl?foo=bar&baz=beerz In your template parameter C would be accessible as C and parameter C would be accessible via C Foo is: Baz is: INSTALLATION To install this module, run the following commands: perl Build.PL ./Build ./Build test ./Build install SUPPORT AND DOCUMENTATION After installing, you can find documentation for this module with the perldoc command. perldoc App::ZofCMS::Plugin::QueryToTemplate You can also look for information at: RT, CPAN's request tracker http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-ZofCMS-Plugin-QueryToTemplate AnnoCPAN, Annotated CPAN documentation http://annocpan.org/dist/App-ZofCMS-Plugin-QueryToTemplate CPAN Ratings http://cpanratings.perl.org/d/App-ZofCMS-Plugin-QueryToTemplate Search CPAN http://search.cpan.org/dist/App-ZofCMS-Plugin-QueryToTemplate COPYRIGHT AND LICENCE Copyright (C) 2008 Zoffix Znet This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.