Files in Portal Root?

Sep 18, 2015 at 4:07 PM
Not a fan of how this module automatically creates Root level portal Folders.
What's wrong with the module folder?
Sep 18, 2015 at 4:57 PM
Edited Sep 18, 2015 at 4:59 PM
If you mean by module folder /DesktopModules/OpenContent then this folders can overwriten by upgrades.

The module folder is not the place to store site specific files like templates and images.

Like skins , opencontent stores templates in the /portals/[portalid] folder.

Like skins in the new dnn versions, a move to the system folder in Portals is maybe a good idea.

What's wrong with the portals folder?
Dec 18, 2015 at 2:04 PM
I agree with Sacha, but the module could also only create the folder when it has something to put in it?
Now if you don't put your templates in the portal folder, but in the skin folder, there's no real need for the module to also create a folder in the in the portal folder, right?