[horde] default notepad or calendar or tasks

Eli Criffield eli at criffield.net
Thu May 5 15:28:44 PDT 2005


I found out more about my problem of nothing showing up in some apps.

Horde apps somehow are not picking the right default "object" this happens
in calendar, notes and tasks.

For example in notes, in prefs.php 

// default notepad
// Set locked to true if you don't want users to have multiple notepads.
$_prefs['default_notepad'] = array(
    'value' => Auth::getAuth() ? Auth::getAuth() : 0,
    'locked' => false,
    'shared' => false,
    'type' => 'implicit'
);

If i set that locked to true so users don't have the "show notepads"
dropdown then they don't get to see any notepads at all.

And all there entries never show up.

If i leave 'locked' => false, then they have to select the default notepad
from the dropdown, witch is the same as there login, every time it reloads.

You can even go into options and set there default notepad to the one named
the same as there it acts the same.

I even added the line 
        echo "<h1>default $default_notepad </h1>";
to  getDefaultNotepad() in Mnemo.php and it shows the correct notepad, the
one named the full user name, but it doesn't showup with you click "List
Notes". 

The same thing happens in Calendar or Tasks.

Any Ideas? i've been trying to fix this for a while now

Eli



More information about the horde mailing list