Edit .phtml file without have to run setup:upgradeMagento 2: When should I run which commands?how to speed up static content deploy for developmentWhat is the proper way to run an UpgradeSchema.php file in Magento 2?Problem changing to Production mode - Command returned non-zero exit codeMagento 2 execute php bin/magento setup:upgrade without command promptMagento 2 setup:upgrade to update modules breaks layout and have to redeploymagento2 in production mode Nwdthemes Revslider not workingno commands defined in the “setup” namespace. in Magento2Why do i have to always run the commands to clean cache in Magento 2.1.8?Magento 2 why always need to run static content deploy every after upgrade?Magento 2 : Upgrade Data Version of custom module using setup:db-data:upgradeconnection “developer” is not defined
Is there a difference between 「目を覚ます」 and 「目覚める」
How to halve redstone signal strength?
What could prevent players from leaving an island?
Why do proponents of guns oppose gun competency tests?
Can I enter a rental property without giving notice if I'm afraid a tenant may be hurt?
How do I get the =LEFT function in excel, to also take the number zero as the first number?
Is DC heating faster than AC heating?
Who is the god Ao?
Can a Hogwarts student refuse the Sorting Hat's decision?
Repeated! Factorials!
How can glass marbles naturally occur in a desert?
Traveling from Germany to other countries by train?
Best way to explain to my boss that I cannot attend a team summit because it is on Rosh Hashana or any other Jewish Holiday
What are the examples (applications) of the MIPs in which the objective function has nonzero coefficients for only continuous variables?
Print only the last three columns from file
Pronouns when writing from the point of view of a robot
Is it true that control+alt+delete only became a thing because IBM would not build Bill Gates a computer with a task manager button?
Premier League simulation
Making pause in a diagram
Can external light meter replace the need for push/pull?
Cobb-Douglas production function with expenditures rather than units
Why should public servants be apolitical?
Is a switch from R to Python worth it?
Why does putting a dot after the URL remove login information?
Edit .phtml file without have to run setup:upgrade
Magento 2: When should I run which commands?how to speed up static content deploy for developmentWhat is the proper way to run an UpgradeSchema.php file in Magento 2?Problem changing to Production mode - Command returned non-zero exit codeMagento 2 execute php bin/magento setup:upgrade without command promptMagento 2 setup:upgrade to update modules breaks layout and have to redeploymagento2 in production mode Nwdthemes Revslider not workingno commands defined in the “setup” namespace. in Magento2Why do i have to always run the commands to clean cache in Magento 2.1.8?Magento 2 why always need to run static content deploy every after upgrade?Magento 2 : Upgrade Data Version of custom module using setup:db-data:upgradeconnection “developer” is not defined
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm running on Magento 2 version 2.1.7, but everytime i change my .phtml file content i need to run php bin/magento setup:upgrade
to see the change. I already set my magento 2 to developer mode
magento2 phtml setup-upgrade
add a comment |
I'm running on Magento 2 version 2.1.7, but everytime i change my .phtml file content i need to run php bin/magento setup:upgrade
to see the change. I already set my magento 2 to developer mode
magento2 phtml setup-upgrade
This will help you: magento.stackexchange.com/a/184927/35758
– Prince Patel
Jan 11 '18 at 8:19
magento.stackexchange.com/a/171385/42007
– steros
Jan 17 '18 at 16:45
add a comment |
I'm running on Magento 2 version 2.1.7, but everytime i change my .phtml file content i need to run php bin/magento setup:upgrade
to see the change. I already set my magento 2 to developer mode
magento2 phtml setup-upgrade
I'm running on Magento 2 version 2.1.7, but everytime i change my .phtml file content i need to run php bin/magento setup:upgrade
to see the change. I already set my magento 2 to developer mode
magento2 phtml setup-upgrade
magento2 phtml setup-upgrade
asked Jan 11 '18 at 7:49
simple guysimple guy
1,0442 gold badges15 silver badges43 bronze badges
1,0442 gold badges15 silver badges43 bronze badges
This will help you: magento.stackexchange.com/a/184927/35758
– Prince Patel
Jan 11 '18 at 8:19
magento.stackexchange.com/a/171385/42007
– steros
Jan 17 '18 at 16:45
add a comment |
This will help you: magento.stackexchange.com/a/184927/35758
– Prince Patel
Jan 11 '18 at 8:19
magento.stackexchange.com/a/171385/42007
– steros
Jan 17 '18 at 16:45
This will help you: magento.stackexchange.com/a/184927/35758
– Prince Patel
Jan 11 '18 at 8:19
This will help you: magento.stackexchange.com/a/184927/35758
– Prince Patel
Jan 11 '18 at 8:19
magento.stackexchange.com/a/171385/42007
– steros
Jan 17 '18 at 16:45
magento.stackexchange.com/a/171385/42007
– steros
Jan 17 '18 at 16:45
add a comment |
3 Answers
3
active
oldest
votes
Actually php bin/magento setup:upgrade
is used when modules need to be upgraded.
For the case of change in .pthml
files, if cache is enabled you must run php bin/magento cache:clean
. This works very well for me.
add a comment |
You only need to run:
php bin/magento cache:flush
to see changes of phtml files.
The command php bin/magento setup:upgrade
is used to deploy new modules.
yes i run those scripts too, but usually my phtml file changed always show right away after i edit it without having to run any script in terminal
– simple guy
Jan 11 '18 at 7:56
I don't see how that is possible unless static content and cache was disabled or if you are reffering to Magento 1.X
– Lez
Jan 11 '18 at 7:59
No need of static content deploy . Only cache flush is more than enough
– Pramod Kharade
Jan 17 '18 at 16:43
add a comment |
For phtml only cache command is enough
php bin/magento cache:flush
No need of upgrade and static content deploy command
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%2f209019%2fedit-phtml-file-without-have-to-run-setupupgrade%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Actually php bin/magento setup:upgrade
is used when modules need to be upgraded.
For the case of change in .pthml
files, if cache is enabled you must run php bin/magento cache:clean
. This works very well for me.
add a comment |
Actually php bin/magento setup:upgrade
is used when modules need to be upgraded.
For the case of change in .pthml
files, if cache is enabled you must run php bin/magento cache:clean
. This works very well for me.
add a comment |
Actually php bin/magento setup:upgrade
is used when modules need to be upgraded.
For the case of change in .pthml
files, if cache is enabled you must run php bin/magento cache:clean
. This works very well for me.
Actually php bin/magento setup:upgrade
is used when modules need to be upgraded.
For the case of change in .pthml
files, if cache is enabled you must run php bin/magento cache:clean
. This works very well for me.
answered Jan 11 '18 at 11:21
Purushotam SangroulaPurushotam Sangroula
1,15810 silver badges27 bronze badges
1,15810 silver badges27 bronze badges
add a comment |
add a comment |
You only need to run:
php bin/magento cache:flush
to see changes of phtml files.
The command php bin/magento setup:upgrade
is used to deploy new modules.
yes i run those scripts too, but usually my phtml file changed always show right away after i edit it without having to run any script in terminal
– simple guy
Jan 11 '18 at 7:56
I don't see how that is possible unless static content and cache was disabled or if you are reffering to Magento 1.X
– Lez
Jan 11 '18 at 7:59
No need of static content deploy . Only cache flush is more than enough
– Pramod Kharade
Jan 17 '18 at 16:43
add a comment |
You only need to run:
php bin/magento cache:flush
to see changes of phtml files.
The command php bin/magento setup:upgrade
is used to deploy new modules.
yes i run those scripts too, but usually my phtml file changed always show right away after i edit it without having to run any script in terminal
– simple guy
Jan 11 '18 at 7:56
I don't see how that is possible unless static content and cache was disabled or if you are reffering to Magento 1.X
– Lez
Jan 11 '18 at 7:59
No need of static content deploy . Only cache flush is more than enough
– Pramod Kharade
Jan 17 '18 at 16:43
add a comment |
You only need to run:
php bin/magento cache:flush
to see changes of phtml files.
The command php bin/magento setup:upgrade
is used to deploy new modules.
You only need to run:
php bin/magento cache:flush
to see changes of phtml files.
The command php bin/magento setup:upgrade
is used to deploy new modules.
edited Jan 17 '18 at 17:04
answered Jan 11 '18 at 7:53
LezLez
1,6108 silver badges32 bronze badges
1,6108 silver badges32 bronze badges
yes i run those scripts too, but usually my phtml file changed always show right away after i edit it without having to run any script in terminal
– simple guy
Jan 11 '18 at 7:56
I don't see how that is possible unless static content and cache was disabled or if you are reffering to Magento 1.X
– Lez
Jan 11 '18 at 7:59
No need of static content deploy . Only cache flush is more than enough
– Pramod Kharade
Jan 17 '18 at 16:43
add a comment |
yes i run those scripts too, but usually my phtml file changed always show right away after i edit it without having to run any script in terminal
– simple guy
Jan 11 '18 at 7:56
I don't see how that is possible unless static content and cache was disabled or if you are reffering to Magento 1.X
– Lez
Jan 11 '18 at 7:59
No need of static content deploy . Only cache flush is more than enough
– Pramod Kharade
Jan 17 '18 at 16:43
yes i run those scripts too, but usually my phtml file changed always show right away after i edit it without having to run any script in terminal
– simple guy
Jan 11 '18 at 7:56
yes i run those scripts too, but usually my phtml file changed always show right away after i edit it without having to run any script in terminal
– simple guy
Jan 11 '18 at 7:56
I don't see how that is possible unless static content and cache was disabled or if you are reffering to Magento 1.X
– Lez
Jan 11 '18 at 7:59
I don't see how that is possible unless static content and cache was disabled or if you are reffering to Magento 1.X
– Lez
Jan 11 '18 at 7:59
No need of static content deploy . Only cache flush is more than enough
– Pramod Kharade
Jan 17 '18 at 16:43
No need of static content deploy . Only cache flush is more than enough
– Pramod Kharade
Jan 17 '18 at 16:43
add a comment |
For phtml only cache command is enough
php bin/magento cache:flush
No need of upgrade and static content deploy command
add a comment |
For phtml only cache command is enough
php bin/magento cache:flush
No need of upgrade and static content deploy command
add a comment |
For phtml only cache command is enough
php bin/magento cache:flush
No need of upgrade and static content deploy command
For phtml only cache command is enough
php bin/magento cache:flush
No need of upgrade and static content deploy command
edited Jan 18 '18 at 7:22
answered Jan 17 '18 at 16:41
Pramod KharadePramod Kharade
1,89013 silver badges29 bronze badges
1,89013 silver badges29 bronze badges
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%2f209019%2fedit-phtml-file-without-have-to-run-setupupgrade%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
This will help you: magento.stackexchange.com/a/184927/35758
– Prince Patel
Jan 11 '18 at 8:19
magento.stackexchange.com/a/171385/42007
– steros
Jan 17 '18 at 16:45