- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to Override a xml file from a thrid party vendor?
Good Morning ,
I am trying to override a third-party xml file with no success so far.
This is the file I am trying to override:
/app/code/Aheadworks/Rbslider/view/adminhtml/ui_component/ui_component\aw_rbslider_slide_form.xml
I would like to know, how is the best way to accomplish this task.
I have tried overriding it in the folliwing paths but without success:
1./app/design/adminhtml/Aheadworks/Rbslider/view/adminhtml/ui_component/ui_component\aw_rbslider_slide_form.xml
2. /app/design/frontend/Hemag/Parenttheme/Aheadworks/Rbslider/view/adminhtml/ui_component/ui_component\aw_rbslider_slide_form.xml
3. /app/design/adminhtml/Hemag/Parenttheme/Aheadworks/Rbslider/view/adminhtml/ui_component/ui_component\aw_rbslider_slide_form.xml
Can somebody help me with that?
Thanks in advance...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to Override a xml file from a thrid party vendor?
Hi @silverzone,
Greetings!
When you are trying to perform overriding you must create an overriding layout file in the directory of your theme. You can override base layouts and theme layouts as well.
Try to use - vendor/magento/module-customer/view/adminhtml/ui_component/customer_listing.xml
for example:
/app/code/Aheadworks/Rbslider/view/adminhtml/ui_component/aw_rbslider_slide_form.xml
Hope this will help you!
If not, please feel free to reach out to us.
Solved? Click KUDOS and accept it as a solution.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to Override a xml file from a thrid party vendor?
You should create your own option array that fetches the list of store your website has and then use it as an option in your xml form field.
First, create the option like this in the path:
app/code/Vendor/Module/Model/Config/Source/Stores.php