Hi,

The sections in the sample are simply pages under a common parent page named 
sections. If you create a new page there it will show up in the menu. The logic 
for this is in the template, template01.jsp.

website.sections.xml are pages that have been exported to xml and put in 
mgnl-bootstrap so they'll be added when the module is installed. You normally 
never edit these files manually. For more information on modules see 
http://documentation.magnolia-cms.com/reference/module-mechanism.html.

// Tobias

On Jan 5, 2011, at 7:45 PM, medikgt wrote:

> 
> 
> I recently downloaded the 
> http://svn.magnolia-cms.com/svn/community/modules/blossom/samples/trunk/
> Blossom sample app  and I'm trying to figure out how to add another section
> to it.
> 
> Currently the sample app comes with "About" "Books" "Tours" and "Contacts". 
> Let's just say I want to add another section called "Movies".  This is what
> I've done:
> 
> - created Movies.java (the bean)
> - created MoviesParagraph.java (the paragraph/controller)
> - created a movies.jsp for the movie form
> 
> All the pieces are in place but my problem is I can't figure out how to add
> this as another section.  I looked inside
> src/main/resource/mgnl-bootstrap/blossomSample/website.sections.xml and I
> see it has references to each section.  Each "page" seems to be a node but
> there are also lots of metadata such as UUID.  Are we suppose to edit the
> XML manually?  I can't find much documentation on that but I was able to
> find lots of info on Blossom and templating.
> 
> If you could point me to a link that explains the mgnl-bootstrap xml files
> and/or explain how to add a new section such as "Movies", that would be
> greatly appreciated.
> 
> Thanks
> -- 
> View this message in context: 
> http://old.nabble.com/Editing-mgnl-bootstrap-tp30598931p30598931.html
> Sent from the Magnolia - User mailing list archive at Nabble.com.
> 
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to