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