Closed (fixed)
Project:
Views (for Drupal 7)
Version:
5.x-1.6
Component:
Miscellaneous
Priority:
Minor
Category:
Support request
Assigned:
Reporter:
Created:
13 Nov 2007 at 23:48 UTC
Updated:
3 Dec 2007 at 22:36 UTC
Drupal 5.3
Basically, I would like to know how to make a node's link show a view. Seem simple? Well it isn't. Here is what I mean:
Say I make a view (page): www.localhost.com/business/bpd
Say I make a node with the URL: www.localhost.com/business/bpd
If Joe Shmoe goes to www.localhost.com/business/bpd, it shows the node body. I want it to show the view. Apparantly the view is being overriden; I want the VIEW to BE the overrider.
Yes, it is easy to link to a view in a menu.
But how do I make it so the Node will show its teaser, but when clicked on it will take the user to the view?
ALL COMMENTS AND IDEAS ARE WELCOME! THANKS!!!
Comments
Comment #1
catchHaving a node and a view with the same path is bad practice in nearly all cases, it should be quite easy to theme your teaser in a node-type.tpl.php file to link to the view from there.
You also need to give more information about whether the view accepts arguments etc. - is it just one node or is this something you want to reproduce accross your whole site?
Comment #2
bensnyder commentedThe problem I am having has to do with my overall Drupal technique. See http://drupal.org/node/193609 to read another post I submitted that may help you understand better.
-Thanks
Comment #3
catchOK I'm marking this as fixed then. I'd suggest reading the handbook documentation for theming (and views for that matter).
Comment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.