Gossamer Forum
Home : Products : DBMan : Customization :

Problem with display

Quote Reply
Problem with display
I have arranged my db to look by make, model, type and year, but when i do a sample search, i can't see year and type. Also, i get this when i see the succesfully sumited pages and searching page

:
ARRAY(0x8132700):
MAKE: Pontiac
MODEL: TransAm RamAir
ID: 5
URL: http://transamramair.com

rather of that

MAKE: Pontiac
MODEL: TransAm RamAir
Year : 2001
TYPE : Coupe
ID: 5
URL: http://transamramair.com

and is it possible to have the Make of the car clickable? I already have the url clickable. You know put the make and the model together (i.e. Pontiac TransAm RamAir rather of Pontiac and on the other line TransAM..)

thanks a lot :)


Quote Reply
Re: Problem with display In reply to
1) Make sure that you have the following codes in your sub html_record OR sub html_record_long routines depending on if you are using the Long/Short Display Mod:

Code:

print qq|
MAKE: $rec{'Make'}
MODEL: $rec{'Model'}
Year : $rec{'Year'}
TYPE : $rec{'Type'}
ID: $rec{'ID'}
URL: <a href="$rec{'URL'}">$rec{'URL'}</a>
|;


2) Use the Long/Short Display Mod or if you want to link to a complete listing of the MAKE/MODEL, then add the following link in the above mentioned subs:

Code:

<a href=""$db_script_url?db=$db_setup&Model=$rec{'Model'}&view_records=1">View all $rec{'Model'}</a>



Regards,

Eliot Lee
Quote Reply
Re: Problem with display In reply to
thanks, it now work fine

Quote Reply
Re: Problem with display In reply to
Good and you're welcome.

Regards,

Eliot Lee