Home » Interview Question » Magento » How to enable Template and Block Hints in Magento For Front End and Back End

How to enable Template and Block Hints in Magento For Front End and Back End

Template and block hints is very helpful to know the every block and template name fro front end and back end application.

Enable template and block hints from admin Panel for Front End 

  1. Login from your Magento  admin Panel
  2. Go to Dashboard then System->Configration
  3. Now select the Min Website from Left Panen under the Current Configuration Scope
  4. Now clicked on Developer tab from left panel bottom.
  5. Now clicked on Debug tab.
  6. Now Do Yes from drop down Template Path Hints
  7. Now do Yes Enable add block hints

Enable template and block hints  for admin Panel

Step 1: Login your database from php admin

Step 2: Select your database and clicked on core_config_data table

Step 3: Choose SQL tab query option from top and Run below Queries

 

INSERT INTO core_config_data (scope, scope_id, path, value)
VALUES ('default', 0, 'dev/debug/template_hints', 1),
('default', 0, 'dev/debug/template_hints_blocks', 1);

 

Or we can Enable both from SQL Query(Run only single Queries)

UPDATE core_config_data SET value = '1' WHERE path LIKE '%template_hints%';

 

For Disable the template and block hints for Front End and Back End

UPDATE core_config_data SET value = '0' WHERE path LIKE '%template_hints%';

, , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">