Skip to main content

Sample remember based custom member implementation

Project description


  1. Setup requirements for remember and membrane
    e.g. latest Five @
  2. Add remember and membrane products to your zope Products folder
  3. Add sampleremember


  1. Search and replace all “sampleremember” to “name-of-your-product” (CASE is important)
  2. Search and replace all “SampleRemember” to “NameOfYourProduct” (CASE is important)
  3. Rename files that are named sampleremember or SampleRemember [list which ones]


See “docs/tutorial” for Tutorial documentation. THIS TUTORIAL IS A BIT DATED and may not include
all the steps needed. The ‘sampleremember’ code is the most up-to-date.

See “examples/sampleremember” for the sample remember product.

See “examples/sampleremember/TODO.txt” for suggested list of items that need work.


3/9/07 Tutorial originally created by:

Andrew Burkhalter <> Brian Gershon <>

HISTORIC ISSUE (only relates to code based on SampleRemember version 1.0)

If you based your code on an earlier version of SampleRemember (v 1.0) you may have an incorrectly registered GenericSetup “Import Step” that is stuck in your site, which might be preventing other GenericSetup profiles from running.

I posted a How-To on called “GenericSetup: Uninstalling Import Steps” (which also details doing this manually in Clouseau), but if you’re anxious:

NOTE: The bad step may be called “remember-useraddr” or
“sampleremember-defaultmember” or it may be called “YourProductNameHere-default”. The correct one is “remember-useradder”, so don’t delete that one.

Instructions for removing this step are to create an External Method that calls the following code:

from Products.GenericSetup import profile_registry, EXTENSION
from Products.CMFPlone.interfaces import IPloneSiteRoot
from Products.CMFCore.utils import getToolByName

setup = getToolByName(self, 'portal_setup')


ir = setup.getImportStepRegistry()
#print ir.listSteps()  # for debugging and seeing what steps are available

# delete the offending step
    del ir._registered['myproduct-badstep']
except KeyError:
# commit the changes to the zodb
import transaction
txn = transaction.get()


  • [Mar 23 2009] Fix git based release problem, now using setuptools-git (hannosch)
  • [Mar 20 2009] Fix bug where SampleMember wasn’t allowed in MemberDataContainer
  • [Jul 30 2007] portal_type changed. The version in now matches same case as GenericSetup’s archetype_tool.xml

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Products.sampleremember, version 1.1b2
Filename, size File type Python version Upload date Hashes
Filename, size Products.sampleremember-1.1b2.tar.gz (10.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page