By webdev2 on
I would like to have "sections" on any particular page that contained either content or links to content of a particular content type.
Is that accomplished using panels and views (and probably CCK)?
I tried to watch Josh's blip.tv tutorial on it but it was so hit or miss with bandwidth quality that it was hard to watch.
Please let know of any tutorials on doing the above. I have most of the drupal book but there's coverage of it.
Many thanks!
Comments
You could do it that way
Generally, if you are satisfied with the existing page but want to add content to a certain location on the page you can define a new region in the template and put the info in a block. The block configuration page will allow you to specify which pages the block shows up on. This is probably the simplest way and good for most cases.
Panels provides a whole new layout. The basic theme is still there but there is now a place where you can include all sorts of different content. The old nodes will still be there, and the panel will be blank until you add existing content to it.
Views is not necessary for either of these approaches, but it makes setting up anything beyond the most basic site doable.
CCK is good if you have specialized content with custom fields. It is an awesome thing but you may find you don't need it to begin.
HTH
US421 - many many thanks! It
US421 - many many thanks!
It sounds like bloack are what I need to explore.
This is for a different content type so I explore if I need views or not but you have saved me mucho time. Thanks.
I use the Panels, CCK, and
I use the Panels, CCK, and Views for my whole site.
I haven't found anything I can't do. And I've been able to do a pretty nice layout and theme just using panels and CSS. I've disabled blocks everywhere, as in Panels2 you can simply pull any blocks you make into panels anyways. Panels also has a drag and drop interface and minipanels for more intricate layouts. With Mini-Panels and clever views use you can pull off anything.
thanks. Can you point to
thanks. Can you point to any tutorials on doing it with panels, cck and views? I tried the video tutorial by Josh but it was hard to follow because of the vnc interruptions and broken sound.
Thanks.
Check Panels2 and views in
Check Panels2 and views in the handbook it will get you started.
check overriding user profiles and overriding node types.
you then make a view in views, then a view pane in panels and your all set...
I will read thru but I have
I will read thru but I have a couple of quick questions:
- are modules/panels the same as panels2? If not, please link
if I want to add a news story in a view in a section on a certain page, I:
- create the news_story content type in CCK
- create a view, selecting news_story type nodes
- create a panel and add that view to a panel
- create a page and add that panel to that page
Is that right?
That's pretty much it.
That's pretty much it. Between create view and create panel, you will want to create a view pane then create a panel-page and place the view pane.
And Panels2 is the latest version of panels.
krypt: I'm almost there.
krypt:
I'm almost there. When you say, "and place the view pane", does that mean place the view pane in the panel page I just created?
It sure does.
It sure does.
thanks!
thanks!