Jifty::Plugin::SiteNews - Provide site news in your app
Provides a way to include site news in your Jifty app. To use it, you will need to add a news model:
package YourApp::Model::News; use Jifty::DBI::Schema; use YourApp::Record schema { # ..additional properties go here, like 'author' }; use Jifty::Plugin::SiteNews::Mixin::Model::News;
You will also need to alias the view somewhere; from YourApp::View:
require Jifty::Plugin::SiteNews::View::News; alias Jifty::Plugin::SiteNews::View::News under '/news';
Alex Vandiver
Copyright 2005-2009 Best Practical Solutions, LLC.
This program is free software and may be modified and distributed under the same terms as Perl itself.
To install Jifty::Plugin::SiteNews, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty::Plugin::SiteNews
CPAN shell
perl -MCPAN -e shell install Jifty::Plugin::SiteNews
For more information on module installation, please visit the detailed CPAN module installation guide.