Hi Kai, thanks a lot for your support. The module is running for all versions from 4.3 to 4.5, you can see here some screenshots<http://code.google.com/p/oxprobs/wiki/Screenshots>. Menue.xml, .tpl's , own directory under modules etc. all of them is there, _only_ the registration in 4.6 with metadata.php makes trouble.
Joachim 2012/6/26 Kai Gazmaga <[email protected]> > I guess you missunderstood - if I understand you right. If you want to > have NEW Items you should overload oxadmindetails, but you must put your > new classes to the folder /admin where all the admin-view-classes are > stored. Additionaly you must write a fitting template and place it in > /out/admin/tpl and finaly you have to provide a menue.xml where you define > the position / structure of your extension.**** > > By the way: did your extension show up in the backend inShops < 4.6? > Without a menue.xml I can not really believe that.**** > > ** ** > > If you need further help have a look at my very small module vdService - > you can download it here: http://www.vektordesign.de/downloads There you > find all the necessary parts of a backend-extension. If you have further > questions feel free to give me a call or go on writing here in the list. * > *** > > ** ** > > Gruß, Kai**** > > ** ** > > ** ** > > *Vektor*Design - Online-Shops und Programmierung**** > > ** ** > > Kai Gazmaga > Katharinenstraße 57 > 73 728 Esslingen**** > > ** ** > > Tel.: +49 711 - 25516226 > Fax: +49 711 - 25518078**** > > ** ** > > Mail: [email protected] > Web: www.vektordesign.de**** > > ** ** > > ** ** > > **** > > *Von:* [email protected] [mailto: > [email protected]] *Im Auftrag von *Joachim Barthel > *Gesendet:* Dienstag, 26. Juni 2012 17:21 > *An:* [email protected] > *Betreff:* Re: [oxid-dev-general] Metadata: Problems on registering > multiple entries for one class**** > > ** ** > > 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 <[email protected]>**** > > 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: [email protected] > Web: www.vektordesign.de**** > > **** > > **** > > **** > > *Von:* [email protected] [mailto: > [email protected]] *Im Auftrag von *Joachim Barthel > *Gesendet:* Dienstag, 26. Juni 2012 15:50 > *An:* [email protected] > *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 <[email protected]>**** > > 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: [email protected]**** > > **** > > 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:* [email protected] [mailto: > [email protected]] *Im Auftrag von *Joachim Barthel > *Gesendet:* Dienstag, 26. Juni 2012 15:42 > *An:* [email protected] > *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 > [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**** > > ** ** > > _______________________________________________ > 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
