|
CGI::WeT::Modules::Basic - Basic rendering engine extensions |
CGI::WeT::Modules::Basic - Basic rendering engine extensions
use CGI::WeT::Modules::Basic ();
This module provides basic rendering constructs for the engine. Please be aware that the code supersedes the documentation. While I have tried to be accurate there are times that words fail me and a look at the code is far more enlightening than anything I could cobble together. This is especially true when trying to write a theme. Download a theme and see how someone else did it. Then try making modifications and see what happens.
sub initialize { 1; }
'[IFMODULE module=NEWS_SUMMARY module=HELP_URL]'
will leave the top of the content stack if and only if both NEWS_SUMMARY and HELP_URL are available under in CGI::WeT::Modules:: . Otherwise, it will leave the next to the top of the content stack on top. In either case, the content stack will have one less element afterwards.
type - if 'text' then rendering is done with text. Otherwise, the value is used to determine the directory in which the graphics images reside. This depends on the theme.
bullet - defines a graphical element to prefix the navigational elements with. Arguments that help define the image are: bullet_width, bullet_height.
align - if this is 'center' then the navigational element is centered.
begin - defines the initial HTML to use in building the navigation.
end - defines the final HTML to use in building the navigation.
top - if 'yes' will place a link to the top of the site.
up - if 'yes' will place a link to the level above the current level.
join - determins the HTML used between navigational elements.
level - if 'current' only places navigation for the current level. Otherwise, renders an outline from the top to the current level.
join - the code to join to elements in the path.
ellipses - the code to indicate absence of intervening levels
depth - the number of levels to include in the path before dropping elements.
|
CGI::WeT::Modules::Basic - Basic rendering engine extensions |