Page 1 of 1

Creating custom modules

Posted: Thu Jan 17, 2013 1:11 am
by velmurugan

please help me out creating custom module in broadleaf commerce , the document says , content is coming soon.

Thanks in advance,

Re: Creating custom modules

Posted: Thu Jan 17, 2013 4:05 pm
by phillipuniverse
Thanks for the heads up on that.

What kind of module did you have in mind? If you provide some more specifics I might be able to direct you to the appropriate places or provide further guidance.

Re: Creating custom modules

Posted: Mon Jan 21, 2013 11:29 am
by karim.hj

I think that publishing in the wiki a tutorial on how to create a very basic independant admin module would be great thing:
( like you did with your inventory module or pricelist module)

It could be great for newcomers who wonder how to customize blc with a module/plugin.

For example, a basic 'configuration module' which stores some site configuration values.
We could have string or boolean values, for example a server configuration ( address, port , ssl or not ... ) or a "simple hello world" message :-)
These values might be used in the front site.
Or an example based on one of the wiki's examples.

Maybe steps would be :

- Create the bean's class
- Adding admin annotation
- Configure access roles/rights, section aso...
- Publishing the new functionnality in a 'blc-configuretheworld' maven module ( based on a maven archetype ?)
- Using it into the demo site by display some values ( maven dependency , spring.xml, java code )

Re: Creating custom modules

Posted: Mon Jan 21, 2013 3:09 pm
by phillipuniverse
That's actually not a bad idea. It's still an active item on our docs list. We have some semblance of it here: ... odule.html but it's changed slightly with the new admin.

Your suggestion is a good one for an example extension.