[Setup] I need to either add two or three string fields to ATEventsor rename a couple of the existing ones...
Alan Runyan
alan at enfoldsystems.com
Thu Mar 30 18:12:15 UTC 2006
Use plone-users mailing list
> -----Original Message-----
> From: setup-bounces at lists.plone.org
> [mailto:setup-bounces at lists.plone.org] On Behalf Of Krys Dudek
> Sent: Thursday, March 30, 2006 12:10 PM
> To: setup at lists.plone.org
> Subject: [Setup] I need to either add two or three string
> fields to ATEventsor rename a couple of the existing ones...
>
> "All" I'd like to do is to rename a couple of the fields as
> they appear on the event creation and event view forms (and
> if I can't do that, add 2 or 3 extra string fields). Doesn't
> sound like it ought to be that hard. But...
>
> I have been trying to do this with Scriptable Type
> Information with no luck...
>
> # Parameters: folderish_container, id
> # Bound Names: context, container, script, traverse_subpath
>
> # Get the FactoryDispatcher.
> product = context.manage_addProduct['ATContentTypes']
> # Build the instance.
> product.addATEvent( id )
>
> # Fetch it, wrapped in container.
> item = getattr( context, id )
>
> # Return it to the type object.
> return item
>
> The object type was created with Factory Type Information and
> the product factory method set to the name of the script above.
>
> Right now, my new type isn't even appearing as an option in
> the types to add.
>
> Any and all help would be most welcome.
>
> Krys
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> http://lists.plone.org/mailman/listinfo/setup
>
More information about the Setup
mailing list