Can this be done in views module

mediashock - April 18, 2008 - 21:32

I have a Content type called Cars , and one called Trains ( each slightly different)

Cars has a Picture, description, title, etc
Trains has Picture Description,size etc

I got few nodes , lets say 2 3 are Cars and 4 5 are trains

Now, when I go to node/2 which is a Car, i want to Display the formatting with a VIEW to be different then Trains

but when i go to node/2 and NOT view_name

same with trains node/4 should use a different View.. anyone can explain and outline shortly how i could do this

=-=

VeryMisunderstood - April 18, 2008 - 21:36

views creates "lists"

what you descrive sounds more like a custom tpl.php file for each content type that themes the trains and cars differently. If this is the case there is a theme developers guide in the documentation area that should get you where you want to be.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

 
 

Drupal is a registered trademark of Dries Buytaert.