We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Theme select via config [ Solution available] | Forum

Paul Nov 23 '16

is it possible to define a Theme via config file, not via database?

King Regards

The Forum post is edited by Aliya Nov 25 '16
Oxwall Tips
Oxwall Tips Nov 23 '16
Config.php of core platform? OR you are trying to create a plugin that could have defined a  new theme ?
Paul Nov 24 '16
Config.php would be ok for the first time, but a plugin would be more expandable, of course

The idea is to use more Hosts/Domains but one Database

Oxwall Tips
Oxwall Tips Nov 25 '16
For a plugin:


    public function genericInit()

::getEventManager()->bind(‘base.get_active_theme_name’, array($this, 'changeTheme'));
    public function changeTheme() {
              return ‘new_theme_name’;
The Forum post is edited by Oxwall Tips Nov 25 '16