List Info

Thread: I need to either add two or three string fields to ATEvents or rename a couple of the existing ones.




I need to either add two or three string fields to ATEvents or rename a couple of the existing ones.
user name
2006-03-30 18:30:54
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  
<kryscim.mcgill.ca> 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.plonesolutio
ns.com
____________________________________________________________
_________

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

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

about | contact  Other archives ( Real Estate discussion Medical topics )