(UPDATED) add external link in custom magento plugin The Next CEO of Stack OverflowHow can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento2 add custom jquery pluginMagento 2 - Set a custom external link in footerMagento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsCannot add custom topmenu link with pluginAdd custom fields in Magento 2 plugin

Is it okay to store user locations?

Inappropriate reference requests from Journal reviewers

How to safely derail a train during transit?

Customer Requests (Sometimes) Drive Me Bonkers!

Rotate a column

Trouble understanding the speech of overseas colleagues

Can the Reverse Gravity spell affect the Meteor Swarm spell?

Unreliable Magic - Is it worth it?

How long to clear the 'suck zone' of a turbofan after start is initiated?

WOW air has ceased operation, can I get my tickets refunded?

Science fiction (dystopian) short story set after WWIII

If the heap is initialized for security, then why is the stack uninitialized?

How do I construct this japanese bowl?

How to use tikz in fbox?

Go Pregnant or Go Home

Natural language into sentence logic

How did people program for Consoles with multiple CPUs?

What does this shorthand mean?

Shade part of a Venn diagram

Term for the "extreme-extension" version of a straw man fallacy?

Anatomically Correct Strange Women In Ponds Distributing Swords

I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin

Grabbing quick drinks

Describing a person. What needs to be mentioned?



(UPDATED) add external link in custom magento plugin



The Next CEO of Stack OverflowHow can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento2 add custom jquery pluginMagento 2 - Set a custom external link in footerMagento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsCannot add custom topmenu link with pluginAdd custom fields in Magento 2 plugin










0















I'm updating a Magento plugin and I'd like to add an external link like this:



<a href="myweblink" target "_blank">My weblink </a>


I tried to do it adding these lines in layout.xml file (that is the model I use)



 <?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<referenceContainer name="footer">
<block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="footer_blog_link" before="-">
<arguments>
<argument name="label" xsi:type="string" translate="true">Condizioni di contratto e termini di utilizzo</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/termini-utilizzo/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
<arguments>
<argument name="label" xsi:type="string" translate="true">Regolamento integrarivo (delle Condizioni di Contratto) per l'UTENTE che utilizza moduli per E-Commerce di Fattura24</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/regolamento-ecommerce/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
<arguments>
<argument name="label" xsi:type="string" translate="true">Privacy</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/policy/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
</block>
</referenceContainer>


I'm not displaying the links in admin footer of my extension.



I put this file in /adminhtml/layout
then I updated the app, flushed magento cache, reindexed but still can't display links










share|improve this question
























  • Why system.xml ? you could not add this in system.xml and the error confirm that. Do it instead in layout

    – PЯINCƏ
    2 days ago
















0















I'm updating a Magento plugin and I'd like to add an external link like this:



<a href="myweblink" target "_blank">My weblink </a>


I tried to do it adding these lines in layout.xml file (that is the model I use)



 <?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<referenceContainer name="footer">
<block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="footer_blog_link" before="-">
<arguments>
<argument name="label" xsi:type="string" translate="true">Condizioni di contratto e termini di utilizzo</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/termini-utilizzo/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
<arguments>
<argument name="label" xsi:type="string" translate="true">Regolamento integrarivo (delle Condizioni di Contratto) per l'UTENTE che utilizza moduli per E-Commerce di Fattura24</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/regolamento-ecommerce/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
<arguments>
<argument name="label" xsi:type="string" translate="true">Privacy</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/policy/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
</block>
</referenceContainer>


I'm not displaying the links in admin footer of my extension.



I put this file in /adminhtml/layout
then I updated the app, flushed magento cache, reindexed but still can't display links










share|improve this question
























  • Why system.xml ? you could not add this in system.xml and the error confirm that. Do it instead in layout

    – PЯINCƏ
    2 days ago














0












0








0








I'm updating a Magento plugin and I'd like to add an external link like this:



<a href="myweblink" target "_blank">My weblink </a>


I tried to do it adding these lines in layout.xml file (that is the model I use)



 <?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<referenceContainer name="footer">
