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

jamesodmitchell’s picture

Assigned: jamesodmitchell » Unassigned
PeterZ’s picture

There 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.

dawehner’s picture

Status: Active » Fixed

so this can be marked as fixed.

thx for answering!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.