Hi Ralf,

Thanks for your answer. I will try something with that

Stephane

-----Original Message-----
From: Ralf Hirning [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 28, 2006 9:19 AM
To: [email protected]
Subject: [magnolia-user] AW: menus

Hi Stephane,

you know, you can do almost everything with Magnolia. Just use the Magnolia 
API. If you want to display the children of a named page "/money", here is the 
code snippet to get the Collection of the children (type Content):

HierarchyManager hm = 
MgnlContext.getHierarchyManager(ContentRepository.WEBSITE);
Content page = hm.getContent("/money");
Collection children = page.getChildren(ItemType.CONTENT);

Now you can use all the nice methods of class Content

Ralf


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 28. Juli 2006 09:03
An: [email protected]
Betreff: Re: [magnolia-user] menus

Hi,

Oups, sorry to be confusing.
I mean different menus within the same website.
Ex. Getting only children of a named page in the root level?
I think there is something possible with the levels isn't it?

Stephane

St phane Gauthier * Intranet / Internet
Lloyds TSB International Private Banking



-----Original Message-----
From: Zoran Balkic [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 27, 2006 9:15 PM
To: [email protected]
Subject: Re: [magnolia-user] menus

Hello,

well, depends on what u mean by 'more than one menu'?
more website trees, menu div's on the pages or?

Zoran

Gauthier, Stephane (CH Temp) wrote:
> Hi,
>
> I would like to know whether it's possible to manage more than one
menu
> with version 3.0.
> If yes, how to do that? And what are the constraints?
>
> Many thanks in advance for your help
>
> St phane
>
> St phane Gauthier * Intranet / Internet
> Lloyds TSB International Private Banking


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

************************************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please notify the system manager 
([EMAIL PROTECTED]) and delete the message with any attached files from your 
system.
The confidentiality and integrity of this message cannot be guaranteed on the 
Internet and the sender does not accept liability for its content.

***********************************************************************************


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to