I want to modify JP Denis short-long display slightly. I have embedded all my html within the html.pl file and this is fine as far as it goes. The problem is that I want my long_display to be totally different page format from the short display. Unfortunately the way that it is called from the sub html_view_success page seems to prevent this.
I tried moving the following part of the code above the <html> tag:
if ($maxhits == 1) {
&html_record_long(&array_to_hash(0, @hits));
}
else {
This worked fine for the top part of the display but for some inexplicable reason ( or inexplicable to me) it still displays the bottom part of the short display page with footers, etc. This means that I get the long_display page I want, but it still carries the bottom part of the short_display underneath it. Sticking in closing body and html tags in the long_display page doesnt help.
I want the long display to be totally different with no footers or anything else carrying over from the short-display page. Can anyone help on this?
I tried moving the following part of the code above the <html> tag:
if ($maxhits == 1) {
&html_record_long(&array_to_hash(0, @hits));
}
else {
This worked fine for the top part of the display but for some inexplicable reason ( or inexplicable to me) it still displays the bottom part of the short display page with footers, etc. This means that I get the long_display page I want, but it still carries the bottom part of the short_display underneath it. Sticking in closing body and html tags in the long_display page doesnt help.
I want the long display to be totally different with no footers or anything else carrying over from the short-display page. Can anyone help on this?