|
CGI::WeT::Modules::News - Extensions to engine to allow article management |
CGI::WeT::Modules::News - Extensions to engine to allow article management
use CGI::WeT::Modules::News ();
This module provides rendering constructs to allow navigation through a set of articles. Support is provided for multiple types of articles in multiple groupings (or channels).
PerlSetVar WeT_NewsURL /baseURL/
This is available for building URLs as @@NEWS@@. For example, general articles are under the URL returned by
$engine->url('@@NEWS@@/general/');
The directory may likewise be found by using
$engine->filename($engine->url('@@NEWS@@/general/'));
The template used is called with four elements on the content stack: Title, Date, Author, and Summary (Title on top of stack). The available arguments for controlling NEWS_SUMMARY are
|
CGI::WeT::Modules::News - Extensions to engine to allow article management |