Joe Szurszewski wrote:

> However, we will need to do some custom templating and create a custom theme. 
>  The documentation states that best practice is to put a theme into it's own 
> module, put templates into their own module, etc.  The problem with this for 
> us is it appears that to create our own module(s), you have to create a 
> project, which means starting with a Maven archetype, then bringing 
> everything into an IDE.  We'd like to avoid these extra layers of complexity 
> and not have to worry about Maven or using an IDE.  
> 
> We just want to create some custom templates and a custom theme for the new 
> site.  Is it possible to do this without an IDE, Maven, etc.?  If so, how?

I would *definitely* take the time to setup a project using Maven and put your 
own stuff in one or more separate modules. This will pay off big time in the 
long run.

I'll repeat linking to these three posts by Magnolia's Grégory on why this is a 
good idea:

* http://dev.magnolia-cms.com/~gjoseph/dont-build-magnolia-build-your-projects
* 
http://dev.magnolia-cms.com/~gjoseph/dont-configure-magnolia-let-your-projects-configure-it
* http://dev.magnolia-cms.com/~gjoseph/dont-deploy-magnolia-deploy-your-project

You can use a Maven archetype to create your modules, but you don't have to. 
Although it might make it easier.

Also there is no *need* bring everything into an IDE. But again, it might make 
things easier. Opening a Maven project in an IDE is usually really easy, at 
least it is in IntelliJ IDEA and NetBeans: just open the pom.xml file in the 
project root and you should be ready to go.

(I left Eclipse a long time ago, and I agree opening a Maven project in Eclipse 
definitely wasn't that easy back then. Things might have changed for the 
better, I don't know.)

> Two possibilities spring to mind:
> 
> 1)  Can you create modules manually, without an IDE?  If so, is there 
> documentation on how to do this?

Whether you create modules (which are just jars with a Magnolia descriptor XML 
file) with or without an IDE doesn't really matter in the end. It's all just 
some directories and a bunch of files. You can use the same documentation AFAIK.

Magnolia 4.5: 
http://documentation.magnolia-cms.com/display/DOCS45/Module+management
Magnolia 5: http://documentation.magnolia-cms.com/display/DOCS/Module+management

Nils.

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

Reply via email to