![]() |
FAQ/Help |
Calendar |
Search |
#1
|
|||
|
|||
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! |
#2
|
||||
|
||||
What we want to do is to replace the image with the text in the variable $pod_frontheader.
(I don't think we really want to mess with tables) My fix would then look like this: # 1.80 $pod_line =~ s/<img SRC=\"\/odphead.gi.+?>/$pod_frontheader/i; It seems to work on my site, but I am not sure that I haven't messed up anything else... |
Reply |
|
![]() |
||||
Thread | Forum | |||
getting small and feeling small | Psychotherapy | |||
small SOS | Other Mental Health Discussion | |||
Small | Other Mental Health Discussion | |||
Small Yay! | Other Mental Health Discussion |