Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
With the 1.0 release, you can now pick templates for entities, like users, comments, or taxonomy terms. You can use them in the same way you use node templates. The naming convention for entity templates is entity--bundle--tp*.tpl.php
Bug Fixes:
Here are some examples of entity-based template suggestions:
- taxonomy-term--tags--tp-1.tpl.php
- user--user--tp-1.tpl.php
- comment--comment-node-article--tp-1.tpl.php
- node--article--tp-1.tpl.php
- video--advertisement--tp-1.tpl.php (a custom entity and bundle)
(note: entity or bundle machine names containing underscores should be converted to hyphens when used in template file names, as shown above)
You can pick templates for custom entities (which have their own display template), as long as those entities are built off of the Entity API module.
This release doesn't support entities built with the ECK module, until the issues I've reported with ECK form submission have been addressed.
Of the entities that come with Drupal 7 core, the 'file' and 'taxonomy_vocabulary' entities are not supported by template picker, since they have no default template implementations to override.