How to Change Footer Copyright Text in Magento2?Change Magento Iphone theme coloursUnable to edit text in footer areaHow do I change the footer links in Magento's iPhone theme?Magento2 - How to add a block to footerMagento 2 - How to add Imprint and other links to copyright in footerCustomize Footer in magento2Magento2 - Change “LINKS” CSS class in footerAdd custom copyright text below existing copyright text in Magento 2 frontend by moduleCustomize magento2 default footer linksHow I add my Header and footer in my magento 2 theme
How can powerful telekinesis avoid violating Newton's 3rd Law?
Can I use 220 V outlets on a 15 ampere breaker and wire it up as 110 V?
Is it true that "only photographers care about noise"?
Does a single fopen introduce TOCTOU vulnerability?
What's the best way to quit a job mostly because of money?
Traceroute showing inter-vlan routing?
A life of PhD: is it feasible?
Why do (or did, until very recently) aircraft transponders wait to be interrogated before broadcasting beacon signals?
What does the homotopy coherent nerve do to spaces of enriched functors?
Deciphering old handwriting from a 1850 church record
What do you call the action of "describing events as they happen" like sports anchors do?
If absolute velocity does not exist, how can we say a rocket accelerates in empty space?
Problem with pronounciation
How can you estimate a spike story?
How to handle when PCs taste a potion that is actually poison?
What is Gilligan's full Name?
In The Incredibles 2, why does Screenslaver's name use a pun on something that doesn't exist in the 1950s pastiche?
Should I list a completely different profession in my technical resume?
In American Politics, why is the Justice Department under the President?
How do I type a hyphen in iOS 12?
Why do Bhargava-Skinner-Zhang consider the ordering by height?
How to represent jealousy in a cute way?
Is there a better way to do partial sums of array items in JavaScript?
Part of my house is inexplicably gone
How to Change Footer Copyright Text in Magento2?
Change Magento Iphone theme coloursUnable to edit text in footer areaHow do I change the footer links in Magento's iPhone theme?Magento2 - How to add a block to footerMagento 2 - How to add Imprint and other links to copyright in footerCustomize Footer in magento2Magento2 - Change “LINKS” CSS class in footerAdd custom copyright text below existing copyright text in Magento 2 frontend by moduleCustomize magento2 default footer linksHow I add my Header and footer in my magento 2 theme
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I want to customize MagentoThemeBlockHtmlFooter
class in magento2.
how can i change some text and style of footer copyright text with custom module..
magento2 module theme footer
add a comment |
I want to customize MagentoThemeBlockHtmlFooter
class in magento2.
how can i change some text and style of footer copyright text with custom module..
magento2 module theme footer
add a comment |
I want to customize MagentoThemeBlockHtmlFooter
class in magento2.
how can i change some text and style of footer copyright text with custom module..
magento2 module theme footer
I want to customize MagentoThemeBlockHtmlFooter
class in magento2.
how can i change some text and style of footer copyright text with custom module..
magento2 module theme footer
magento2 module theme footer
asked Aug 14 '17 at 8:34
Chandra KumarChandra Kumar
305418
305418
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You don't need to create custom module. You can change the copyright text in Admin.
Go to Content >> Configuration.
Edit the active theme- Click on Footer tab
Edit the copyright Text
OR
You can override MagentoThemeBlockHtmlFooter class in your custom module with getCopyright
function like this:
<?php
namespace VendorThemeBlockHtml;
class Footer extends MagentoThemeBlockHtmlFooter
/*
* Retrieve copyright information
*
* @return string
*/
public function getCopyright()
if (!$this->_copyright)
$this->_copyright = $this->_scopeConfig->getValue(
'design/footer/copyright',
MagentoStoreModelScopeInterface::SCOPE_STORE
);
return __($this->_copyright);
and update the getCopyright function as per your requirement.
If you can specify the exact requirement as to what needs to be changed I can help you in better way.
I know this method..but my concern is fromMagentoThemeBlockHtmlFooter
this class with custom module
– Chandra Kumar
Aug 14 '17 at 9:25
please check my answer
– Sejal Shah
Aug 16 '17 at 8:53
add a comment |
If you want to customize MagentoThemeBlockHtmlFooter you need:
Create your own module.
Create YourVendor/YourModule/etc/frontend/di.xml file like:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<preference for="MagentoThemeBlockHtmlFooter" type="YourVendorYourModuleBlockHtmlFooter" />
Create your block like:
<?php
declare(strict_types=1);
namespace YourVendorYourModuleBlockHtml;
/**
* Html page footer block
*/
class Footer extends MagentoThemeBlockHtmlFooter
/**
* @inheritdoc
*/
public function getCopyright(): string
';
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%2f189035%2fhow-to-change-footer-copyright-text-in-magento2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You don't need to create custom module. You can change the copyright text in Admin.
Go to Content >> Configuration.
Edit the active theme- Click on Footer tab
Edit the copyright Text
OR
You can override MagentoThemeBlockHtmlFooter class in your custom module with getCopyright
function like this:
<?php
namespace VendorThemeBlockHtml;
class Footer extends MagentoThemeBlockHtmlFooter
/*
* Retrieve copyright information
*
* @return string
*/
public function getCopyright()
if (!$this->_copyright)
$this->_copyright = $this->_scopeConfig->getValue(
'design/footer/copyright',
MagentoStoreModelScopeInterface::SCOPE_STORE
);
return __($this->_copyright);
and update the getCopyright function as per your requirement.
If you can specify the exact requirement as to what needs to be changed I can help you in better way.
I know this method..but my concern is fromMagentoThemeBlockHtmlFooter
this class with custom module
– Chandra Kumar
Aug 14 '17 at 9:25
please check my answer
– Sejal Shah
Aug 16 '17 at 8:53
add a comment |
You don't need to create custom module. You can change the copyright text in Admin.
Go to Content >> Configuration.
Edit the active theme- Click on Footer tab
Edit the copyright Text
OR
You can override MagentoThemeBlockHtmlFooter class in your custom module with getCopyright
function like this:
<?php
namespace VendorThemeBlockHtml;
class Footer extends MagentoThemeBlockHtmlFooter
/*
* Retrieve copyright information
*
* @return string
*/
public function getCopyright()
if (!$this->_copyright)
$this->_copyright = $this->_scopeConfig->getValue(
'design/footer/copyright',
MagentoStoreModelScopeInterface::SCOPE_STORE
);
return __($this->_copyright);
and update the getCopyright function as per your requirement.
If you can specify the exact requirement as to what needs to be changed I can help you in better way.
I know this method..but my concern is fromMagentoThemeBlockHtmlFooter
this class with custom module
– Chandra Kumar
Aug 14 '17 at 9:25
please check my answer
– Sejal Shah
Aug 16 '17 at 8:53
add a comment |
You don't need to create custom module. You can change the copyright text in Admin.
Go to Content >> Configuration.
Edit the active theme- Click on Footer tab
Edit the copyright Text
OR
You can override MagentoThemeBlockHtmlFooter class in your custom module with getCopyright
function like this:
<?php
namespace VendorThemeBlockHtml;
class Footer extends MagentoThemeBlockHtmlFooter
/*
* Retrieve copyright information
*
* @return string
*/
public function getCopyright()
if (!$this->_copyright)
$this->_copyright = $this->_scopeConfig->getValue(
'design/footer/copyright',
MagentoStoreModelScopeInterface::SCOPE_STORE
);
return __($this->_copyright);
and update the getCopyright function as per your requirement.
If you can specify the exact requirement as to what needs to be changed I can help you in better way.
You don't need to create custom module. You can change the copyright text in Admin.
Go to Content >> Configuration.
Edit the active theme- Click on Footer tab
Edit the copyright Text
OR
You can override MagentoThemeBlockHtmlFooter class in your custom module with getCopyright
function like this:
<?php
namespace VendorThemeBlockHtml;
class Footer extends MagentoThemeBlockHtmlFooter
/*
* Retrieve copyright information
*
* @return string
*/
public function getCopyright()
if (!$this->_copyright)
$this->_copyright = $this->_scopeConfig->getValue(
'design/footer/copyright',
MagentoStoreModelScopeInterface::SCOPE_STORE
);
return __($this->_copyright);
and update the getCopyright function as per your requirement.
If you can specify the exact requirement as to what needs to be changed I can help you in better way.
edited Aug 16 '17 at 8:59
answered Aug 14 '17 at 8:44
Sejal ShahSejal Shah
1,100623
1,100623
I know this method..but my concern is fromMagentoThemeBlockHtmlFooter
this class with custom module
– Chandra Kumar
Aug 14 '17 at 9:25
please check my answer
– Sejal Shah
Aug 16 '17 at 8:53
add a comment |
I know this method..but my concern is fromMagentoThemeBlockHtmlFooter
this class with custom module
– Chandra Kumar
Aug 14 '17 at 9:25
please check my answer
– Sejal Shah
Aug 16 '17 at 8:53
I know this method..but my concern is from
MagentoThemeBlockHtmlFooter
this class with custom module– Chandra Kumar
Aug 14 '17 at 9:25
I know this method..but my concern is from
MagentoThemeBlockHtmlFooter
this class with custom module– Chandra Kumar
Aug 14 '17 at 9:25
please check my answer
– Sejal Shah
Aug 16 '17 at 8:53
please check my answer
– Sejal Shah
Aug 16 '17 at 8:53
add a comment |
If you want to customize MagentoThemeBlockHtmlFooter you need:
Create your own module.
Create YourVendor/YourModule/etc/frontend/di.xml file like:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<preference for="MagentoThemeBlockHtmlFooter" type="YourVendorYourModuleBlockHtmlFooter" />
Create your block like:
<?php
declare(strict_types=1);
namespace YourVendorYourModuleBlockHtml;
/**
* Html page footer block
*/
class Footer extends MagentoThemeBlockHtmlFooter
/**
* @inheritdoc
*/
public function getCopyright(): string
';
add a comment |
If you want to customize MagentoThemeBlockHtmlFooter you need:
Create your own module.
Create YourVendor/YourModule/etc/frontend/di.xml file like:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<preference for="MagentoThemeBlockHtmlFooter" type="YourVendorYourModuleBlockHtmlFooter" />
Create your block like:
<?php
declare(strict_types=1);
namespace YourVendorYourModuleBlockHtml;
/**
* Html page footer block
*/
class Footer extends MagentoThemeBlockHtmlFooter
/**
* @inheritdoc
*/
public function getCopyright(): string
';
add a comment |
If you want to customize MagentoThemeBlockHtmlFooter you need:
Create your own module.
Create YourVendor/YourModule/etc/frontend/di.xml file like:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<preference for="MagentoThemeBlockHtmlFooter" type="YourVendorYourModuleBlockHtmlFooter" />
Create your block like:
<?php
declare(strict_types=1);
namespace YourVendorYourModuleBlockHtml;
/**
* Html page footer block
*/
class Footer extends MagentoThemeBlockHtmlFooter
/**
* @inheritdoc
*/
public function getCopyright(): string
';
If you want to customize MagentoThemeBlockHtmlFooter you need:
Create your own module.
Create YourVendor/YourModule/etc/frontend/di.xml file like:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<preference for="MagentoThemeBlockHtmlFooter" type="YourVendorYourModuleBlockHtmlFooter" />
Create your block like:
<?php
declare(strict_types=1);
namespace YourVendorYourModuleBlockHtml;
/**
* Html page footer block
*/
class Footer extends MagentoThemeBlockHtmlFooter
/**
* @inheritdoc
*/
public function getCopyright(): string
';
answered Jun 5 at 5:27
transversustransversus
212
212
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%2f189035%2fhow-to-change-footer-copyright-text-in-magento2%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