开发者

set up views using panels in drupal

How do i set up 开发者_C百科a view to show up in my drupal panel. I have the view created. I have assigned it to the panel. However what do i put in under the "context type" ?


I'm not sure what you mean when you say you "assigned" your view to the panel. In the Panel editing screen you should see a section labelled "Content" just above "Layouts". The content screen is where you select which Views to add to your panel.

Regarding, what a "context" is, in Panels terminology, it's a wrapper around significant objects that your panels are aware about and they allow you to show your panels in different ways, ie contexts. For example, I needed to pass arguments to my Panel so I had to add each one as a context.

If you have a few minutes I would recommend you go through this intro video on Panels.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