[Zope-CMF] Boring Content
Marc Fischer
marcbpc@gmx.de
Mon, 3 Sep 2001 15:19:59 +0200 (MEST)
sorry, but that explaination is a little bit short for me.
Where (in the __init__()-method) should I add my new attributes???
Isn't anyone out there, who could send me a little example in using the
boring content product.
Thanx again, Marc
> [Marc Fischer]
>
> | But I don't understand, how the files of the boring content product
> | should be edited, so that it handles those new attributes. (name,
> | adress, city).
>
> Add them to the class' __init__()-method. Then updated the
> skins/CMFBoringContent/cmfboring_content_edit.py and
> skins/CMFBoringContent/cmfboring_content_edit_form.dtml.
>
> You also need to update the edit()-method to accept the new arguments.
>
> I believe that's it.
>
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net