Personal tools
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

3.3. Remember

Up one level
Generate 'Remember' based Member-Types. Its the successor of CMFMember.

Prerequisites

You must install to additional Products:

You should also read the documentation of both and understand how they work!

A Content-Type based on remember

  • Create a class in your class diagram and give it a a stereotype <<remember>>
  • add the tagged value use_workflow and set it to one of member_approval_workflow or member_auto_workflow. You can create also your own workflow if you know what remember needs (look at the workflows shipped with remember).
  • set the active_workflow_states tagged value to the class and declare which states of the used workflow are the ones, where the user can log in with. It expects a list of values, e.g. python:["private", "public"]
  • Add attributes (fields) as you need. Attention here, only override fields of remembers BaseMember schema if you know what youre doing.
  • Generate & Done
by Jens W. Klein last modified October 24, 2007 - 17:54
Contributors: Jens W. Klein (jensens), Reinout van Rees (reinout), Martin Aspelli (optilude), Harald Frisnegger (frisi), Bernhard Snizek (drzoltron), Richard Amerman (fifer), Torsten Dieter Kuehnel, Encolpe Degoute (encolpe), et al
All content is copyright Plone Foundation and the individual contributors.

workflow states

Posted by Franklin Kingma at January 22, 2008 - 16:58
shouldnt python:["private", "public"] be ["private", "public"]?

the entry is evaluated and returns an error

type['active_states'] = eval(workflow_states)
File "<string>", line 1
python:['private', 'public']

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by