You are hereimp dimp traditional dynamic not showing up at login time

imp dimp traditional dynamic not showing up at login time


By thomas - Posted on 19 September 2008

After copying our configuration from our old server to our new server, we lost the select box that allowed the user to choose Traditional (imp) or Dynamic (dimp). Reading login.php we found: if (!empty($conf['user']['select_view'])) { $apps = $registry->listApps(null, true); $view_cookie = isset($_COOKIE['default_imp_view']) ? $_COOKIE['default_imp_view'] : ($browser->isMobile() && isset($apps['mimp']) ? 'mimp' : 'imp'); if (isset($apps['dimp']) || isset($apps['mimp'])) { $views[] = array('sel' => $view_cookie == 'imp', 'val' => 'imp', 'name' => _("Traditional")); if (isset($apps['dimp'])) { $views[] = array('sel' => $view_cookie == 'dimp', 'val' => 'dimp', 'name' => _("Dynamic")); } if (isset($apps['mimp'])) { $views[] = array('sel' => $view_cookie == 'mimp', 'val' => 'mimp', 'name' => _("Minimalist")); } } } So, we added $conf['user']['select_view'] = true to our horde/imp/config/conf.php and that solved it.
Tags

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options