i guess cause its hard to validate user inputs (or at least the effort
wasn't worth it).
I use 'str' type + intval() to get the value as an integer and sometimes a
fallback default value if intval() returns 0


2013/5/2 Joachim Barthel <[email protected]>

> Hi,
>
> when you want to save settings for your module with the variable types INT
> or FLOAT, you will get only the variable label, but no textbox will be
> displayed in the Admin.
>
> After taking a look to the source code, I know why. There are only the
> types 'bool', 'str', 'aarr', 'arr' and 'select' defined.
> (module_config-php, function _loadMetadataConfVars)
>
> Does anybody know, why there are not all types (even when the table
> oxconfig itself contains INT values)?
>
> Best Regards
>
> Joachim Barthel
> -----------------------------
> OxAds<http://exchange.oxid-esales.com/de/Marketing/Produktmarketing/OxAds-0-3-Stable-CE-4-3-x-4-7-x.html>
>  --
> OxProbs<http://exchange.oxid-esales.com/de/Datenmanagement/Produktdaten/OxProbs-0-4-Stable-CE-4-3-x-4-7-x.html>--
> Piwik-Plugin<http://exchange.oxid-esales.com/de/Controlling/Data-Mining/OXID-Plugin-fuer-Piwik-0-10-Stable-CE-4-3-x-4-7-x.html>
>
> _______________________________________________
> dev-general mailing list
> [email protected]
> http://dir.gmane.org/gmane.comp.php.oxid.general
>
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to