Client Requires Multiple Login Pages

Permalink
Hi all. I'm trying to convert a site over from hifi to concrete5 and the client wants the site to be identical to the last one. Unforgivably the old site was designed with two separate login pages (each uniquely designed). One for clients and one for advisors. I have edited the site_theme_paths.php file in this manner:


<?php

defined('C5_EXECUTE') or die(_("Access Denied."));

$v = View::getInstance();
$v->setThemeByPath('/index.php/advisors/advisor-access', "wg_theme");
$v->setThemeByPath('/index.php/advisors/client-access', "wg_theme");


Doesn't seem to be working.

I have developed two single pages: advisor-access & client-access

But still doesn't seem to be working. I have copy and pasted the log in form from login.php to these two pages but it still seems to be referring me to /login that isn't customized. Thank you in advance for any assistance!

 
solenis replied on at Permalink Reply
Did you ever find a solution for this?

I am needing to do something similar; I am using the Multiple Domains add-on and the desire is to have different login pages for each domain / sub domain.

Currently I am planning on using a custom login page and simply using a large switch block to visually manage the appropriate includes and functionality.

I was hoping for a potentially more elegant solution.