I am using magento 2.1 with the ultimo theme. I was customizing the login page which was not avaialable as a module in the theme.
So I go to vendor and changed the login page setting like text and placement of new register and old customer login place.
I want to ask is it okay to change these files . I know after the changes I have to compile so that these changes make it to the pub.
But in the vendor what should be done for the best practice.
P.S the path is /vendor/magento/module-customer/view/frontend/templates/newcustomer.phtml
Best Answer
No this is not best practice. If you run any updates these changes will get overwritten. Any patches that are applied may fail if the files are different from originals as well.
You can, however, do this from within your theme. From your ultimo theme's root directory create new folders for that module Magento_Customer/templates.
Then copy the vendor file to your new folder:
Then make modifications to your new file from there.