Name

PAGE_TITLE_NAME — (partly documented)

SYNOPSIS

{ }

DESCRIPTION

It allows you to override the page title in preview mode.

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

PAGE_TITLE_NAME is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: dist/lib/UI/ContentEditor.pm
Line 2409 (context shows lines 2399-2413 in preview_page():2398)

my ($ref, $opt) = @_;
my $dest = preview_dir();
$dest .= "/$ref->{ui_name}";
$::Scratch->{tmp_tmpfile} = $dest;
my $tmp = { %$ref };
my $record = ref_content($tmp)
  or return death("preview_template", "bad news");
my $text = format_page(
        $tmp,
        {
          preview => $::Variable->{PAGE_TITLE_NAME} || 'page_title',
          preview_tag => errmsg('****PREVIEW****'),
        },
      );
$record->{page_text} = $text;

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!