New answers tagged

0

You can add a class for different navigation links, please check below example. <block class="Magento\Customer\Block\Account\SortLinkInterface" name="customer-account-navigation-address-link"> <arguments> <argument name="label" xsi:type="string" translate="true">Manage Address</argument> <argument name="path" xsi:type="...


0

Just simply copy this code: <referenceBlock name="customer_account_navigation"> <block class="Magento\Framework\View\Element\Html\Links" template="Magentoexample_Module::account/navigation.phtml" cacheable="false"> </block> </referenceBlock> by creating the below file: /app/code/...


0

You need to make changes in your template file by fetching the class name you have set in your xml file <referenceBlock name="customer-account-navigation-account-link"> <arguments> <argument name="css_class" xsi:type="string" translate="true">accountclass</argument> </arguments> ...


0

Classes can only be added to containers and not blocks. This is because containers render an element and blocks do not, so what would Magento even add the class to? You will need to manually get that class in your phtml file: XML <argument name="attributes" xsi:type="array"> <item name="className" xsi:type="string">accountclass</item>...


1

At first sight, I could identify that: app/code/community/Stamped/Core/Block/AdminHtml/System/Config/Form/Button.php path should be: app/code/community/Stamped/Core/Block/Adminhtml/System/Config/Form/Button.php Notice the typo in AdminHtml, which should be Adminhtml. Please fix this and let me know if you find any other problem further.


Top 50 recent answers are included