Hi guys,
anything new on this?
regards
thomas
Am 28.04.2011 20:14, schrieb anzido GmbH:
Hello,
I just noticed that the oxfunctions.php getViewName() function also
fetches the multilang table names directly from the
getMultilangTables() function, so oxShop isn't the only place that
would need changing.
It is possible to override the generateViews() method in oxShop by a
module and generate additional multilang view on ones own, but the
view won't be used because the getViewName() function doesn't know
that those additional views exist ;-)
So I guess that without some change in the OXID eShop core code, I
won't be able to use multilanguage fields in my own tables... Or did I
miss something?
Beste Grüße aus 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] <mailto:[email protected]>
Web: http://www.anzido.com <http://www.anzido.com/>
USt-ID: DE257982972
Geschäftsführung: Andreas Ziethen
Amtsgericht Dortmund HRB 20883
-----Ursprüngliche Daten-----
Datum: 28.04.2011 19:50:38
Von: anzido GmbH <[email protected]>
An: OXID eSales AG, dev-general <[email protected]>
Betreff: [oxid-dev-general] Multilang-Views in OXID eShop 4.5.0
Vorgang: T-I7FRVSSNU2-09
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] <mailto:[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
--
----------------------------
superReal GmbH
Agentur für Neue Kommunikation
----------------------------
Borselstraße 16 f
22765 Hamburg
T: 040 / 80 81 80 3-13 oder
T: 040 / 87 09 68 87
F: 040 / 80 81 80 3-10
http://www.superReal.de
Geschäftsführer: Oliver Cloppenburg, Volker Will
Amtsgericht Hamburg HRA 74092
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general