cancel
Showing results for 
Search instead for 
Did you mean: 

Remove loading icon when loading page

Re: Remove loading icon when loading page

Dear piyush_khandelw,

 

Do you mean to leave the file "page_preloader.phtml" blank, or mark comments * in left-hand side of each lines in the file ?

 

Many Thanks,

KH Fong

 

Re: Remove loading icon when loading page

@k.h._fong  
Yes you can empty the file or you can try to comment your all code inside

/*

 

*/

these.
If it help you accept this as solution and give kudos.

Re: Remove loading icon when loading page

Dear 

 

Similar to your following advised path "/app/design/frontend/_theme064/", found the following folders & files so which folder(s) with file(s) I should need to edit for our above purpose ?

 

ZScreen_20190927(b).jpgZScreen_20190927(c).jpg

 
For your info., the DB files were copied from Linux to Window as above (so that it is easier to view & access the folders & files).
 
Many Thanks,
KH Fong
 

Re: Remove loading icon when loading page

Dear piyush_khandelw

 

I don't exactly know how to mark the comments, which of the following format(s) is correct ?

 

Format A -

/*

Coding 1

Coding 2

Coding 3

*/

 

Format B -

/*Coding 1

/*Coding 2

/*Coding 3

 
Format C -

*/Coding 1

*/Coding 2

*/Coding 3

 
Format D -

/*Coding 1

Coding 2

Coding 3*/

 

If the above are incorrect, what else format is correct ?

 

Many Thanks,

KH Fong

 

 

Re: Remove loading icon when loading page

@k.h._fong 
format A is correct or you can use

 

//Coding 1

//Coding 2

//Coding 3

Re: Remove loading icon when loading page

Dear  piyush_khandelw,

 

Found that there are 3 "page_preloader.phtml" files in our website as below -

./app/design/frontend/TemplateMonster/theme064/Magento_Theme/templates/page_preloader.phtml
./app/design/frontend/_theme064/Magento_Theme/templates/page_preloader.phtml
./var/view_preprocessed/html/app/design/frontend/TemplateMonster/theme064/Magento_Theme/templates/page_preloader.phtml 

 
Q1) Should I have to change all of the above 3 files ?
 
Q2) Also, found some stranges as below -
a) Could not copy the following folder from Linux to Window with error "Fatal: Network error: Connection timed out" -
/var/view_preprocessed/*
 
b) Could not copy the following two files from Window to Linux with the above same error "Fatal: Network error: Connection timed out" -
./app/design/frontend/TemplateMonster/theme064/Magento_Theme/templates/page_preloader.phtml
In Linux, this filename is in white colour -
ZScreen_20190927(d).jpg
 
./app/design/frontend/_theme064/Magento_Theme/templates/page_preloader.phtml
In Linux, this filename is in green colour -
ZScreen_20190927(e).jpg
 
Could you advise the above Q1-Q2 ?
 
Many Thanks,
KH Fong
 
 
 

Re: Remove loading icon when loading page

Dear piyush_khandelw / Experts,

 

Found that no problem on the following Q2 today.

 

For the following Q1, after changing the following two "page_preloader.phtml" files to empty -

./app/design/frontend/TemplateMonster/theme064/Magento_Theme/templates/page_preloader.phtml
./app/design/frontend/_theme064/Magento_Theme/templates/page_preloader.phtml

 

Only found that some of the titles can be changed to remove the loading icon when clicking these titles, e.g. the following "Milk", "Milk Channel", "我的帳戶", "創建帳戶" & "登錄" -

ZScreen_20190927(f).jpg

Other titles still cannot be changed to remove the loading icon when clicking these. Could you advise ?

 

Besides, the following "page_preloader.phtml" file under the following folder cannot be changed, e.g. remove and then copy an updated one from Window to Linux -

./var/view_preprocessed/html/app/design/frontend/TemplateMonster/theme064/Magento_Theme/templates/page_preloader.phtml

 

Error is as below -

pscp: unable to open /var/www/html/milkmart/var/view_preprocessed/html/app/desig
n/frontend/TemplateMonster/theme064/Magento_Theme/templates//page_preloader_test
.phtml: permission denied

 

Could you also advise ?

 

Many Thanks,

KH Fong 

Re: Remove loading icon when loading page

@k.h._fong 
check the permission of file is 777 or not if not then set to 777.
If problem solve accept this solution and give kudos.

Re: Remove loading icon when loading page

Tks piyush_khandelw,

 

Could you also advise on how to set the permissions ?

 

Below is the current path with files for your ref. -

ZScreen_20190927(g).jpg

 

Does it mean that this "page_preloader.phtml" file (as below) is also required to change to empty ?

./var/view_preprocessed/html/app/design/frontend/TemplateMonster/theme064/Magento_Theme/templates/page_preloader.phtml

 

Many Thanks,

KH Fong

Re: Remove loading icon when loading page