Maplat::Web::LogoCache - date-based logo display
This module generates the logo bar in the default layout and provides the LogoDay functionality
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.
<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>
Get Logo and descriptions.
Return the rendered descriptions of LogoDays.
Internal function - reload a single template file.
Internal function - dispatch reloads for all templates.
Internal function - reload the description template.
This module depends on the Login module beeing already configured, because it hooks into its "views" functionality
Maplat::Web::Login
Maplat::Web Maplat::Web::Login
Rene Schickbauer, <rene.schickbauer@gmail.com>
Copyright (C) 2008-2011 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.
To install Maplat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Maplat
CPAN shell
perl -MCPAN -e shell install Maplat
For more information on module installation, please visit the detailed CPAN module installation guide.