Hi List,

one more metadata question for OXID >= 4.6. :)

I need to have settings of type "arr" and "aarr", like this:
   'settings' => array(
        array('group' => 'SMXFF', 'name' => 'aFactfinderChannels', 'type' => 'aarr',  'value' => array('1' => 'de')),
        array('group' => 'SMXFF', 'name' => 'factFinderAlwaysOpenCats', 'type' => 'arr',  'value' => array('Preis','Hersteller')),       

        array('group' => 'SMXFF', 'name' => 'maxFactFinderCampaignProducts', 'type' => 'str',  'value' => '6'),
        array('group' => 'SMXFF', 'name' => 'factFinderCatSepChar', 'type' => 'str',  'value' => '/'),
        array('group' => 'SMXFF', 'name' => 'factFinderCatBaseFilter', 'type' => 'str',  'value' => 'filterKategoriePfadROOT'),
    )

This works, the settings vars are there and textareas are created:


But, the default values I have specified are not used - is this a bug or do I have to specify in a different way?
If I enter them in the admin area and save, everything is stored correctly... but initially, the fields were both empty after activating the module....
(the values for the "str" type fields were filled with the example values after activation, btw.)

Thanks,
Stefan

-- 
Mit den besten Grüßen aus Nürnberg,
Stefan Moises

*******************************************
Stefan Moises
Senior Softwareentwickler
Leiter Modulentwicklung

shoptimax GmbH 
Guntherstraße 45 a
90461 Nürnberg
Amtsgericht Nürnberg HRB 21703
GF Friedrich Schreieck

Tel.: 0911/25566-0
Fax:  0911/25566-29
[email protected]
http://www.shoptimax.de
*******************************************
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to