Personal tools
You are here: Home Lists ZPUG DC List Archives 2005 2005-06 Archetype Questions / David Diskin <david.diskin@verizon.net>
Navigation
Log in


Forgot your password?
New user?
Mailing Lists
You can read our ZPUGDC mailing list archives online.
You can subscribe to our mailing list:
Book Review

The Definitive Guide to Plone

Reviewer: joel
 

Archetype Questions / David Diskin <david.diskin@verizon.net>

Archetype Questions
David Diskin <david.diskin(at)verizon.net>
2005-06-25 11:41:53 [ FULL ]
hi everyone,

I have finally gotten around to trying out archetypes and  
ArchGenXML.   I need a "Family" product that captures name, phone no,  
number of tickets requested, dues paid (boolean) and some other  
fields.  I have used ArchGenXML to generate this "Family" type for  
me.  Now, I have 2 scenarios to implement:

1. a member goes to a folder (called something like "Ticket  
Requests") and should see a createFamily form to be filled in.  Or,  
perhaps, I will use a tab or a link from another page somewhere.   
Sticking with the folder idea, how can I wire things so that the  
member sees a createFamily form instead of a folder_view or a doc_view 
(with index.html)?  And, I guess i would need to arrange the  
permissions so that an authenticated member could create a Family.   
Is there a better strategy?  (I noticed that when I add a Family  
type, the url is .../createObject?type_name=Family.).   Does creating  
a Families folderish container offer me any advantages here?

(Joel - this scenario seems similar to registering for the bootcamp.   
but, i'm not exactly sure how you did that).

2. a staff member goes to the folder of families.  he can search for  
one and then edit it or browse through them.  I guess table_view  
would be appropriate here.

Any strategy/design tips would be greatly appreciated, especially for  
#1.

Thanks,

David
==============================
David Diskin, david.diskin(at)verizon.net

Re: [ZPUGDC] Archetype Questions / Alex Clark <aclark@aclark.NET>

Re: [ZPUGDC] Archetype Questions
Alex Clark <aclark(at)aclark.NET>
2005-06-25 15:37:34 [ FULL ]
On Sat, Jun 25, 2005 at 12:43:04PM -0400, David Diskin wrote:[...]

CMFMember ? 
[...]
[...]

Re: [ZPUGDC] Archetype Questions / David Diskin <david.diskin@verizon.net>

Re: [ZPUGDC] Archetype Questions
David Diskin <david.diskin(at)verizon.net>
2005-06-25 16:04:56 [ FULL ]
Right, but I don't think I want to use CMFmember, since I am still  
using the regular Member.  Unless, I can still use Member but also  
create this new Archetype which is based on CMFmember?

David

On Jun 25, 2005, at 4:46 PM, Alex Clark wrote:
[...][...][...][...][...]
==============================
David Diskin, david.diskin(at)verizon.net

RE: [ZPUGDC] Archetype Questions / "Kromer, Matthew T. " <MATTHEW.T.KROMER@saic.com>

RE: [ZPUGDC] Archetype Questions
"Kromer, Matthew T. " <MATTHEW.T.KROMER(at)saic.com>
2005-06-27 07:31:18 [ FULL ]
If you want to change the default view of a folder, the best thing to do is
create a new folder type in the portal types tool.

Just create a new factory based type information type in the contents tab of
the portal_types tool.  Give the new type an ID (normally you leave the ID
blank) so that it doesn't conflict with a normal type.

You can then edit the actions tab of the new type to set up your own default
views.

Also, you can restrict the types that can be added under this new type to
just be families, and restrict families from everyone else, so that you can
control where they get created.



-----Original Message-----
From: zpugdc-owner(at)lists.zpugdc.org
To: zpugdc(at)lists.zpugdc.org
Sent: 6/25/2005 12:43 PM
Subject: [ZPUGDC] Archetype Questions

hi everyone,

I have finally gotten around to trying out archetypes and  
ArchGenXML.   I need a "Family" product that captures name, phone no,  
number of tickets requested, dues paid (boolean) and some other  
fields.  I have used ArchGenXML to generate this "Family" type for  
me.  Now, I have 2 scenarios to implement:

1. a member goes to a folder (called something like "Ticket  
Requests") and should see a createFamily form to be filled in.  Or,  
perhaps, I will use a tab or a link from another page somewhere.   
Sticking with the folder idea, how can I wire things so that the  
member sees a createFamily form instead of a folder_view or a doc_view 
(with index.html)?  And, I guess i would need to arrange the  
permissions so that an authenticated member could create a Family.   
Is there a better strategy?  (I noticed that when I add a Family  
type, the url is .../createObject?type_name=Family.).   Does creating  
a Families folderish container offer me any advantages here?

(Joel - this scenario seems similar to registering for the bootcamp.   
but, i'm not exactly sure how you did that).

2. a staff member goes to the folder of families.  he can search for  
one and then edit it or browse through them.  I guess table_view  
would be appropriate here.

Any strategy/design tips would be greatly appreciated, especially for  
#1.

Thanks,

David
==============================
David Diskin, david.diskin(at)verizon.net

[...]

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: