Aoe templatehints

Aoe_TemplateHints or Magento Advanced Template Hints 2.0

Author: Fabrizio Branca

URL: http://www.fabrizio-branca.de/magento-advanced-template-hints-20.html

github: https://github.com/fbrnc/Aoe_TemplateHints

Screencast: http://www.youtube.com/watch?v=NZjK8qUot-8

  • shows all blocks (and not only the blocks inheriting from Mage_Core_Block_Template),
  • show the cache status of blocks (cached, uncached or nested in a cached block),
  • add much more useful data depending on the block type (e.g. template file or cms block-id – check the original blog post for a reference),
  • cleans up the visual appearance of the template hints,
  • can be triggered without changing configuration settings in the backend
  • …and is much more fun to use

Color meaning:

  • A red border means that the block is not cached.
  • A green border means that this block is cached. The popup will contain some additional information on cache key, lifetime and tags.
  • A yellow border means that the block itself is not cached, but it is nested in a cached (green) block that will implicitly cache this block as well.

The template hints will be activated by appending the parameter

?ath=1

to the url or passing this parameter in a cookie. In addition to this the current ip must match the configured dev-ip settings.

<rdf:RDF xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#&#8221; xmlns:dc=”http://purl.org/dc/elements/1.1/&#8221; xmlns:trackback=”http://madskills.com/public/xml/rss/module/trackback/”&gt; <rdf:Description rdf:about=”https://confluence.vaimo.com/display/development/Aoe+templatehints&#8221; dc:identifier=”https://confluence.vaimo.com/display/development/Aoe+templatehints&#8221; dc:title=”Aoe templatehints” trackback:ping=”https://confluence.vaimo.com/rpc/trackback/1703943″/&gt; </rdf:RDF>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s