Quote:
# Get from file if it exists, otherwise assume it is html. $advanced = $rec{'Advanced'};
if ($advanced && (length($advancedr) < 20) && ($advanced !~ /\s+/) && (-e "$db_advanced_path/$advanved")) {
open (HEAD, "<$db_advanced_path/$advanved") or &cgierr ("Unable to open header file: $db_advanced_path/$advanved. Reason: $!");
$advanced = "";
while (<FILE> ) {
$advanced .= $_;
}
close FILE;
[\quote]
Im trying to make a include file into the detailed pages, just like you include headers and footers into te category pages.
The script should try to open "/path/to/$advanced" and print the file (or the text.)
But I does nothing, Did I mis something?
$rec{'Advanced'} exists and I put this piece of code into the sub build_detailed_view section.
Thanks for helping.

