View Single Post
 
Old Nov 13, 2001, 04:44 PM
srussell srussell is offline
New Member
 
Member Since: Nov 2001
Posts: 2
There is a small bug in the latest version of POD 1.80 that I have discovered. I'm certainly no Perl expert so I'm sure there is a more permanent fix but...find the line in the pod.cgi script that looks like:

# 1.80
$pod_line =~ s/<#img SRC=\"\/odphead.gi.+>/<#table border=0 width=\"#95\%\"><#tr>$pod_frontheader/gi;
(The # are extra so I can print the code in this forum)

and delete the portion: <#table border=0 width=\"#95\%\"><#tr>
(The # are extra so I can print the code in this forum)

This was meant to correct some broken table problems and while it does fix the broken table, it leaves a smothered link or the equivalent of a dead link on many browsers including IE5!

Deleting that portion will restore the frontheader link and destroy your table on the help page along with other potential pages. Until there is a better fix, just insert the following line:

<#table border=0 width=\"#95\%\"><#tr>
(The # are extra so I can print the code in this forum so delete both of these before inserting into code)

into your header template and be sure to make it your very last line... do not close out any tables or html tags after this.

Until a perl guy like Berka or DocJohn can come up with a solid perl fix, these work-arounds should suffice and your end user will never be the wiser.

Good luck everyone!