Posted by brady747 on February 26, 2007 at 4:53am
First, Thanks to everyone who works hard on drupal and everyone who is working hard on the dojo...im learning a lot.
A quick question. Ive been playing around with the views and panels module and noticed in the Lesson $ class notes wiki that it says "And as we shall see, you can use panels within views and views within panels...". I can't seem to figure out how to put a panel inside a view? I watched all of lesson 4 the other day, but perhaps I missed something? Im going to double check all the view menus, maybe I missed it and it can be put in as a filter somehow? Anyway, if anyone can help me understand how to put a panel in a view, that'd be great.
Thanks,
Brady
Comments
Me too
Me too
While I haven't seen the Dojo lesson
One thing you could try (using cck viewfield or the insertview module) is to insert a view into a node, and then drop the node into a panel.
There is probably an easier way, but that could get you started.
Cheers,
Bill
FunnyMonkey
Thanks. Ill give it a shot.
Thanks. Ill give it a shot. I wasn't aware of insertview module, so at a minimum Ill learn a few things ;)
brady
Panels don't go inside views
You're turned around. Panels break the browser page into areas you fill with content. One of the many things you can fill in would be a view.
Views are lists of nodes. You don't "put a panel in a view" but you do "put a view into a panel area."
With the views-bonus pack there are some view types that are built with panels in mind (e.g. spreading a list of nodes over two columns), but the part that says you can "put a panel in a view" is wrong.
http://www.chapterthreellc.com | http://www.outlandishjosh.com
https://pantheon.io | http://www.chapterthree.com | https://www.outlandishjosh.com
Thanks josh
Thanks Josh. I'm not turned around in that I knew what you are explaining to be true, which is why i was confused by the quote from the lesson (I was pretty sure panels weren't nodes as you confirmed). I guess a typo is probably all it was. I might give billfitzgerald's idea a shot anyhow as a bit of fun tinkering and learning.
Thanks again.