Frustration Tabbed Content
elbarcino - April 1, 2009 - 14:32
Hello all,
I`m trying to build a site featuring restaurant listings. When displaying the full node I need to have several tabs for node | map | restaurant menu | users reviews |
Something similar can be found here: http://nymag.com/listings/restaurant/convivio/
My Drupal and PHP skills are very low. I've been looking aorund and reading documentation, but without luck. I really appreciate any advise. Thanks
My best regards,

_
Checkout the http://drupal.org/project/quicktabs module. Also, you can create tabs with the http://drupal.org/project/views module pretty easily as well.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Thanks
Thanks a lot for your feedbak...I've tried already quicktabs, but as far as I understand quicktab would create a new tabbed block that can be asigned to a specific node....I have 4 different types of content a node, a restaurant menu (which is a webform), a review (a called review to the comments) and a map showing the location - I need to show them in the form of tabbed content....
I already installed the views module, but I'm not able to find documentation on how to achive that.
Thank again for your suggestions
_
For tabbed views, you would create a page view, then in the 'Page settings' box use the "menu" option to create a tabbed menu item.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Frustration...
I have to recognize that I feel very frustrated trying to create tabbed content pages. After day reading posts, hunting for documentation and tutorial I'm giving up....
I've read lots of posts where other users ask the same question: how to create tabbed content pages? the answers are always the same: use quicktabs, magictabs or views...
Maybe, there's something I'm not getting, perhaps I'm just confused or my brain is not functioning properly, or ist it to difficult to achive....?
I need to create content tabbed pages. Quicktabs will create a new block that can be displayed on a node. Views can help create lists of content which can be displayed as tables. I see it is possible to create views that can help display content in tabs - but views would apply to all nodes.
For me still is not clear how can I apply a view just to a content type or create view involving just 2 different content types.
Thanks again for the advise
_
I can appreciate your frustration. With the power and flexibility of drupal comes complexity.
This is not difficult to do-- and I'm sure once you see how it's done you'll agree. What's difficult is figuring out the exact options, in the plethora of views options, that you need for a given result.
If you can post a wirefire or rough diagram of exactly what you're trying to achieve perhaps I could give you more targeted instructions.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Thanks again
Thaks again for your help,
Here is a visula of what I'm tryin to achive: http://www.flickr.com/photos/37127011@N02/3417549921/sizes/o/
Using the Node Profile Module and CCK have created a Restaurant Profile Content Type. I need to have on every profile page something similar to what you see on the picture.
Registered user will be able to write restaurant reviews... I've created a content type called "restaurant reviews" using CCK, fivestar, node reference, and other modules. I have a section called restaurant reviews created using the Taxonomy module where all reviews will be displayed.
I was able to create a view that displays reviews and rating made on specific restaurant - in a way that they appear as you see on the diagram on a tab called "readers reviews". The problem now is that the tab appears in all nodes and all content types....
Best regards,
_
node_profile is a d5 only module-- this thread is tagged d6. Are you using d5 or d6 (it makes a HUGE difference due to the additional functionality of views 2 with d6)?
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Sorry, I'm an idiot
I'm using Drupal6, and made profiles using the Content_Profile Module
_
no worries, lol.
You didn't mention anything about content_profile or profile overrides in your original post-- which is why I said that tabbed content is easy. Tabbed content is-- but combined with profile overrides and content_profiles it gets proportionately more complex. In this particular case, I would normally recommend you go with the advanced_profile module which is designed for exactly this purpose. The problem is, advanced_profile is caught in a bit of a logjam-- it needs panels and panels is being completely rewritten for version 3 so it may be a while.
In the meantime, i think we can come close with views. But I don't know anything about the quicktables module-- does it integrate with views at all? I checked the project page, but it doesn't mention anything.
Also, how do you associate a restaurant with a location? A nodereference field?
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
NodeMap
I associate a restaurant with a location using the NodeMap http://drupal.org/project/nodemap Module...
Actually, I think I'm pretty close to achive what I need. Right now I have a regular restaurant profile on full node displaying three tabs: restaurant profiles | location | readers reviews | I'm still tryint to figure out how to insert another view to display the restaurant menu. My second problem is that other content types are displaying the same tabs...
_
I'm not sure about the restaurant menu since I don't use quicktables and it doesn't say anything on the project page about views integration.
As for the other, what did you specify for the path of the view?
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
node/%/reviews
WorldFallz Thanks again for your advised!
I created 2 page views and for the path of the view specified node/%/reviews and node/%/location. Now I have all nodes displaying two tabs:
RESTAURANT PROFILE | READERS REVIEWS | RESTAURANT LOCATION
Everything seems to be working OK - it is only that I need these two tabs (readers reviews and restaurant location) to appear only on the restaurant profile node type. I have only two content types "restaurant profile" and "restaurant review"....
Best regards..
_
Ah ok, that's because of the 'node' in your path (which applies to all nodes). I would fix this by aliasing the "restaurant' content type to something like "http://example.com/retaurants" (pathauto would be the easiest way to do this) then change your views paths to match.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
I just tried
If I understood correctly what you wrote, but this is what I did:
Pattern for all Restaurant Profile paths: restaurants/[title-raw]
Then went to views and changed the path location to: http://example.com/restaurants/%/reviews
But didn't work. Is there anything I did wrong?
_
Did you change the argument to match the fact that you're using 'restaurants/[title-raw]' instead of 'node/nid'? In other words, you argument was "Node: nid" now you need to use "Node: title".
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
OH YES!!!
YES, it works....
WorldFallz - Thank you very much for your help, I really appreciate it.
Best regards,
_
Excellent-- happy to help. ;-)
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Any ideas?
Any ideas.....?