This is not a setup question, please use the normal plone-users list for general Plone help. :)

(the reason this list exists is that getting Plone up and running is a) not very interesting to others that already have it running, and b) so we can offer help on a more low-traffic list than the main Plone list)

-- Alexander

On Thu, 30 Mar 2006 10:10:14 -0800, Krys Dudek <[EMAIL PROTECTED]> wrote:

"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



--
_____________________________________________________________________

     Alexander Limi · Chief Architect · Plone Solutions · Norway

 Consulting · Training · Development · http://www.plonesolutions.com
_____________________________________________________________________

      Plone Co-Founder · http://plone.org · Connecting Content
  Plone Foundation · http://plone.org/foundation · Protecting Plone

_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to