Addon tutorial

28 views
Skip to first unread message

Mike Orr

unread,
Mar 23, 2013, 3:12:59 AM3/23/13
to ko...@googlegroups.com
I went through the addon tutorial which creates a Poll type. I made a
poll with two choices. When I view it, the poll page just has the poll
title, and each choice has a page with its title. But there's no poll
form I can find. So how do you actually take the poll and use the
poll?

--
Mike Orr <slugg...@gmail.com>

Daniel Nouri

unread,
Apr 9, 2013, 11:41:56 AM4/9/13
to Kotti mailing list, Mike Orr
I think it's just incomplete. If that's so, then we should obviously
put a note at the end of the second part.
> --
> You received this message because you are subscribed to the Google Groups "Kotti" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kotti+un...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
http://danielnouri.org

Mike Orr

unread,
Apr 9, 2013, 12:58:19 PM4/9/13
to Daniel Nouri, Kotti mailing list
I would put a note in the introduction saying that this is more a general example of a two-level structure (collection/record, blog/plage) than a practical poll. The kind of poll that I would normally use has all the questions together, so the separate question pages are superfluous and perhaps inefficient. Of course, other polls do have each question on a separate page, so this structure could be useful for that. A real poll may also need authentication to avoid duplicate votes or to allow people to change their votes. These could all be possible "homework problems" afterward.
--
Mike Orr <slugg...@gmail.com>

Daniel Nouri

unread,
Apr 9, 2013, 1:11:00 PM4/9/13
to Mike Orr, Kotti mailing list
On Tue, Apr 9, 2013 at 6:58 PM, Mike Orr <slugg...@gmail.com> wrote:
> I would put a note in the introduction saying that this is more a general
> example of a two-level structure (collection/record, blog/plage) than a
> practical poll. The kind of poll that I would normally use has all the
> questions together, so the separate question pages are superfluous and
> perhaps inefficient. Of course, other polls do have each question on a
> separate page, so this structure could be useful for that. A real poll may
> also need authentication to avoid duplicate votes or to allow people to
> change their votes. These could all be possible "homework problems"
> afterward.

The public view on the poll could pull all the questions together into
one. Which would be another way of fixing this. But I'm fine if we
find a better example. We should try and make it concrete though.
People will figure out that their collection/record data structure is
similar to the concrete example.

I've already opened a ticket for this: https://github.com/Kotti/Kotti/issues/215

Daniel
Reply all
Reply to author
Forward
0 new messages