Gossamer Forum
Home : Products : DBMan : Customization :

Weird Display Problem???

Quote Reply
Weird Display Problem???
Hi All,

Please visit http://www.metro-records.co.uk/charts.htm

If you click "garage" you will see a test page of how things should be displayed.

Click on House and the headers etc. dont apear.

Whats causing this?? any ideas??



------------------
Regards
MDJ
http://www.isee-multimedia.co.uk
Quote Reply
Re: Weird Display Problem??? In reply to
I don't see the problem...I used both Netscape 4.5 and MIE 4.0, and I see the table header and records displayed.

Can you be more specific about what your problem is?

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------







Quote Reply
Re: Weird Display Problem??? In reply to
Just checked it out -- looks fine on netscape Communicator 4.7
Quote Reply
Re: Weird Display Problem??? In reply to
Hi there,

Maybe I should be a little more specific..

if you visit

http://www.metro-records.co.uk/...sb=62&so=descend

You will see the top of the chart contains a blue band with postion/artist/title/stock etc. in it.

If you visit

http://www.metro-records.co.uk/...sb=62&so=descend

It doesnt appear, why is this, I know it must be a problem with the display but hey are all running from the same database??

Thanks in advance



------------------
Regards
MDJ
http://www.isee-multimedia.co.uk
Quote Reply
Re: Weird Display Problem??? In reply to
Could not access the URLs you provided? (Could not locate URL.) It is probably the network I am trying to access your site from.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Weird Display Problem??? In reply to
Hi Guys,

Server problem you can now go and check it for me thanks



------------------
Regards
MDJ
http://www.isee-multimedia.co.uk
Quote Reply
Re: Weird Display Problem??? In reply to
Still cannot locate your server.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Weird Display Problem??? In reply to
Mmmm.

Just checked OK!!

Weird!!



------------------
Regards
MDJ
http://www.isee-multimedia.co.uk
Quote Reply
Re: Weird Display Problem??? In reply to
Okay...Now I can connect to it.

The problem is related to the codes you have in your sub view_sucess routine. You will notice the difference is that the Garage results show up fine because there is spanning results (more pages) versus the House results do not show the table header and there is only one page of results.

Please post the URL to the text of version of your html.pl file in this forum.

Regards,



------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Weird Display Problem??? In reply to
THANKS ELIOT.

I found the problem and corrected it.

One more thing, I would like the chart and the date to display in the sub_view_records routine. How would I do this.

I have posted the text file here.

http://www.metro-records.co.uk/...bin/chart/htmlpl.txt



------------------
Regards
MDJ
http://www.isee-multimedia.co.uk
Quote Reply
Re: Weird Display Problem??? In reply to
What you need to do is download that other Mod in the resource center that builds table header. Then add the date field into your sub html_record routine.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Weird Display Problem??? In reply to
Hi eliot,

I've tried this MOD, a few times, but for some reason it doesnt want to display,

Isn't their away that I could add a routine to sub_view_record to say

if $chart=garage,house etc.
print $chart

Im not to good with the code side of things.



------------------
Regards
MDJ
http://www.isee-multimedia.co.uk
Quote Reply
Re: Weird Display Problem??? In reply to
That mod does exactly what you want to do.

There is a missing } (right bracket) in the routine that goes in the db.cgi file in that Mod.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Weird Display Problem??? In reply to
Sorry eliot for being a pain, but it helps if the mods had the right code i suppose.

Here is the code

Code:
# ADD this to db.cgi
# Builds a record based on the config information.
sub build_html_record_row {

my (%rec) = @_;
my ($output, $field);
$output = "<tr>";
foreach $field (@db_cols) {
next if ($db_form_len{$field} == -1);
$output .= qq~
<td align=left><$font>$rec{$field}</font></td>
~;
}
$output .= "</tr>\n";
return $output;
}

Where should the right brake go??



------------------
Regards
MDJ
http://www.isee-multimedia.co.uk
Quote Reply
Re: Weird Display Problem??? In reply to
Hmmm...well, it seems that this Mod has been edited recently...before the Mod looked like the following:

Code:
# Builds a record based on the config information.
sub build_html_record_row {
my (%rec) = @_;
my ($output, $field);
$output = "<tr>";
foreach $field (@db_cols) {
next if ($db_form_len{$field} == -1);
$output .= qq~
<td align=left><$font>$rec{$field}</font></td>
~;
}
$output .= "</tr>\n";
return $output;

With no closing right bracket, which caused problems for many DBMAN users.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------