[dev] Implicit Prefs

Oscar Martin osc_pan at hotmail.com
Sat Mar 28 14:06:56 UTC 2009


Chuck Hagenbuch escribió:
> Quoting Oscar Martin :
>
>> I need to store some options like a row table values, separates width 
>> "|"
>>
>> for that, I create implicit value:
>>
>> $prefGroups['desc'] = array(
>>     'column' => _("Desc Services"),
>>     'label' => _("Desc Services"),
>>     'desc' => _("Change your Desc Services settings."),
>>     'members' => array('descmanagement')
>> );
>>
>> $_prefs['desc'] = array(
>>     'value' => '1|2|3|4|5',
>>     'locked' => false,
>>     'shared' => false,
>>     'type' => 'implicit',
>> );
>>
>> $_prefs['descmanagement'] = array('type' => 'special');
>>
>> The problem is that I cant't read and write it to database.
>
> Well... why not? What happens or doesn't, what errors do you get, etc.?
>
> -chuck
>
> -- 
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
> ------------------------------------------------------------------------
>
>
> Se certifico que el correo entrante no contiene virus.
> Comprobada por AVG - www.avg.es 
> Version: 8.5.285 / Base de datos de virus: 270.11.31/2028 - Fecha de la version: 03/28/09 07:16:00
>
>   
I think I need create a file named descmanagement.inc located on 
/horde/myapp/template/prefs/descmanagement.inc

But, when I press "Save Options" still on same page. More over,  I 
doesn't know how save the prefs value on database.




_________________________________________________________________
¿Querés saber cómo va a estar el clima mañana? Ingresá ahora a MSN
http://tiempo.ar.msn.com/


More information about the dev mailing list