I want to enable template path hints in admin panel. I know how to do it for the front end, but for back end?? I actually want to edit the admin panel .
Thanks in advance..
Step 2: Enable template path hintsOn the Admin sidebar, go to Stores > Settings > Configuration. In the left panel, expand Advanced and choose Developer. To activate template path hints for the store, set Enabled Template Path Hints for Storefront to Yes .
Go to System->Configuration. The Template Path and Block name will only appear for current website.
Root template <Magento_Theme_module_dir>/view/base/templates/root. phtml is the root template for all storefront pages in the Magento application. This file can be overridden in a theme just like any other template file.
You can do it by changing the database directly. If you have something like phpMyAdmin that is a good way to gain access. Enter this SQL.
INSERT INTO `core_config_data` (`scope`, `scope_id`, `path`, `value`) VALUES ('websites', '0', 'dev/debug/template_hints', '1');
When you are done with path hints just delete the matching record from core_config_data
Or update the value
field to 0
instead of deleting the whole record, it will probably be the last one since you've just added it.
You can enable template and block path hints in every store (including the admin store) by setting them in the Magento configuration. To do this, simply edit your module's configuration file config.xml
(which gets injected into Magento's global configuration).
To enable template and block path hints in the admin area add this to your config.xml
file
<config> ... <stores> <admin> <dev> <debug> <template_hints>1</template_hints> <template_hints_blocks>1</template_hints_blocks> </debug> </dev> </admin> </stores> </config>
To disable path hints simply change to 0, or delete the node.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With