Hi Kai, the module (OxProbs) has three menue entries (oxprobs_articles, oxprobs_delivery, oxprobs_groups) in the admin menue.
As I had understood the mechamism, I have to overload the class * oxadmindetails* for registering a module which should appear in the admin area/tree. Therefore I've created three classes (oxprobs_articles, oxprobs_delivery, oxprobs_groups). In the versions before 4.6 I've registered these with the string "oxprobs/oxprobs_articles&oxprobs/oxprobs_delivery&oxprobs/oxprobs_groups" successfully. Joachim 2012/6/26 Kai Gazmaga <kai.gazm...@vektordesign.de> > Hi Joachim,**** > > ** ** > > why would you want to extend ONE class in ONE module via multiple files? I > can not imagine a situation where you can not put all your changes into one > file. The only thing that comes to my mind is the include-files for the > drag-and-drop dialogs but they can not be easily overloaded as far as I > could find out - I had that problem months ago.**** > > ** ** > > Regards, Kai**** > > ** ** > > ** ** > > ** ** > > *Vektor*Design - Online-Shops und Programmierung**** > > ** ** > > Kai Gazmaga > Katharinenstraße 57 > 73 728 Esslingen**** > > ** ** > > Tel.: +49 711 - 25516226 > Fax: +49 711 - 25518078**** > > ** ** > > Mail: i...@vektordesign.de > Web: www.vektordesign.de**** > > ** ** > > ** ** > > ** ** > > *Von:* dev-general-boun...@lists.oxidforge.org [mailto: > dev-general-boun...@lists.oxidforge.org] *Im Auftrag von *Joachim Barthel > *Gesendet:* Dienstag, 26. Juni 2012 15:50 > *An:* dev-general@lists.oxidforge.org > *Betreff:* Re: [oxid-dev-general] Metadata: Problems on registering > multiple entries for one class**** > > ** ** > > Hi Jaroslav,**** > > ** ** > > thank you, I have defined these classes. The module runs well for OXID 4.3 > to 4.5. Just the new registration in 4.6 and the definitions in the > metadata.php are making trouble.**** > > ** ** > > Joachim**** > > ** ** > > 2012/6/26 Jaroslav Herber <jaroslav.her...@loesdau.de>**** > > Hi,**** > > **** > > try this in your classes:**** > > **** > > class oxprobs_articles extends oxprobs_articles_parent {…}**** > > **** > > class oxprobs_delivery extends oxprobs_delivery_parent {…}**** > > **** > > class oxprobs_groups extends oxprobs_groups_parent {…}**** > > **** > > **** > > Mit freundlichen Grüßen aus Bisingen > > Jaroslav Herber**** > > E-Commerce Developer**** > > > *Pferdesporthaus Loesdau GmbH & Co. KG > *Hechinger Str. 58 > 72406 Bisingen**** > > > Tel.: +49 (0) 74 76 - 94 99 236 > FAX: +49 (0) 74 76 - 94 99 336**** > > Mail: jaroslav.her...@loesdau.de**** > > **** > > www.loesdau.de**** > > Loesdau auf Facebook <http://www.facebook.com/loesdau.de>**** > > **** > > Persönlich haftende Gesellschafterin: > Pferdesporthaus Loesdau Verwaltungs-GmbH vertreten durch > Jürgen Loesdau und Dr. Björn Schützenauer > HRB Nr. 420710 Amtsgericht Stuttgart > HRA Nr. 420802 Amtsgericht Stuttgart > USt.-Id Nr. DE191763260 > St.-Nr. 53089/04888 > ____________________________________________**** > > *Von:* dev-general-boun...@lists.oxidforge.org [mailto: > dev-general-boun...@lists.oxidforge.org] *Im Auftrag von *Joachim Barthel > *Gesendet:* Dienstag, 26. Juni 2012 15:42 > *An:* dev-general@lists.oxidforge.org > *Betreff:* [oxid-dev-general] Metadata: Problems on registering multiple > entries for one class**** > > **** > > Hi, **** > > **** > > I have some problems to prepare the metadata.php for a module which needs > multiple entries for one class. All trials are failed. > > *Try 1* > **** > > PHP-Code:**** > > 'extend' => array( > 'oxadmindetails' => array('oxprobs/oxprobs_articles', > 'oxprobs/oxprobs_delivery', 'oxprobs/oxprobs_groups') > ), > **** > > Result: All entries are registered, but the module isn't activated (Button > still displays "Activate") > > *Try 2* > **** > > PHP-Code:**** > > 'extend' => array( > 'oxadmindetails' => > 'oxprobs/oxprobs_articles&oxprobs/oxprobs_delivery&oxprobs/oxprobs_groups' > ), > **** > > Result: All entries are registered, but the module isn't activated (Button > still displays "Activate") > > *Try 3* > **** > > PHP-Code:**** > > 'extend' => array( > 'oxadmindetails' => 'oxprobs/oxprobs_articles', > 'oxadmindetails' => 'oxprobs/oxprobs_delivery', > 'oxadmindetails' => 'oxprobs/oxprobs_groups' > ), > **** > > Result: The module will be activated (button text changes to > "Deactivate"), but only one of the entries or sometimes two are getting > registererd.**** > > **** > > Any idea? Thanks! > > Joachim > __________________ > Piwik-Plugin <http://code.google.com/p/piwik-oxid-plugin/> -- > OxAds<http://code.google.com/p/oxads/> > -- OxProbs <http://code.google.com/p/oxprobs/wiki/Beschreibung> **** > > > _______________________________________________ > dev-general mailing list > dev-general@lists.oxidforge.org > http://dir.gmane.org/gmane.comp.php.oxid.general**** > > ** ** > > _______________________________________________ > dev-general mailing list > dev-general@lists.oxidforge.org > http://dir.gmane.org/gmane.comp.php.oxid.general >
_______________________________________________ dev-general mailing list dev-general@lists.oxidforge.org http://dir.gmane.org/gmane.comp.php.oxid.general