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

 

 

VektorDesign - Online-Shops und Programmierung

 

Kai Gazmaga 
Katharinenstraße 57 
73 728 Esslingen

 

Tel.:  <tel:%2B49%20711%20-%2025516226> +49 711 - 25516226 
Fax:  <tel:%2B49%20711%20-%2025518078> +49 711 - 25518078

 

Mail:  <mailto:[email protected]> [email protected] 
Web:  <http://www.vektordesign.de/> 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

 

 

 

VektorDesign - Online-Shops und Programmierung

 

Kai Gazmaga 
Katharinenstraße 57 
73 728 Esslingen

 

Tel.: +49 711 - 25516226 <tel:%2B49%20711%20-%2025516226>  
Fax: +49 711 - 25518078 <tel:%2B49%20711%20-%2025518078> 

 

Mail: [email protected] 
Web: www.vektordesign.de <http://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 
<tel:%2B49%20%280%29%2074%2076%20-%2094%2099%20236> 
FAX: +49 (0) 74 76 - 94 99 336 
<tel:%2B49%20%280%29%2074%2076%20-%2094%2099%20336> 

Mail: [email protected]

 

 <http://www.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: [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  
__________________
 <http://code.google.com/p/piwik-oxid-plugin/> Piwik-Plugin --  
<http://code.google.com/p/oxads/> OxAds --  
<http://code.google.com/p/oxprobs/wiki/Beschreibung> OxProbs 


_______________________________________________
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

Reply via email to