[horde] Fwd: portal_layout

Michael Rubinsky mrubinsk at horde.org
Sat Apr 24 15:31:27 UTC 2010



----- Forwarded message from Jiri Bartl <diplomkahorde at gmail.com> -----
    Date: Sat, 24 Apr 2010 17:12:05 +0200
    From: Jiri Bartl <diplomkahorde at gmail.com>
Subject: Re: [horde] portal_layout
      To: Michael Rubinsky <mike at theupstairsroom.com>

yep, I got the philoshophy .... it didn't work but I already figure it out.

I went through the arrey and I found this "Ã?koly" I just deleted the "Ã"
and everything works fine. The "?" is czech character and mysql just added
that strange "Ã" character infront of the ? characstar .....

What causes this problem? The mysql is set for UTF-8.

Even in categories when I set some of them in czech characters the mysql mix
that up in some strange character but these are displayed in horde without
problems. I can correct that names though.



On Sat, Apr 24, 2010 at 2:09 PM, Michael Rubinsky
<mike at theupstairsroom.com>wrote:

>
>
> "Jiri Bartl" <diplomkahorde at gmail.com> wrote:
>
> >Hi guys,
> >
> >I'm trying to set the default layout to all users by following>
> >
> >$_prefs['portal_layout'] = array(
> >    'value' =>
>
> >'a:3:{i:0;a:3:{i:0;a:4:{s:3:"app";s:3:"imp";s:6:"params";a:2:{s:4:"type";s:7:"summary";s:6:"params";b:0;}s:6:"height";i:1;s:5:"width";i:1;}i:1;a:4:{s:3:"app";s:5:"turba";s:6:"height";i:1;s:5:"width";i:1;s:6:"params";a:2:{s:4:"type";s:10:"minisearch";s:6:"params";a:0:{}}}i:2;a:4:{s:3:"app";s:5:"jonah";s:6:"height";i:1;s:5:"width";i:1;s:6:"params";a:2:{s:4:"type";s:4:"news";s:6:"params";a:4:{s:6:"source";s:1:"7";s:4:"view";s:7:"compact";s:3:"max";s:1:"5";s:4:"from";s:1:"0";}}}}i:1;a:3:{i:0;a:4:{s:3:"app";s:9:"kronolith";s:6:"height";i:1;s:5:"width";i:2;s:6:"params";a:2:{s:4:"type";s:5:"month";s:6:"params";a:1:{s:8:"calendar";s:5:"__all";}}}i:1;s:7:"covered";i:2;a:4:{s:3:"app";s:9:"kronolith";s:6:"height";i:1;s:5:"width";i:1;s:6:"params";a:2:{s:4:"type";s:9:"monthlist";s:6:"params";a:3:{s:8:"calendar";s:5:"__all";s:6:"months";s:1:"2";s:9:"maxevents";s:1:"5";}}}}i:2;a:3:{i:0;a:4:{s:3:"app";s:5:"mnemo";s:6:"height";i:1;s:5:"width";i:1;s:6:"params";a:2:{s:4:"type";s:7:"summary";s:6:"par
> ams";a:0:{}}}i:1;a:4:{s:3:"app";s:3:"nag";s:6:"height";i:1;s:5:"width";i:1;s:6:"params";a:2:{s:4:"type";s:7:"summary";s:6:"params";a:6:{s:11:"block_title";s:6:"Ã?koly";s:8:"show_pri";s:2:"on";s:8:"show_due";s:2:"on";s:11:"show_alarms";s:2:"on";s:12:"show_overdue";s:2:"on";s:14:"show_completed";s:2:"on";}}}i:2;a:4:{s:3:"app";s:6:"mottle";s:6:"height";i:1;s:5:"width";i:1;s:6:"params";a:2:{s:4:"type";s:4:"motd";s:6:"params";a:0:{}}}}}',
> >    'locked' => false,
> >    'shared' => false,
> >    'type' => 'implicit'
> >);
> >
> >it is not working though. Am I doing something wrong? I get it from
> database
> >of test user. If I coppy that array to the specific user in mysql
> everything
> >works fine for that user so I could coppy that to all user's prefs but I
> >want to do it propresly. Where is the catch? in czech language?
>
> This will only work for users that do not already have a portal pref
> already set in the db. You can either remove the existing prefs or,if you
> want to force the portal layout, you can configure static blocks in the
> configuration interface.
>
>
>
> --
> mike
>
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.

----- End forwarded message -----

-- 
Mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Reality is merely an illusion, albeit a very persistent one." - A. Einstein



More information about the horde mailing list