# Module is not overwriting proper

**URL:** <https://forum.oxid-esales.com/t/module-is-not-overwriting-proper/57928>\
**Category:** English forums\
**Tags:** dev-talk\
**Created:** [June 20, 2012, 1:41pm UTC](https://forum.oxid-esales.com/t/module-is-not-overwriting-proper/57928 "2012-06-20T13:41:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hardikbadani](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/h/898d66/32.png) [@hardikbadani](https://forum.oxid-esales.com/u/hardikbadani)\
**Post date:** [June 20, 2012, 1:41pm UTC](https://forum.oxid-esales.com/t/module-is-not-overwriting-proper/57928/1 "2012-06-20T13:41:00Z")

</div>

i have latest version of oxid 4.6.1 in which i can not override same classes for two files which are previously possible with ols version for e.g

oxarticle =\> test/view/file1.php&test/view/file2.php now in new version if i defined same then module is not activating.can some one help me for above thing.

---

<div class="post-metadata">

**Author:** ![vanilla\_thunder](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/vanilla_thunder/32/72_2.png) [@vanilla\_thunder](https://forum.oxid-esales.com/u/vanilla_thunder)\
**Post date:** [June 20, 2012, 1:47pm UTC](https://forum.oxid-esales.com/t/module-is-not-overwriting-proper/57928/2 "2012-06-20T13:47:13Z")

</div>

you override a class with another class and not with a php file  
have a look at the tutorial about medatada.php

and if it still woun’t work, try it this way:  
oxarticle =\> …file1  
oxarticle =\> … file2

---

<div class="post-metadata">

**Author:** ![hardikbadani](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/h/898d66/32.png) [@hardikbadani](https://forum.oxid-esales.com/u/hardikbadani)\
**Post date:** [June 20, 2012, 3:52pm UTC](https://forum.oxid-esales.com/t/module-is-not-overwriting-proper/57928/3 "2012-06-20T15:52:30Z")

</div>

[QUOTE=vanilla thunder;93135]you override a class with another class and not with a php file  
have a look at the tutorial about medatada.php

and if it still woun’t work, try it this way:  
oxarticle =\> …file1  
oxarticle =\> … file2[/QUOTE]

Thanks  
I am not using .php extension it was mistake in writing example  
Actually i need to different files and class which is extended oxarticle thats why i need to define like

oxarticle =\> test/view/file1&test/view/file2

and if i am try with

oxxarticle =\> …file1  
oxarticle =\> … file2

then file1 is not displaying and oxarticle is only used for file2 in short it overwrites class of file1.

i have read that docs metadata.php but i did not found any solution of it can you please help for above situation i have previously used the same thing on oxid ols version but it create issue with 4.6.1.

---

<div class="post-metadata">

**Author:** ![vanilla\_thunder](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/vanilla_thunder/32/72_2.png) [@vanilla\_thunder](https://forum.oxid-esales.com/u/vanilla_thunder)\
**Post date:** [June 20, 2012, 4:27pm UTC](https://forum.oxid-esales.com/t/module-is-not-overwriting-proper/57928/4 "2012-06-20T16:27:02Z")

</div>

i can’t understand, why do you override oxarticles with two files instead of one.  
If you really need this two different files, you have to build two modules

---

<div class="post-metadata">

**Author:** ![hardikbadani](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/h/898d66/32.png) [@hardikbadani](https://forum.oxid-esales.com/u/hardikbadani)\
**Post date:** [June 20, 2012, 4:53pm UTC](https://forum.oxid-esales.com/t/module-is-not-overwriting-proper/57928/5 "2012-06-20T16:53:04Z")

</div>

[QUOTE=vanilla thunder;93161]i can’t understand, why do you override oxarticles with two files instead of one.  
If you really need this two different files, you have to build two modules[/QUOTE]

Great let me explain it

i want this because i have encrypted module and i want to extends the same class (oxarticle) for my use thats why this situation create for me

---

<div class="post-metadata">

**Author:** ![system](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/system/32/4245_2.png) [@system](https://forum.oxid-esales.com/u/system)\
**Post date:** [July 13, 2026, 7:39pm UTC](https://forum.oxid-esales.com/t/module-is-not-overwriting-proper/57928/6 "2026-07-13T19:39:23Z")

</div>


