How to create page in customer account section Magento 2 The 2019 Stack Overflow Developer Survey Results Are InHow to add customer new entity type and customer new fieldCreate new Customer Page and Link in Customer DashboardMagento2 - How to add a new section to customer account pageMagento 2 create new page header sectionHow to create custom XML file for new .phtml template page in Magento 2.1?Create Customer Account Not workingMagento 2 - How to create a calculatorMagento 2 Create observer on customer create, with custom moduleMagento 2 how to disable 'add new address' button from customer address book page, in account section?Adding contents to default customer sign up / create account page - Magento 2
If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?
ELI5: Why they say that Israel would have been the fourth country to land a spacecraft on the Moon and why they call it low cost?
What to do when moving next to a bird sanctuary with a loosely-domesticated cat?
Keeping a retro style to sci-fi spaceships?
Can an undergraduate be advised by a professor who is very far away?
Ubuntu Server install with full GUI
Is an up-to-date browser secure on an out-of-date OS?
Can there be female White Walkers?
What is the most efficient way to store a numeric range?
How to charge AirPods to keep battery healthy?
Old scifi movie from the 50s or 60s with men in solid red uniforms who interrogate a spy from the past
Can withdrawing asylum be illegal?
How do I free up internal storage if I don't have any apps downloaded?
Why doesn't shell automatically fix "useless use of cat"?
What does もの mean in this sentence?
How to translate "being like"?
Why not take a picture of a closer black hole?
Does adding complexity mean a more secure cipher?
Why couldn't they take pictures of a closer black hole?
Why didn't the Event Horizon Telescope team mention Sagittarius A*?
Why are there uneven bright areas in this photo of black hole?
How can I have a shield and a way of attacking with a ranged weapon at the same time?
What was the last CPU that did not have the x87 floating-point unit built in?
How much of the clove should I use when using big garlic heads?
How to create page in customer account section Magento 2
The 2019 Stack Overflow Developer Survey Results Are InHow to add customer new entity type and customer new fieldCreate new Customer Page and Link in Customer DashboardMagento2 - How to add a new section to customer account pageMagento 2 create new page header sectionHow to create custom XML file for new .phtml template page in Magento 2.1?Create Customer Account Not workingMagento 2 - How to create a calculatorMagento 2 Create observer on customer create, with custom moduleMagento 2 how to disable 'add new address' button from customer address book page, in account section?Adding contents to default customer sign up / create account page - Magento 2
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I want to create new page and link to => HISTORY
how i can do this??
where I can add a new link?
magento2 layout customer xml
add a comment |
I want to create new page and link to => HISTORY
how i can do this??
where I can add a new link?
magento2 layout customer xml
Is that cms page?
– Satish Dubariya
yesterday
add a comment |
I want to create new page and link to => HISTORY
how i can do this??
where I can add a new link?
magento2 layout customer xml
I want to create new page and link to => HISTORY
how i can do this??
where I can add a new link?
magento2 layout customer xml
magento2 layout customer xml
edited yesterday
Sanjay Gohil
490215
490215
asked yesterday
prabhakaran7prabhakaran7
32411
32411
Is that cms page?
– Satish Dubariya
yesterday
add a comment |
Is that cms page?
– Satish Dubariya
yesterday
Is that cms page?
– Satish Dubariya
yesterday
Is that cms page?
– Satish Dubariya
yesterday
add a comment |
1 Answer
1
active
oldest
votes
You can create customer_account.xml layout XML file with below content to insert a custom link in customer account section.
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="customer_account_navigation">
<block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="customer-account-navigation-mycard">
<arguments>
<argument name="path" xsi:type="string">history/index/index</argument>
<argument name="label" xsi:type="string">History</argument>
<argument name="class" xsi:type="string">customer_hostory</argument>
</arguments>
</block>
</referenceBlock>
</body>
</page>
On above XML:
path => URL path that you want to link
label => Text label to show for the custom link
class => CSS class name
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269519%2fhow-to-create-page-in-customer-account-section-magento-2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can create customer_account.xml layout XML file with below content to insert a custom link in customer account section.
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="customer_account_navigation">
<block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="customer-account-navigation-mycard">
<arguments>
<argument name="path" xsi:type="string">history/index/index</argument>
<argument name="label" xsi:type="string">History</argument>
<argument name="class" xsi:type="string">customer_hostory</argument>
</arguments>
</block>
</referenceBlock>
</body>
</page>
On above XML:
path => URL path that you want to link
label => Text label to show for the custom link
class => CSS class name
add a comment |
You can create customer_account.xml layout XML file with below content to insert a custom link in customer account section.
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="customer_account_navigation">
<block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="customer-account-navigation-mycard">
<arguments>
<argument name="path" xsi:type="string">history/index/index</argument>
<argument name="label" xsi:type="string">History</argument>
<argument name="class" xsi:type="string">customer_hostory</argument>
</arguments>
</block>
</referenceBlock>
</body>
</page>
On above XML:
path => URL path that you want to link
label => Text label to show for the custom link
class => CSS class name
add a comment |
You can create customer_account.xml layout XML file with below content to insert a custom link in customer account section.
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="customer_account_navigation">
<block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="customer-account-navigation-mycard">
<arguments>
<argument name="path" xsi:type="string">history/index/index</argument>
<argument name="label" xsi:type="string">History</argument>
<argument name="class" xsi:type="string">customer_hostory</argument>
</arguments>
</block>
</referenceBlock>
</body>
</page>
On above XML:
path => URL path that you want to link
label => Text label to show for the custom link
class => CSS class name
You can create customer_account.xml layout XML file with below content to insert a custom link in customer account section.
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="customer_account_navigation">
<block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="customer-account-navigation-mycard">
<arguments>
<argument name="path" xsi:type="string">history/index/index</argument>
<argument name="label" xsi:type="string">History</argument>
<argument name="class" xsi:type="string">customer_hostory</argument>
</arguments>
</block>
</referenceBlock>
</body>
</page>
On above XML:
path => URL path that you want to link
label => Text label to show for the custom link
class => CSS class name
answered yesterday
Pritam Info 24Pritam Info 24
78417
78417
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269519%2fhow-to-create-page-in-customer-account-section-magento-2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Is that cms page?
– Satish Dubariya
yesterday