Re: switch from dynamic to mobile
Thomas Jarosch <[email protected]>
| Newsgroups | gmane.comp.horde.devel |
|---|---|
| Organization | Intra2net AG |
| Message-ID | <31418058.q9G0RHChnr@storm> |
Hi, On Thursday, 9. October 2014 11:57:23 Lukas Weiss wrote: > is it possible for a user to change the view from smartmobile to > dynamic? i would like to implement a link "view full version". > > i found the $conf['user']['force_view'], but this is a global setting. > > i tried to use $registry->setView(), but can't find the right point in > the code where to add this. either the session is not initialized yet, > so i don't know the user (core.php) or it's too late (hooks). we had similar requirements. In the end Horde LLC developed a custom Auth driver based upon the IMAP auth driver for us. We then hooked the $registry->setView() stuff in the validateAuth() function. IIRC the normal horde login page has a dropdown field to select the view. Can't you just use that? Cheers, Thomas -- dev mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]