UI_COMPONENT_DIR —
Interchange 5.9.0:
Source: dist/lib/UI/ContentEditor.pm
Line 1007 (context shows lines 997-1011 in get_content_dirs():991)
# look no farther } elsif($opt->{type} eq 'page') { $dir = $Vend::Cfg->{PageDir}; } else { my $tdir = $opt->{template_dir} || $::Variable->{UI_TEMPLATE_DIR} || 'templates'; if($opt->{type} eq 'component') { $dir = $opt->{component_dir} || $::Variable->{UI_COMPONENT_DIR} || "$tdir/components"; } else { $dir = $tdir; }
Source: dist/lib/UI/ContentEditor.pm
Line 2333 (context shows lines 2323-2337 in write_component():2331)
sub write_template { my ($record, $dest) = @_; my $dir = $::Variable->{UI_TEMPLATE_DIR} || 'templates'; $dest ||= "$dir/$record->{code}"; Vend::Tags->write_relative_file($dest, $record->{temp_text}); } sub write_component { my ($record, $dest) = @_; my $dir = $::Variable->{UI_COMPONENT_DIR} || 'templates/components'; $dest ||= "$dir/$record->{code}"; Vend::Tags->write_relative_file($dest, $record->{comp_text}); }