In order to understand my problem you will need a little back story, so here goes. I am trying to implement a site that will allow three separate voting fields per story.
You can find all of the source code that I've modified here. This also requires adding two fields to the vote and to the link table in the database. Keeping with the naming convention the vote fields i've added are vote_value2, and vote_value3, while the link fields added are link_votes2 and link_votes3.
You will need to drop the files into a standard pligg beta 8 install with the default mollio template. Once you've done this you should see that there are now three vote boxes next to each story. Basically the problem I am having is that only the original vote field is working. For some reason values are either not being passed to function menealo or are being stripped when xmlhttp.js hands them off to menealo. I've played around with various debugging scenarios and the problem seems to me at least to be occurring in xmlhttp.js.
I know this is sort of a bare bones explanation but if anyone has any advice as to how to fix this problem i would appreciate it.
Also i realize that there are other issues associated with the ajax update of vote vs. voted, but i figured i would iron those out after dealing with this main hurdle.



Reply With Quote



