Gossamer Forum
Home : Products : DBMan : Customization :

Rating system

Quote Reply
Rating system
Q1: Is it possible to make a rating system for DBman? - I would like a rating system capable of using a graphic bar showing the percentage of votes. It would also be great if visitors was able to write personal comments along with the vote.

Q2: I need each resource to have different information. example. I want to have a rating option for each resource, along with news for each resource. The news posting is handled by an external cgi script. The problem however is that I don't have a clue about how to set up a seperate template for each resource with this kind of information



Regards
Trond-R. Bø
Quote Reply
Re: Rating system In reply to
Others have asked for a rating system, but I just haven't had the time to write it.

I don't understand what you want to do with question 2.

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: Rating system In reply to
well - Each resource in the database is a bar/pub, and each has some news/events for the weekends. What I would like is whenever a resource is viewed, I would like some news and happenings for that exact pup to be shown. The news are viewed through an external CGI news script. So basicly I would like to have a different html table template for each resource with different information.

I'm probably explaining this awkward!



Regards
Trond-R. Bø
Quote Reply
Re: Rating system In reply to
Could you possibly create an .html page as an example of what you want to do?

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: Rating system In reply to
hm. I haven't designed it yet, but lets say I have a template file names localpup.html and anotherpup.html

I pull out a resource from DB man - ID1 for example with the info defined. Then I want localpup.html to be inserted below the database output.
For another resource (ID2) I want the anotherpup.html to be inserted below the DB section.

Did you get my reverse and awkward idea?


Regards
Trond-R. Bø
Quote Reply
Re: Rating system In reply to
It just occurred to me that you are talking about actual templates -- like Links uses. I don't understand templates at all. (I'm not sure why, but they just don't make any sense to me.)

I could help you with structuring pages that were created in the html.pl file. But not with templates.

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: Rating system In reply to
Let's look away from the tamplate thing.

I just want a flat .html file to be inserted in a table below a database resource.
A different .html file to be inserted for specific resources.

ID1 -> test.html
ID2 -> test2.html
ID3 -> test3.html


Regards
Trond-R. Bø