Edit system pages - Login and Register not working
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);
that did it. I was editing the /concrete/config so I changed those back to defaults. I went into the site_theme_paths.php in /config and took out the qoute comment marks and added 'inove' in the pages and I also cleared the cache and now those pages are displaying with the theme selected! Thanks!
#2 if you did do the one in /config then it should not have been overwriteen,
#3 are you sure your theme handle is inove,
#4 if it is you need single quotes around it : 'inove'