[horde] portal_layout

Jiri Bartl diplomkahorde at gmail.com
Sat Apr 24 10:19:26 UTC 2010


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:"params";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?


i'm running horde 3.3.5

tha


More information about the horde mailing list