21487 Posts in 5783 Topics by 2621 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1000 Views |
-
How to change SS directory structure?

15 May 2009 at 11:00am Last edited: 15 May 2009 11:04am
Hi,
I'm wondering if is possible to change the directory structure of SS.
If it is, where is the correct place to do the changes?Current structure:
./assets
./cms
./googlesitemaps
./jsparty
./mysite
./sapphire
./themesI want it to be like this:
./assets
./modules/cms
./modules/googlesitemaps
./modules/jsparty
./modules/all other modules will be put here
./mysite
./sapphire
./themesSo basically what I want is to have all modules installed in ./modules/ directory instead of in the SS root directory.
Thanks
-
Re: How to change SS directory structure?

15 May 2009 at 11:57am
You can do that, All you would need to do is create a /modules/_config.php will all the combined information of module-name/_config.php files (as a _config tells SS to load this code, and it only loads it up 1 directory I believe) and then you would just need to edit the JS, Image and CSS paths in each module to point to the new location
-
Re: How to change SS directory structure?

15 May 2009 at 8:45pm Last edited: 15 May 2009 8:46pm
It works. Thanks!
I've created a "./modules/_config.php", that dynamically includes the "_config.php" files in all subfolders.
| 1000 Views | ||
|
Page:
1
|
Go to Top |


