Timeline for How do I access my fields in a .tpl file
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 7, 2012 at 3:09 | vote | accept | Jerzakie | ||
Feb 7, 2012 at 3:09 | comment | added | Jerzakie | Semantic Views is EXACTLY what I need! Thank you so much! | |
Feb 7, 2012 at 2:00 | comment | added | sheena_d | I would highly recommend the Semantic Views module - it lets you easily alter the HTML that wraps many different Views components from within the Views UI. | |
Feb 7, 2012 at 1:18 | comment | added | Jerzakie | Drupal 6, OpenPublish, Views2. OpenPublish Theme is my base theme Here's what I am trying to accomplish: I have a new view, lets call it MyView. In MyView I have 2 Displays, both of type Block lets call them Block_1 and Block_2 I want to wrap the fields in the block with my own markup so that they render differently. I currently have .tpl files for this but I cannot figure out how to access the fields I added to the View. I want to do this right, but I'm not experienced with Drupal so I don't really know any best practices or anything (sorry I can't add line breaks?) | |
Feb 6, 2012 at 23:42 | history | answered | sheena_d | CC BY-SA 3.0 |