To Rearrange the Header links(ie to bring the My Wishlist
link at last)in magento 2.0.2 (parent-theme:blank) I just overrided the default.xml
file in
vendor/Magento/module_wishlist/view/frontend/layout/
into
app/design/frontend/<my_vendor>/<my_theme>/Magento_Wishlist/layout
and added after="authorization-link"
to it like,
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="wish-list-link" after="authorization-link"/>
</body>
</page>
But the order of the links didn't change. when I do it directly in vendor/Magento/modules_Wishlist/view/frontend/layout/default.xml
changes are taking place.
Kindly help me.
Should anything be done additionally in order to override a layout file?
app/design/frontend/<my_vendor>/<my_theme>/Magento_Wishlist/layout/override/theme/Magento/blank
Instead ofapp/design/frontend/<my_vendor>/<my_theme>/Magento_Wishlist/layout
<?xml version="1.0"?>
at top of your file?