Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Data Model Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Placing Class files in subdirectories?


Go to End


3 Posts   959 Views

Avatar
kaanuni

Community Member, 22 Posts

22 December 2012 at 2:14am

The number of classes in my current project is quite large and growing. It would be nice if I could organize them into sub-directories under /mysite/code. What effect if any would such a reorganization have?

Avatar
kaanuni

Community Member, 22 Posts

22 December 2012 at 11:49pm

So It appears that the reorganization has no effect.

Avatar
Willr

Forum Moderator, 5523 Posts

10 January 2013 at 8:17pm

As long as you run a ?flush=1 after moving things around (to update the internal manifest file) you can organize files into subfolders, modules as much as you wish!