NAME
WWW::MenuGrinder::Plugin::DefaultTarget - WWW::MenuGrinder plugin that sets a default link target.
VERSION
version 0.01_01
DESCRIPTION
WWW::MenuGrinder::Plugin::DefaultTarget
is a plugin for WWW::MenuGrinder
. You should not use it directly, but include it in the plugins
section of a WWW::MenuGrinder
config.
When loaded, this plugin will create a target
(link target) key for each item of the menu that doesn't have one, but which does have a location
key. If an item has multiple locations
, the first is used to set the target
.
Configuration
None.
Required Methods
None.
Dependencies
WWW::MenuGrinder::Plugin::Visitor
.
AUTHOR
Andrew Rodland <andrew@hbslabs.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2009 by HBS Labs, LLC..
This is free software; you can redistribute it and/or modify it under the same terms as perl itself.