Hi Dennis,

That is truly remarkable. I look forward to using this and, hopefully
getting commitment to Hippo from a major publisher as a result,

Thanks

On 29/02/2008, Dennis Dam <[EMAIL PROTECTED]> wrote:
>
> Hey Warrel,
>
> I just made a document page on hippocms.org explaining how to set up a
> backend template with nested XML structure:
>
> http://hippocms.org/display/CMS/Example+of+creating+nested+structures
>
> Have fun,
>
> Dennis
>
> warrell harries wrote:
> > Hi Dennis,
> >
> > I did have a go at combining it with the layout for the sitemenu but
> haven't
> > had any success yet. Could you post me a version of yours as I need to
> put
> > together a sitemap content type that isn't limited to 4 levels?
> >
> > I will have another go at it tomorrow but if you have anything that
> could
> > help it would be much appreciated.
> >
> > Thanks
> >
> >
> > On 28/02/2008, Dennis Dam <[EMAIL PROTECTED]> wrote:
> >
> >> Hey Warrel,
> >>
> >> yeah sure, we use it all the time, like the one I showed Marco.  Did
> you
> >> try that one?
> >>
> >> Dennis
> >>
> >> warrell harries wrote:
> >>
> >>> Hi Marco and Dan,
> >>>
> >>> Did you ever build a properly recursive content type in Hippo?
> >>>
> >>> Regards
> >>>
> >>> On 24/01/2008, Marco Casavecchia Morganti <
> >>> [EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>> Thanks a lot Dan!
> >>>> I will try to follow your suggestions soon.
> >>>>
> >>>> By Marco.
> >>>>
> >>>>
> >>>> Dennis Dam wrote:
> >>>>
> >>>>
> >>>>> Hi Marco,
> >>>>>
> >>>>> In the XML schema definition of "box" you don't have a recursive
> >>>>> reference to the box. Here's an example of a "nodetree" recursive
> XSD
> >>>>>
> >> :
> >>
> >>>>> <xs:element name="nodes">
> >>>>>      <xs:complexType>
> >>>>>        <xs:sequence>
> >>>>>          <xs:element name="node" minOccurs="0"
> maxOccurs="unbounded">
> >>>>>            <xs:complexType>
> >>>>>              <xs:attribute name="id" type="xs:string"/>
> >>>>>              <xs:attribute name="value" type="xs:string"/>
> >>>>>              <xs:sequence>
> >>>>>                <xs:element ref="node" minOccurs="0"
> >>>>>
> >>>>>
> >>>> maxOccurs="unbounded"/>
> >>>>
> >>>>
> >>>>>              </xs:sequence>
> >>>>>            </xs:complexType>
> >>>>>          </xs:element>
> >>>>>        </xs:sequence>
> >>>>>      </xs:complexType>
> >>>>>    </xs:element>
> >>>>>
> >>>>> And I think the <reference> element pointing to box in the layout is
> >>>>>
> >> not
> >>
> >>>>> correct. Here's the example for the nodetree backend template:
> >>>>>
> >>>>> <layout>
> >>>>>
> >>>>>  ....
> >>>>>
> >>>>>  <template name="/nodes/node">
> >>>>>     <!-- display node's content here -->
> >>>>>    ....      <!-- and call the node recursively -->
> >>>>>     <reference id="/nodes/node"/>
> >>>>>  </template>
> >>>>>
> >>>>> </layout>
> >>>>>
> >>>>>
> >>>>> HTH,
> >>>>> Dennis
> >>>>>
> >>>>>
> >>>> ********************************************
> >>>> Hippocms-dev: Hippo CMS development public mailinglist
> >>>>
> >>>>
> >>>>
> >>> ********************************************
> >>> Hippocms-dev: Hippo CMS development public mailinglist
> >>>
> >>>
> >> ********************************************
> >> Hippocms-dev: Hippo CMS development public mailinglist
> >>
> >>
> > ********************************************
> > Hippocms-dev: Hippo CMS development public mailinglist
> >
>
> ********************************************
> Hippocms-dev: Hippo CMS development public mailinglist
>
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to