CatalystX::CMS::View - base View class
package MyApp::View::CMS; use strict; use base qw( CatalystX::CMS::View ); 1;
CatalystX::CMS::View isa Catalyst::View::TT class that handles dynamic include path generation and other CMS-related features.
CatalystX::CMS::View uses the Template::Plugin::Handy module to install additional vmethods in the global Template namespace.
Only new or overridden method are documented here.
Overrides new() method to set INCLUDE_PATH to include all the paths in main app cms root config.
Overrides base method to test cmspage in stash and mangle the template value if it isa CatalystX::CMS::Page object.
template
Override base method to set additional vars for render(), including:
CMS
additional_template_paths
Peter Karman, <karman@cpan.org>
<karman@cpan.org>
Please report any bugs or feature requests to bug-catalystx-cms@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-catalystx-cms@rt.cpan.org
The Minnesota Supercomputing Institute http://www.msi.umn.edu/ sponsored the development of this software.
http://www.msi.umn.edu/
Copyright 2008 by the Regents of the University of Minnesota.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install CatalystX::CMS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CatalystX::CMS
CPAN shell
perl -MCPAN -e shell install CatalystX::CMS
For more information on module installation, please visit the detailed CPAN module installation guide.