System pages - Login and Register is not displaying my theme
Permalink
I'm sure this is easy stuff but I just upgraded to the latest version of Concrete5 and now the system login and register pages defaulted back to the original. I edited the theme_paths.php to the inove theme but it's not changing the layout. I had it working before the upgrade but it seems the upgrade defaulted it.
this is the code in the theme_paths.php
$v = View::getInstance();
// TODO - make this honor * better, actually work for more than just dashboard
$v->setThemeByPath('/dashboard', 'dashboard');
$v->setThemeByPath('/dashboard/*', 'dashboard');
$v->setThemeByPath('/page_forbidden', VIEW_CORE_THEME);
$v->setThemeByPath('/page_not_found', VIEW_CORE_THEME);
$v->setThemeByPath('/install', VIEW_CORE_THEME);
$v->setThemeByPath('/login', inove);
$v->setThemeByPath('/register', inove);
$v->setThemeByPath('/maintenance_mode', VIEW_CORE_THEME);
this is the code in the theme_paths.php
$v = View::getInstance();
// TODO - make this honor * better, actually work for more than just dashboard
$v->setThemeByPath('/dashboard', 'dashboard');
$v->setThemeByPath('/dashboard/*', 'dashboard');
$v->setThemeByPath('/page_forbidden', VIEW_CORE_THEME);
$v->setThemeByPath('/page_not_found', VIEW_CORE_THEME);
$v->setThemeByPath('/install', VIEW_CORE_THEME);
$v->setThemeByPath('/login', inove);
$v->setThemeByPath('/register', inove);
$v->setThemeByPath('/maintenance_mode', VIEW_CORE_THEME);
any ideas anyone? it used to work! I didn't change anything except update the latest version. is there some other code I need to change elsewhere now?
I had to change my theme_path.php back to default settings. I then went into the site_theme_paths.php and remove the /* and */ before the actual paths and then I entered my theme handle with ' marks. After all that I cleared the cache from the dashboard.