6.0.0-git
2018-12-10
Last Modified 2009-09-15 by Jan Schneider

To make the mode "Dynamic" at the login screen you need to edit the ./imp/login.php file. Search for the code that looks like this:

 
/* If DIMP/MIMP are available, show selection of alternate views. */

$views = array();
if (!empty($conf['user']['select_view'])) {
    $apps = $registry->listApps(null, true);
    if (isset($apps['dimp']) || isset($apps['mimp'])) {
        $views[] = array('sel' => false, 'val' => 'imp', 'name' => _("Traditional"));
        if (isset($apps['dimp'])) {
            $views[] = array('sel' => true, 'val' => 'dimp', 'name' => _("Dynamic"));
        }
        if (isset($apps['mimp'])) {
            $views[] = array('sel' => false, 'val' => 'mimp', 'name' => _("Minimalist"));
        }
    }
}

Set the value for "Dynamic" to true as in the example above

Alternately, in order to not override mobile phone detection, change:

        : ($browser->isMobile() && isset($apps['mimp']) ? 'mimp' : 'imp');

To:

        : ($browser->isMobile() && isset($apps['mimp']) ? 'mimp' : 'dimp');