Hello Pawel, In your layout you have to use a repeater when minOccurs and maxOccurs are not equal and/or greater than 1: http://www.hippocms.org/display/CMS/Layout+reference#Layoutreference-Repeaterwidget
Jasha Joachimsthal www.onehippo.com Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-3329 +1 (707) 773-4646 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Procaj Pawel > Sent: donderdag 19 juni 2008 13:15 > To: [email protected] > Subject: [HippoCMS-dev] multiple htmlfields in a content type > > Hello, > > I've got a question concerning content type definition. Is it > possible to define an html field so that it would be added > dynamicly to the output XML file? > As a result I would like to get something like this: > <xs:element name="body" type="xs:string" minOccurs="0" > maxOccurs="3"/> > > After adding 'maxOccurs' to the schema it results in a pair > of 'add/remove' buttons on the layout page but no html editor > is displayed - there is only a text input and a checkbox. I > don't know how to define it in the layout file so at least > one editor would be displayed. > > Please let me know if you found the solution. > > Best regards > Pawel P. > Wiadomość wysłano z domeny zarządzanej przez: > ATENA Usługi Informatyczne i Finansowe Sp. z o.o., ul. > Rzemieślnicza 33, 81-855 Sopot Sąd Rejonowy Gdańsk-Północ w > Gdańsku, VIII Wydział Gospodarczy Krajowego Rejestru > Sądowego, KRS: 0000009488, NIP: 585-10-07-625, Kapitał > zakładowy: 1.000.000 złotych > ******************************************** > Hippocms-dev: Hippo CMS development public mailinglist > > Searchable archives can be found at: > <a href=ttp://hippocms-dev.markmail.org/">MarkMail</a> and <a > href=ttp://www.nabble.com/Hippo-CMS-f26633.html">Nable</a>. > > ******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: <a href="http://hippocms-dev.markmail.org/">MarkMail</a> and <a href="http://www.nabble.com/Hippo-CMS-f26633.html">Nable</a>.
