The Views "Theme Information" page provides a useful list of available .tpl templates, and examples for the display, style and row. I'd like to see:

  • The option to edit, create (and delete) the theme template required. The theme information page to use styled links (colours and/or dotted/solid underlines) to show which templates exist
  • Example links for individual fields (as there is for display, style and rows).
  • Be nice if the code provided included an actual example, using the field name selected

Comments

esmerel’s picture

Status: Active » Postponed
esmerel’s picture

Component: Code » Documentation
Status: Postponed » Active

The edit/create isn't going to happen, but the second and third are reasonable candidates for documentation.

iamjon’s picture

This podcast helped me figure it out:
http://www.mustardseedmedia.com/podcast/episode30

iamjon’s picture

Status: Active » Closed (duplicate)
iantresman’s picture

Any reason why edit/create is not possible (besides someone having the ability to do it)?

If the facilities is permission based, there is a reduced security issue. And it is trivial to create the selected template file in the theme template, together with a copy of the default PHP code. This would make it so much easier to override CCK field templates.

merlinofchaos’s picture

Creating and editing templates from the UI is not possible because the webserver does not have write access to PHP files (and templates are PHP files) for security reasons.