Name

MV_COMPONENT_DIR — (partly documented)

SYNOPSIS

{ }

DESCRIPTION

If defined, it specifies a directory location where the components will be located.

VARIABLE TYPE

Catalog variable

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

MV_COMPONENT_DIR is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: code/UserTag/component.tag
Line 75 (context shows lines 65-79)

  }
  $record = $db->row_hash($name);
}

$record ||= $opt;

my $body = $record->{comptext};

if(! length($body)) {
  my $dir = $opt->{comp_dir}
      || $::Variable->{MV_COMPONENT_DIR}
      || 'templates/components';
  $body = readfile("$dir/$name",undef,1);
}


AUTHORS

Interchange Development Group

SEE ALSO

component(7ic)

DocBook! Interchange!