Overriding an element file in a package/element

Permalink
Hi,

So i am trying to override a file in the "packages/NameOfPackage/elements" folder. Like most times in concrete5 you just place it in the "root/elements".

This doesn't seem to work and i have also tried "root/elementsNameOfPackage/"

Is this something that can be done or is this one of those poorly coded parts of Concrete5.

TMDesigns
View Replies:
JohntheFish replied on at Permalink Reply
JohntheFish
See section 4 of:
http://www.concrete5.org/documentation/how-tos/developers/change-th...

That was a few core versions ago. If package elements can properly override now, the path would be
root/elements/name_of_element.php

(which is a bit tough if multiple packages use the same element name)
TMDesigns replied on at Permalink Reply
TMDesigns
Thanks john,

I am trying to change the ecommerce package and element files are for the checkout. Either way i guess i am going to have to change a fair few files to get his override to work. Life would be so much easier if i could just override like other parts of Concrete5.

Oh well lets hope there is better documentation for 5.7
JohntheFish replied on at Permalink Reply
JohntheFish
I think everyone curses eCommerce when it comes to creating a custom view.