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.:  <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 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

Reply via email to