Hi,
I've got into the short/long display modification and have amended the old html.pl sub html_record as follows:
my (%rec) = @_;
if ($rec('UserID') ne "") {
print qq|
<-- Start of headline -->
<H3>
<a href="$rec('DestinationURL')" target="_blank">$rec{'Article_heading'}</a>
</H3>
<br>
$rec('Synopsis_of_article')
<-- End of headline -->
|;
}
}
And I have now tried using the following SSI on a page:
<!--#include virtual="/cgi-local/dbman/db.cgi?db=news&uid=default&ID=*&sb=0&so=descend&mh=4&view_records=1&ssi=1"-->
On loading the page, I get the following CGI error:
"This script must be called from the Web
using either GET or POST requests".
Am I missing something from the html.pl script sub routine?
TIA,
Andy
I've got into the short/long display modification and have amended the old html.pl sub html_record as follows:
my (%rec) = @_;
if ($rec('UserID') ne "") {
print qq|
<-- Start of headline -->
<H3>
<a href="$rec('DestinationURL')" target="_blank">$rec{'Article_heading'}</a>
</H3>
<br>
$rec('Synopsis_of_article')
<-- End of headline -->
|;
}
}
And I have now tried using the following SSI on a page:
<!--#include virtual="/cgi-local/dbman/db.cgi?db=news&uid=default&ID=*&sb=0&so=descend&mh=4&view_records=1&ssi=1"-->
On loading the page, I get the following CGI error:
"This script must be called from the Web
using either GET or POST requests".
Am I missing something from the html.pl script sub routine?
TIA,
Andy