Re: Archetype "My Document"
<VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org> (Mallikarjun) Sun, 21 Mar 2004 19:04:03 -0800
| Newsgroups | gmane.org.misc.vasudeva-server.web |
|---|---|
| Message-ID | <[email protected]> |
Hi Dhyani, I tested out your script - how to create and edit archetypes instances programmatically. It works very well as you can see it on my site. But I had to do two things - first restart zope and then do /portal_quickinstaller, check "ArchExample" as Priyadarshan suggested. My question can we experiment with creating new content types using archetypes. Mallikarjun ----- Original Message ----- From: "Priyadarshan" <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org> To: "Vasudeva Service" <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org> Sent: Sunday, March 21, 2004 9:20 AM Subject: Re: [VasudevaService] Archetype "My Document" > Dhyani, Jagrata, > > > Archetypes are products that naturally belong to the whole zope site, > > but > > you have to install them for every Plone site by doing the following: > > On your Plone site, go to /portal_quickinstaller, check "ArchExample" > > and > > click on "Install". > > > > I understand now. I did install the products in the srichinmoyraces > test site. > It is a chinch. > Thanks. > > > I am answering your points 2) and 3) together. I did not create the > > edit > > page of Archetypes - this is part of the Archetypes framework. > > Obviously > > they tried to make the Archetypes edit page look similar to the > > built-in > > Plone edit page, but they didn't care to make them identical, as you > > would > > like them to be. I'm not sure to which extent I can customize this, I > > have > > to do some research here. > > > > But then, I would suggest that we actually modify the above help text. > > Instead of : > > "If you are unsure of which format to use, just select Plain Text and > > type > > the document as you usually do.", > > we should have: > > "Please select Text/Html if you want to use Epoz for editing". > > Because, if you don't select Text/Html and you use Epoz, you are > > asking for > > trouble, as I can assure you from my experience.... > > > > If you are happy with the field name "Mydescription" instead of > > "Abstract", > > that's no problem. Only "Description" is not possible, as I explained > > before. Please confirm this, and I will do it ASAP. > > > > > > I must confess, I still feel very uneasy about using Archetypes for our > basic content type. We are definitely going to use Archetypes for > complex data structures, like races, running logs, library items, ect, > but there are some marginal issues which give me the feeling of an > unfinished product. > > When I look at the default Plone Document, I see for example a > "Sharing" tab that does not show up in the archetype content. > Also, when i look at the archetype one, I see a "references" tab, (it > does not show up for the default document) which seems not to work. > > When I edit an Archetype, it does let me choose a "Text Format", which > does not make sense, since it should be "plain/html" only. this does > not happen for the default document. > > Somehow, it seems to me that archetypes (at least the version we have, > 1.2.4. I know that plone 2.0 require 1.2.5 compulsory) are still not > hooking up perfectly with the rest of Plone. > > So, since right now the all machinery is very smooth, and tidy, I > really would like to keep it like that as much as possible. What do you > think about it? > Is this just my impression? > > priyadarshan > > > -------------------------------------------------------------------------- > This message is sent to you because you are subscribed to the mailing list <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org>. > Vasudeva Service home: http://www.vasudevaservice.com/ > Browse list: nntp://news.gmane.org/gmane.org.misc.vasudeva-server.web > List archive: https://pop.vasudevaserver.org:13031/Lists/VasudevaService/List.html > -------------------------------------------------------------------------- -------------------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list <VasudevaService-K9y3B4ipJAZZAIG4hdpdiNBPR1lH4CV8@public.gmane.org>.