Home Menu

Menu


Reply
Thread Tools Display Modes
  #1  
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!


advertisement
  #2  
Old Nov 15, 2001, 01:00 PM
BeRKA's Avatar
BeRKA BeRKA is offline
Member
 
Member Since: Aug 2001
Location: Sweden, Stockholm
Posts: 40
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/&lt;img SRC=\"\/odphead.gi.+?&gt;/$pod_frontheader/i;

It seems to work on my site, but I am not sure that I haven't messed up anything else...

Reply
Views: 487

attentionThis is an old thread. You probably should not post your reply to it, as the original poster is unlikely to see it.



Similar Threads
Thread Thread Starter Forum Replies Last Post
getting small and feeling small MissCharlotte Psychotherapy 4 Sep 06, 2007 11:11 PM
small SOS pooh_ac Other Mental Health Discussion 6 Mar 07, 2007 01:04 PM
Small jammerlich Other Mental Health Discussion 8 Nov 14, 2005 09:26 PM
Small Yay! h0kie Other Mental Health Discussion 6 Jan 01, 2005 11:41 AM


All times are GMT -5. The time now is 05:40 AM.
Powered by vBulletin® — Copyright © 2000 - 2025, Jelsoft Enterprises Ltd.




 

My Support Forums

My Support Forums is the online community that was originally begun as the Psych Central Forums in 2001. It now runs as an independent self-help support group community for mental health, personality, and psychological issues and is overseen by a group of dedicated, caring volunteers from around the world.

 

Helplines and Lifelines

The material on this site is for informational purposes only, and is not a substitute for medical advice, diagnosis or treatment provided by a qualified health care provider.

Always consult your doctor or mental health professional before trying anything you read here.