Let's say I have a view with 4 fields: Title, Subtitle, Link and Body.
Due to some html output personalization, I excluded the first three fields and added them in the Body field.
For the link content, I previously created an override views-view-field--view-node.tpl.php that actually works in other situations (with other views).
In this case, however, the Link field doesn't display as in the tpl but as the default template (I.e. in my tpl I added some classes to the tag).
Anyone experienced this and solved?

  • I also need this -- did you ever solve? Jan 2 '14 at 17:12
  • Actually, no. Maybe we can open an issue in drupal.org ?
    – Kropot
    Jan 13 '14 at 8:50
  • I suppose. I wanted to add a class to an Anchor Tag, and I ended up wrapping the anchor tag in a span tag and theming a span.myclass>a.myclass as a workaround. Jan 13 '14 at 18:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.