Re: Vote-Plugin
"Matthias Dieke" <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, > > On 8.1.2006 18:36 Uhr, Matthias Dieke wrote: > > Hi, > > > > I like to use the Vote-Plugin. It seems its not finished yet? > > It's basically working, but not really tested :) Yes it's working, I tested it ;) My last my mail was a bit confuesd, sorry. I like to use the plugin for a client-project. But the girls form www.fczeitz-frauen.de are not really familiar with xml. I thought about a form to enter the question and answers. Therefor I asked if the plugin is really finished. If you say YES, I will teach the girls xml ;) If you say NO, I (will) try to release the plugin. I had some ideas about a "question"-table and a "answer"-table, so I can uses dbforms2 for editing. Its easier for the client ;) If you say we have to use xml-files, I will use it! Offers FluxCMS or Poppon some classes to edit and expand xml-files with the help of forms. I think about such cool stuff like the dbforms2-classes. > > > > > If you want I could "play" with it. I have some ideas... > > > > At the moment the question and the possbile answers are stored in a > > xml-file. > > > > The answers of the users will stored in the db. > > > > What should be done when the user like to start a new voteing? > > > > - Create a new xml-file? > > yes. > > > If you want another vote, you need a new <plugins/> section there (or > just overwrite the old one). If you want more than one vote per > installation, you need different xml files. IMHO, overwirte the old one is not so good. Because if someone wants to know the result of a previous question and could not rember the right ID, question and answers it is realy hard ;) And the db still has the results, that means a lot of trash. If I add a new plugins-section how does the vote-plugin knows which sections is the current section? Do I have to put the new section always to the first place? Anohter idea is to use one xml-file for all votes. Something like this: <votes> <vote id="1">...</vote> <vote id="2">...</vote> </votes> In the configxml we have to use a parameter, for example called "currentVoteID". Do you know what I want/mean? I like your plugin, I simply want to help release the plugin and want to do it in a way that bitflux like ;) Matthias > > All answers go into the same db table, therefore the "id" attribute in > the xml is important. > > > HTH > > chregu > > > > > - change the current xml-file? > > - expand the current xml-file, like: > > <votes> > > <vote id="">...</vote> > > <vote id="">...</vote> > > </votes> > > > > - or should the vote-stuff done ONLY with DB-tables (e.g. vote_question, > > vote_answer) > > > > > > If you have no preferences, I will do it in my own way. But at the > moment > > I'm not sure what is "my way" ;) > > > > > > Matthias > > > > > > > > > > > > -- > christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich > phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 > http://www.bitflux.ch | [email protected] | GPG 0x5CE1DECB > -- eine für alle und alle für Einen... [email protected] [email protected] [email protected] [email protected] Telefonieren Sie schon oder sparen Sie noch? NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie -- bitflux-cms mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms