Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.0
Component:
page displays
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2009 at 07:57 UTC
Updated:
6 May 2009 at 17:50 UTC
Hi all !
Please help, I am a newbie to Drupal 5 but I have worked out how to theme using the template.php and creating a views-view-_-_.tpl.php file. BUT Views 2 in Drupal 6 has completly baffled me!
Under theming I found that I needed to create either a "views-view--teenagers-stories.tpl.php" or "views-view-list--teenagers-stories.tpl.php". These do work and overwrite the output BUT I need more control over them. In Drupal 5 I was using the node_load($node-id) (or something like that). Then using that array I output my View.
The view currently is like this http://www.tenteenagers.com/teenagers-stories.
How do I do this in Views 2. Please help!
Thanks
James
Comments
Comment #1
jamesodmitchell commentedComment #2
PeterZ commentedThere is documentation for how to do this here:
http://views-help.doc.logrus.com/help/views/using-theme
Read it carefully. I've largely gotten views templates to work from it, but struggled because I didn't read all the details correctly.
Comment #3
dawehnerso this can be marked as fixed.
thx for answering!