Page 1 of 1

Content Management module for Customers

Posted: Fri Sep 05, 2014 6:23 pm
by mercury1231
I'm wondering if there is a module in Broadleaf that allows customers to manage contents. For example, customers might want to be able to upload photos associated with their addresses or some other asset (let's say for a special purpose).

Is it possible to reuse some of the admin code (e.g. AdminAssetUploadController, StaticAssetService and StaticAsset) for this purpose?

Re: Content Management module for Customers

Posted: Sat Sep 06, 2014 6:06 pm
by phillipuniverse
The StaticAssetService is a good place to deal with user file uploads. You might look at the AdminAssetUploadController for how it uses the StaticAssetService, but I would not use that class directly. I would just use it for guidance on how to implement your own.