I don’t really know if this is a feature or a bug …
[B]Ex:[/B]
'extend' => array(
'order' => 'modulename/views/file_order',
'order' => 'modulename/views/file2_order',
Then when you activate your module you should extend order with this both two files.
[B]The problem:[/B]
Under version v4.7.x (and also v4.6.x) when you activate the module only the second files is saved to extend ‘order’.
In the code above only ‘file2_order’ extends order (it seems is overwriting ‘file_order’)
I have tried also with more files that extend the same entry and always the last is registerd.
[B]The question:[/B]
If this is a feature or a bug
? if a feature then I need to redesign our module. if is a bug then can you please fix it:
[B]Huge THX![/B]
I have this problem also and I can give you a hind:
-
Try to use like this:
‘extend’ => array(
‘order’ => ‘modulename/views/file_order’,
‘Order’ => ‘modulename/views/file2_order’,
-
you can put the file2_order in views folder and to write like this:
class file2_order extends order {
}
Thx guys for the answers.
I know how to do a workaround for it
but my question was more addressed to the oxid people.
So once again
" [B]The question:[/B]
If this is a feature or a bug ? if a feature then I need to redesign our module. if is a bug then can you please fix it. "
and once again:
[QUOTE=Hebsacker;115269]check here
http://www.mail-archive.com/[email protected]/msg01837.html[/QUOTE]
next time please login with your old account instead of registering a new one.
p.s. this is a community forum and not the developers stage. You can try to ask your question in the dev mailing list,
but once again:
[QUOTE=Hebsacker;115269]check here
http://www.mail-archive.com/[email protected]/msg01837.html[/QUOTE]
or you can submit a bug and you will see if this is a bug or not