Hi,
We've structured our SS projects so that all project specific configuration goes into _ss_environment.php, leaving _config.php to be as generic as possible, so that we can include it in our SS project boilerplate.
One thing that unfortunately is project specific is the call to SSViewer::set_theme(). From our reading of the forums, we get the impression that it is recommended to set a default theme programmatically, so we'd like to do that somewhere.
The question is where can we do this (preferably somewhere project-specific like _ss_environment.php) and outside of _config.php.
Is what we're doing here, OK... we define a constant in ss_environment.php that is then used in the _config.php's SSViewer::set_theme call. Eg...
_ss_environment.php
...
define('SS_PROJ_DEFAULT_THEME', 'MyDefaultTheme');
...
_config.php
...
SSViewer::set_theme(SS_PROJ_DEFAULT_THEME);
...
Seems to work well. Sounds OK?
Thanks for your input.
VWD.