<block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="footer_blog_link" before="-">
<arguments>
<argument name="label" xsi:type="string" translate="true">Condizioni di contratto e termini di utilizzo</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/termini-utilizzo/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
<arguments>
<argument name="label" xsi:type="string" translate="true">Regolamento integrarivo (delle Condizioni di Contratto) per l'UTENTE che utilizza moduli per E-Commerce di Fattura24</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/regolamento-ecommerce/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
<arguments>
<argument name="label" xsi:type="string" translate="true">Privacy</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/policy/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
</block>
</referenceContainer>


I'm not displaying the links in admin footer of my extension.



I put this file in /adminhtml/layout
then I updated the app, flushed magento cache, reindexed but still can't display links










share|improve this question
















I'm updating a Magento plugin and I'd like to add an external link like this:



<a href="myweblink" target "_blank">My weblink </a>


I tried to do it adding these lines in layout.xml file (that is the model I use)



 <?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<referenceContainer name="footer">
<block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="footer_blog_link" before="-">
<arguments>
<argument name="label" xsi:type="string" translate="true">Condizioni di contratto e termini di utilizzo</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/termini-utilizzo/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
<arguments>
<argument name="label" xsi:type="string" translate="true">Regolamento integrarivo (delle Condizioni di Contratto) per l'UTENTE che utilizza moduli per E-Commerce di Fattura24</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/regolamento-ecommerce/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
<arguments>
<argument name="label" xsi:type="string" translate="true">Privacy</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/policy/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
</block>
</referenceContainer>


I'm not displaying the links in admin footer of my extension.



I put this file in /adminhtml/layout
then I updated the app, flushed magento cache, reindexed but still can't display links







magento2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday







Davide Iandoli

















asked 2 days ago









Davide IandoliDavide Iandoli

62




62












  • Why system.xml ? you could not add this in system.xml and the error confirm that. Do it instead in layout

    – PЯINCƏ
    2 days ago


















  • Why system.xml ? you could not add this in system.xml and the error confirm that. Do it instead in layout

    – PЯINCƏ
    2 days ago

















Why system.xml ? you could not add this in system.xml and the error confirm that. Do it instead in layout

– PЯINCƏ
2 days ago






Why system.xml ? you could not add this in system.xml and the error confirm that. Do it instead in layout

– PЯINCƏ
2 days ago











1 Answer
1






active

oldest

votes


















0














If you want to add that in admin area:




app/code/Vendor/Modulename/view/adminhtml/layout/your_layout_name.xml




<referenceContainer name="footer">
<block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="footer_blog_link" before="-">
<arguments>
<argument name="label" xsi:type="string" translate="true">Condizioni di contratto e termini di utilizzo</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/termini-utilizzo/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
...





share|improve this answer























  • I added the code you suggested, then I updated my app and flush magento cache, and reindex, but I can't display the link in admin

    – Davide Iandoli
    yesterday











  • The footer of admin Magento or if your admin footer extension ?

    – PЯINCƏ
    yesterday











  • the admin footer of my extension

    – Davide Iandoli
    yesterday











  • ok, can you share me the layout extension content ?

    – PЯINCƏ
    yesterday











  • updated question :-) Thanks

    – Davide Iandoli
    yesterday











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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f267488%2fupdated-add-external-link-in-custom-magento-plugin%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









0














If you want to add that in admin area:




app/code/Vendor/Modulename/view/adminhtml/layout/your_layout_name.xml




<referenceContainer name="footer">
<block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="footer_blog_link" before="-">
<arguments>
<argument name="label" xsi:type="string" translate="true">Condizioni di contratto e termini di utilizzo</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/termini-utilizzo/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
...





share|improve this answer























  • I added the code you suggested, then I updated my app and flush magento cache, and reindex, but I can't display the link in admin

    – Davide Iandoli
    yesterday











  • The footer of admin Magento or if your admin footer extension ?

    – PЯINCƏ
    yesterday











  • the admin footer of my extension

    – Davide Iandoli
    yesterday











  • ok, can you share me the layout extension content ?

    – PЯINCƏ
    yesterday











  • updated question :-) Thanks

    – Davide Iandoli
    yesterday















