Name

MV_MENU_DIRECTORY — directory for menu files

SYNOPSIS

{ path }

DESCRIPTION

VARIABLE TYPE

Catalog variable

EXAMPLES

Example:

Variable MV_MENU_DIRECTORY menus

NOTES

AVAILABILITY

MV_MENU_DIRECTORY is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Menu.pm
Line 2279 (context shows lines 2269-2283 in menu():2133)

  $opt->{toggle_anchor_clear} = Vend::Tags->image( {
          src => $opt->{img_clear} || $menu_default_img{clear},
          getsize => 0,
          border => 0,
          extra => $opt->{img_clear_extra},
          });
#::logDebug("toggle_anchor_clear=$opt->{toggle_anchor_clear}");
}

if($opt->{use_file}) {
  $opt->{file} = $::Variable->{MV_MENU_DIRECTORY} || 'include/menus';
  if(! $opt->{name}) {
    logError("No file or name specified for menu.");
  }
  my $nm = escape_chars($opt->{name});

Source: lib/Vend/Menu.pm
Line 2340 (context shows lines 2330-2344 in menu():2133)

    $opt->{img_clear_extra} ||= qq{height="1" width="$1"};
  }
  $opt->{toggle_anchor_clear} = Vend::Tags->image( {
          src => $opt->{img_clear} || $menu_default_img{clear},
          getsize => 0,
          border => 0,
          extra => $opt->{img_clear_extra},
          });
}
if($opt->{use_file}) {
  $opt->{file} = $::Variable->{MV_MENU_DIRECTORY} || 'include/menus';
  if(! $opt->{name}) {
    logError("No file or name specified for menu.");
  }
  my $nm = escape_chars($opt->{name});

Source: lib/Vend/Menu.pm
Line 2357 (context shows lines 2347-2361 in menu():2133)

  }

  return old_flyout($name,$opt,$template) unless $opt->{dhtml_browser};
  return dhtml_flyout($name,$opt,$template);
}
elsif($opt->{menu_type} eq 'simple') {
  if($opt->{search} || $opt->{list}) {
    ## Do nothing
  }
  elsif(! $opt->{file}) {
    $opt->{file} = $::Variable->{MV_MENU_DIRECTORY} || 'include/menus';
    if(! $opt->{name}) {
      logError("No file or name specified for menu.");
    }
    my $nm = escape_chars($opt->{name});

AUTHORS

Interchange Development Group

SEE ALSO

menu(7ic)

DocBook! Interchange!