NAME
Maplat::Web::LogoCache - date-based logo display
SYNOPSIS
This module generates the logo bar in the default layout and provides the LogoDay functionality
DESCRIPTION
This module generates the logo bar for the default layout, depending on the view selected. It also provides a LogoDay functionality, meaning it can display special logos on configured days (on this days, it also displays an additional menu plus description page).
This module must be configured AFTER the Login module, because it hooks into its "Views" functionality.
Configuration
<module>
<modname>logo</modname>
<pm>LogoCache</pm>
<options>
<imgpath>MaplatWeb/Logo/Images</imgpath>
<layoutpath>MaplatWeb/Logo/layout</layoutpath>
<imgwebpath>/logo/pics/</imgwebpath>
<webpath>/user/special</webpath>
<pagetitle>LogoDay</pagetitle>
<cache_control>max-age=3600, must-revalidate</cache_control>
<expires>+1h</expires>
<!-- The <today> tag forces the module to assume the given date as
the basis for displaying the "Logo of the day" -->
<!--<today>20090918</today>-->
<views>
<view logodisplay="someview" />
<view logodisplay="otherview" />
<view logodisplay="differentview" />
<view logodisplay="admin" />
<view logodisplay="logout" />
</views>
</options>
</module>
Dependencies
This module depends on the Login module beeing already configured, because it hooks into its "views" functionality
Maplat::Web::Login
SEE ALSO
Maplat::Web Maplat::Web::Login
AUTHOR
Rene Schickbauer, <rene.schickbauer@magnapowertrain.com>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Rene Schickbauer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.