Skip to content

PhilippBaranovskiy/magento-template-hints-toggler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Magento template hints toggler

This bookmarklet is the easiest way to toggle visibility of Magento's template hints.


You need 2 things:

  1. You need install this plugin: Easy Template Path Hints.
  • just clone it into your cms app directory tree synchronous
  1. Then add bookmark with the following URL to your browser's toolbar panel:
javascript:(function(t){var e=t.location.search,a=/(code=\w+)/.test(e),c=/(tp=\d)/.test(e),n=[];if(a||n.push("code=magento"),c){var o=parseInt(e.match(/tp=(\d+)/)[1]),p=new Number(!o);e=e.replace(/(tp=\d+)/gi,"tp="+p)}else n.push("tp=1");n.length&&""!=e&&(e+="&"),t.location.search=e+n.join("&")})(document);

About

Bookmarklet to toggle Magento's template hints

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published