-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Geeks

After creating and deploying a module successfully I was wondering if there is a way to force a bootstrap do bring in new content or configuration without having to manually delete the two nodes by hand.

Thanks - Andy

On Nov 26, 2007, at 1:35 PM, Andreas Schaefer wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry Guys, I just figured it out. The problem was that my templates was not in mgnl-files/templates/<module name> at first and when I changed it I forgot to delete everything to restart the bootstrapping. Deleting the website and configuration module did the trick.

Sorry for the noise - Andy

On Nov 26, 2007, at 1:17 PM, Andreas Schaefer wrote:

Ok, I took the magnolia samples module and adjusted it to my needs and deployed it. Now the website is deployed and the config/<module name>/dialogs show up but not the templates nor the paragraphs. That is what I see in the log:

2007-11-26 11:40:41,998 INFO [STDOUT] INFO info.magnolia.cms.beans.config.ModuleLoader ModuleLoader.java(load: 147) 26.11.2007 11:40:41 start initialization of module mpg 2007-11-26 11:40:42,089 INFO [STDOUT] INFO info.magnolia.cms.beans.config.ModuleLoader ModuleLoader.java(load: 150) 26.11.2007 11:40:42 module mpg initialized 2007-11-26 11:40:42,089 INFO [STDOUT] INFO info.magnolia.cms.beans.config.ModuleLoader ModuleLoader.java(load: 147) 26.11.2007 11:40:42 start initialization of module samples 2007-11-26 11:40:42,093 INFO [STDOUT] INFO info.magnolia.cms.beans.config.TemplateManager TemplateManager.java(onRegister:51) 26.11.2007 11:40:42 Config : loading Template info - /modules/samples/templates 2007-11-26 11:40:42,126 INFO [STDOUT] INFO info.magnolia.cms.beans.config.TemplateManager TemplateManager.java(onRegister:61) 26.11.2007 11:40:42 Config : Template info loaded - /modules/samples/templates 2007-11-26 11:40:42,285 INFO [STDOUT] INFO info.magnolia.cms.beans.config.ModuleLoader ModuleLoader.java(load: 150) 26.11.2007 11:40:42 module samples initialized

Which seems that my module does not contain the templates but I have an extracted config/modules/<module name>.xml file inside the mgnl-files/templates

What am I missing?

Thank you - Andy

On Nov 25, 2007, at 1:48 AM, Ralf Hirning wrote:

Andreas,

did you follow http://documentation.magnolia.info/docs/en/developer/custommodules.html to create your module?

Ralf

Andreas Schaefer schrieb:
I somehow figured out that I need to set the "/Register/class" node inside with module in order for Magnolia to pick up the ad- hoc module. Is that correct?


Hi

I imported the old structure the same way like the "samples" module so that both look identical including the class, name and version. Now when I restart JBoss which hosts Magnolia I see the following in the log:

which means that somewhere I need to configure/register the module but where?

If you restarted magnolia after creating the new "directories" it should work. If not, please post your new structure, there's either a mistake or a bug to be fixed in magnolia.

During my upcoming upgrade to 3.0.5 (from 3.0.1) I also wanted to see if I could revamp my old structure within the configuration so that everything that concerns my webpage is in one "sub directory". Looking at your samples I see that you put all the configuration into the "modules/samples" directory but when I try to do the same thing with my configurations then it will not show the paragraphs and also complain about missing templates when I want to render the page.

What do I have to do in order to tell Magnolia that my templates are in a special directory. I tried to find the link but I failed.

Thank you - Andy Schaefer



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHSzwNs4gPTNnP0gkRAggJAJ41CNjvRcJyNptL+tYEaztEum0lxwCeJTZ4
6U9xu7zpHVJykhzHGQvRlec=
=hjwi
-----END PGP SIGNATURE-----

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHSz3/s4gPTNnP0gkRArc9AJ9WZi6cGtLOp9VCFIzP/zCPtHcuYACeLQgq
9UhqiKD62jvZRez0ZRDNFXk=
=ouaB
-----END PGP SIGNATURE-----

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to