I'm working on some views and I came across a requirement I'm not sure how to handle.
I need the title for each returned item to link to a specific URL. However, if another field (a link field) isn't empty, link to that link instead. I believe I need to edit the view template files but I'm not sure how to get started.
- In my view, I've found the "Theme: Information" section and am able to get template files working for my view. However, it's listing display, style, row, and field templates. Where would I incorporate the logic I described above for the title field?
- Once in a template file I am unsure of what variables are available to me. Is there a list or a way to discover these?