Gossamer Forum
Home : Products : DBMan : Installation :

Almost done! How about this tricky problem?

Quote Reply
Almost done! How about this tricky problem?
Sorted the latest record and stuff problems out:
http://www.mancity.net/Test/index.html

If you follow that link, I've got a hyperlink at the end of the story to view more of the story. This was generated by:
<a href=cgi-bin/pathtoscriptandalltherest/ID="$rec{#'ID']>More...</a>

So it should point to:
URLstuff...ID=1
URLstuff...ID=2
etc.

But instead, it's stuck two <b> tags around the ID number. Why is this?

Thanks!

Scall
Quote Reply
Re: Almost done! How about this tricky problem? In reply to
You have to add the following codes to your sub html_record and/or sub html_record_long routines after the my (%rec) = @_;:

Code:
$rec{'$db_key'} =~ s/<?.B>//g;

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: Almost done! How about this tricky problem? In reply to
Sorry, but it's still happening:

http://www.mancity.net/Test/index.html

Scall
Quote Reply
Re: Almost done! How about this tricky problem? In reply to
Copy your html.pl file as a text file and place in a publicly accessible directory.
Then give us the URL where we can find it.

Me thinks that you are not understanding my directions and have not placed the codes in the proper place in your html.pl file!

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: Almost done! How about this tricky problem? In reply to
http://www.mancity.net/html.txt
Quote Reply
Re: Almost done! How about this tricky problem? In reply to
Well, it seems that your db_key variable is NOT your ID. So, I would add the following codes:

Code:
$rec{'ID'} =~ s/<?.B>//g;

That SHOULD do it.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: Almost done! How about this tricky problem? In reply to
If you meant stick in the same place as the earlier code, then it hasn't worked.

D'oh!

Scall
Quote Reply
Re: Almost done! How about this tricky problem? In reply to
The problem could be associated with SSI calls you are trying to make with the news articles from DBMAN. Try it with DBMAN...it should work!

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: Almost done! How about this tricky problem? In reply to
Try putting this where Eliot told you:

Code:
$rec{'ID'} =~ s/(<B>|</B> )//g;

------------------
WFMY-TV Webmaster

[This message has been edited by Chris071371 (edited November 07, 1999).]
Quote Reply
Re: Almost done! How about this tricky problem? In reply to
That:
$rec{'ID'} =~ s/(<B>|</B> )//g;

Messed up the script, something about permissions...

Oh! What's wrong with it all!!!!!

There's some code in the script that says, 'whenever you display the ID, stick some bold tags around it'. I've got to find that piece of code and delete it, but where is it?

Scall
Quote Reply
Re: Almost done! How about this tricky problem? In reply to
I found it!

It works now, thanks everyone for sorting that out. Now, should just be some fine tuning to do...

Scall