Hi Stefan, 2012/8/21 Stefan Moises <[email protected]> > > 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: >
When i enable the module the first time, the logic works just fine. Default values are only used for the first activation: oxModule::_addModuleSettings (4.6.2) $sValue = is_null($oConfig->getConfigParam($sName))?$aValue["value"]:$oConfig->getConfigParam($sName); Regards, Björn -- *_________________________________ WBL Konzept, Beerden & Lange GbR* *Björn Lange* Geschäftsführender Gesellschafter Luxemburger Straße 266 50937 Köln Bilker Straße 34 40213 Düsseldorf Telefon: 0211 942 120 30 *|* Fax: 0211 192 120 32 www.wbl-konzept.de *|* www.facebook.com/wbl.konzept *|* [email protected]
_______________________________________________ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
