This seems to be the same issue as [#84444] for version 6.x. Views sees my field template but it is never rendered. Did all the 6.x fixes make it into the 7.x code base? Following some of the patches in [#84444] it looks like 7.x has the old code, none of the patches applied. Unfortunately not all the fixes for that issue made it into patches attached to the issue.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Irous’s picture

It would be great to have this issue fixed. Can't theme my Views Datasource fields at all :(

Alexander Allen’s picture

Hi austin_drupal,

Could you please provide a bit more background information? The issue you mention [#84444] which is titled INTERFACE JQuery java script library plugins and demos, is not related to this module or have any patches attached to it. Could you please provide a web URL for the 6.x issue you are mentioning?

Thank you,
Alex

VonD’s picture

Priority: Major » Critical

Same issue here !
I think the issue austin_drupal was talking about is in fact [#844442].

VonD’s picture

Priority: Critical » Normal
Status: Active » Needs review

Well, i tried the patch mentionned in #844442: Add views-view-field.tpl.php support. and it did solve my issue.
I tested JSON views only.

c31ck’s picture

I've created a patch against 7.x-1.x-dev based on the most recent patch in #844442: Add views-view-field.tpl.php support.. I left out the code about the label because I don't see how that code is relevant to this issue.

jordisan’s picture

So... please tell us this is going to be included into the next release :)

davidneedham’s picture

Status: Needs review » Needs work

I tried the patch in #5. It seems to have applied (files are changed with no errors), but my field tpl.php files still seem to be ignored. I flushed my cache and verified that it can see the tpl.php file in the "theme information" section.

For the sake of troubleshooting, here's some more info:

  • First I tried something fairly general: views-view-field--title.tpl.php
  • When that didn't work, I tried something quite specific: views-view-field--blog-posts--page-1--title.tpl.php
  • I tried printing some static text instead of $output, cleared the cache a couple times, no change.
jdanthinne’s picture

Issue summary: View changes

#5 is working fine for me (JSON output).

kenorb’s picture

Status: Needs work » Needs review
FileSize
3.07 KB