Gossamer Forum
Home : Products : DBMan : Installation :

Viewing Conent, rearanging Tables

Quote Reply
Viewing Conent, rearanging Tables
Aloha,
I am successfully establishing my DBMan database! Yes...
I am now trying to fix up the way my information is displayed.. I'd like to fix the table that the information is in...how do I do this?

I looked at JPDeni's wonderful tutorial, but I got lost.

Perhaps you can see, what I'm trying to get at.... http://www.justdisney.com/Home/dbman/db.cgi?db=default&uid=guest.96137092674030&Film+Title=Crazy&Date+of+Release=&Notables=&Brief+Summary=&keyword=&mh=10&sb=---&so=ascend&view_records=View+Records (if it askes for password...it's still guest / guest.)

I want to make the display of the information more easy...how do I change around that?

Also...is there a way to organize all this..without doing the "search" or "list all" making it so my files can be viewed separately?

Thanks
-Brad

Quote Reply
Re: Viewing Conent, rearanging Tables In reply to
To format the look of the information, edit the html in sub html_record. This sub controls the way the information is displayed in it's most final output.

As for your second question, I suggest you look at installing JPDeni's 'long/short view' MOD, which can be found in the resources section.

Good luck!

- Mark

Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: Viewing Conent, rearanging Tables In reply to
Astroboy,
I did that, but nothing happend...do I need to change those default names (ID, Date, etc) to the way mine are?

I think you understand what I'm doing...I hope I do too!
-Brad

Quote Reply
Re: Viewing Conent, rearanging Tables In reply to
It sounds like you're using Auto-Generate, yes?

What you'll have to do is turn that off in the .cfg file:

change: $db_auto_generate = 1;
to: $db_auto_generate = 0;

and then edit both sub html_record and sub html_record_form.
(and yes you will have to change the field names to your own)

If this isn't the case, then you'll just have to play with the HTML code until you get it right.

I also noticed your "List All" link isn't working. Instead of:
&Film Title:=* in the link code,

Use:
&Film+Title:=*
(note the '+')

That should stop the "No matching records" page being displayed all the time.

Cheers,

- Mark

Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: Viewing Conent, rearanging Tables In reply to
I think the problem with the search is the field name. It looks like you have the field name as

Film Title:

It needs to be

Film_Title

or

FilmTitle


JPD
http://www.jpdeni.com/dbman/