custom remember type
from
"Justin Ryan"
on Jul 09, 2007 06:49 PM
Howdy all..
Apologies for the cross-post, I am not on the remember list yet, and I
have a client who would desperately like for me to get a simple custom
remember type working for them this weekend. I assume this wlll
eventually be passed through moderation to the remember list, but I
thought there may be some folks on plone-users who can help.
At current I have a custom type:
from Products.remember.content.member import BaseMember
class MyPerson(BaseMember):
..
This is generated with AGX, and I believe I have followed the remember
documentation on custom schema, making sure that fields which should
be on the registration form have regfield=1, etc.. In fact, at one
point I examined remember's schema and made sure to pass all of the
same options in mine, though remember documentation suggests this is
unnecessary, and I've backed off a bit.
I made this type addable in MemberDataContainer, remember's
replacement for portal_memberdata which contains member objects by
default.
No matter what I do, and with VerboseSecurity on, I get a vague
UnauthorizedError when I try to sign up for this site as anonymous,
though it works perfectly with remember's base Member type when I set
that back to the default type.
Any help is greatly appreciated!
Justin
--
Justin Alan Ryan, Director, VonGogo Foundation
Independent Interactivity Architect
http://www.bitmonk.net/
* : +1-415-226-1199
"I'm the decider." -Bush