[maemo-community] Brainstorm: useful?
From: Henri Bergius henri.bergius at nemein.comDate: Mon Dec 14 15:22:18 EET 2009
- Previous message: Brainstorm: useful?
- Next message: Brainstorm: useful?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, 2009/12/11 Oskari Kokko <oskari.kokko at iki.fi>: >> After recording a vote: >> if (idea.karma >= 10){ >> idea.state=UNDER_VOTE; >> idea.save(); >> } > Well, we are talking about midgard here, where votes are different > component than the brainstorm it self, so some of the things aren't that > straightforward as you might think. Not difficult at all, just make the brainstorm component watch n.n.favourites creation and perform that activity in the watcher. http://bergie.iki.fi/blog/midcom-and-content-update-notifications Sorry about going to implementation details :-) /Henri -- Henri Bergius Nemein - Web Craftsmanship http://nemein.com
- Previous message: Brainstorm: useful?
- Next message: Brainstorm: useful?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]