Hello, please provide some non-intrusive way to specify additional multilang tables in OXID eShop 4.5.0.
Currently the multilang table names are returned by the getMultilangTables() function in oxfunctions.php and this value is used directly in oxShop::generateViews(). This makes it impossible to use multilanguage fields when writing modules, without the shop owner having to edit the modules/functions.php file for every module that provides tables with multilanguage fields. One way to solve this might be to move the getMultilangTables() call in the oxShop class into a separate (protected) method, so that it can be overriden by a module, adding additional table names to the result. You might also consider putting the "$this->getConfig()->getConfigParam( 'aMultiShopTables' )" call into a protected getter in oxShop, so that both the multilang and multishop tables can be extended by overriding the oxShop class by modules. Best regards from Dortmund! Robert Rosendahl | Entwicklung u. Support -- anzido GmbH Kirchhörder Str. 12 44229 Dortmund Tel.: 0231 - 60 71 079 Fax.: 0231 - 60 71 081 Mobil:0176 - 8325 1488 Email: [email protected] Web: http://www.anzido.com ( http://www.anzido.com/ ) USt-ID: DE257982972 Geschäftsführung: Andreas Ziethen Amtsgericht Dortmund HRB 20883
_______________________________________________ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