0














If you want to add that in admin area:




app/code/Vendor/Modulename/view/adminhtml/layout/your_layout_name.xml




<referenceContainer name="footer">
<block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="footer_blog_link" before="-">
<arguments>
<argument name="label" xsi:type="string" translate="true">Condizioni di contratto e termini di utilizzo</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/termini-utilizzo/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
...





share|improve this answer























  • I added the code you suggested, then I updated my app and flush magento cache, and reindex, but I can't display the link in admin

    – Davide Iandoli
    yesterday











  • The footer of admin Magento or if your admin footer extension ?

    – PЯINCƏ
    yesterday











  • the admin footer of my extension

    – Davide Iandoli
    yesterday











  • ok, can you share me the layout extension content ?

    – PЯINCƏ
    yesterday











  • updated question :-) Thanks

    – Davide Iandoli
    yesterday













0












0








0







If you want to add that in admin area:




app/code/Vendor/Modulename/view/adminhtml/layout/your_layout_name.xml




<referenceContainer name="footer">
<block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="footer_blog_link" before="-">
<arguments>
<argument name="label" xsi:type="string" translate="true">Condizioni di contratto e termini di utilizzo</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/termini-utilizzo/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
...





share|improve this answer













If you want to add that in admin area:




app/code/Vendor/Modulename/view/adminhtml/layout/your_layout_name.xml




<referenceContainer name="footer">
<block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="footer_blog_link" before="-">
<arguments>
<argument name="label" xsi:type="string" translate="true">Condizioni di contratto e termini di utilizzo</argument>
<argument name="path" xsi:type="string">https://www.fattura24.com/termini-utilizzo/</argument>
<argument name="target" xsi:type="string">_blank</argument>
</arguments>
...






share|improve this answer












share|improve this answer



share|improve this answer










answered 2 days ago









PЯINCƏPЯINCƏ

8,39131145




8,39131145












  • I added the code you suggested, then I updated my app and flush magento cache, and reindex, but I can't display the link in admin

    – Davide Iandoli
    yesterday











  • The footer of admin Magento or if your admin footer extension ?

    – PЯINCƏ
    yesterday











  • the admin footer of my extension

    – Davide Iandoli
    yesterday











  • ok, can you share me the layout extension content ?

    – PЯINCƏ
    yesterday











  • updated question :-) Thanks

    – Davide Iandoli
    yesterday

















  • I added the code you suggested, then I updated my app and flush magento cache, and reindex, but I can't display the link in admin

    – Davide Iandoli
    yesterday











  • The footer of admin Magento or if your admin footer extension ?

    – PЯINCƏ
    yesterday











  • the admin footer of my extension

    – Davide Iandoli
    yesterday











  • ok, can you share me the layout extension content ?

    – PЯINCƏ
    yesterday











  • updated question :-) Thanks

    – Davide Iandoli
    yesterday
















I added the code you suggested, then I updated my app and flush magento cache, and reindex, but I can't display the link in admin

– Davide Iandoli
yesterday





I added the code you suggested, then I updated my app and flush magento cache, and reindex, but I can't display the link in admin

– Davide Iandoli
yesterday













The footer of admin Magento or if your admin footer extension ?

– PЯINCƏ
yesterday





The footer of admin Magento or if your admin footer extension ?

– PЯINCƏ
yesterday













the admin footer of my extension

– Davide Iandoli
yesterday





the admin footer of my extension

– Davide Iandoli
yesterday













ok, can you share me the layout extension content ?

– PЯINCƏ
yesterday





ok, can you share me the layout extension content ?

– PЯINCƏ
yesterday













updated question :-) Thanks

– Davide Iandoli
yesterday





updated question :-) Thanks

– Davide Iandoli
yesterday

















draft saved

draft discarded
















































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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f267488%2fupdated-add-external-link-in-custom-magento-plugin%23new-answer', 'question_page');

);

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







Popular posts from this blog

Sum ergo cogito? 1 nng

三茅街道4182Guuntc Dn precexpngmageondP