Panels

Panels 2 is a module that uses drag & drop to add content to layouts. It is designed as an API so that modules can use these displays to customize their own areas, and we're working toward fully integrating this solution into Drupal 7.

yeeloon's picture

Artist & Albums On The Same Page

Hi all,

I'm very new on this applying Panels to the Drupal CMS.

So, right here, I'm trying to accomplish something like http://musicbox.sonybmg.com/artists/alicia-keys or http://popsugar.com/celebrity/Jessica_Alba. I'm sure Panels can do something similar, but I just don't know how exactly to achieve it.

To achieve a simpler version, I have created two different content types: Artist and Album.

I've also created a new category called Artist which points to the Artist and Album types. I've checked it as:
Hierarchy: Single
Related Terms
Free Tagging.

Then, I goto:

Read more
amatlis's picture

What are the main features of Panels that cannot be accomplished with Views and Blocks?

Hi, I apologize in advance if this question is posted in the incorrect place. I am new to Drupal and facing a steep learning curve. I'm trying to focus my learning so that I can more quickly start implementing a social networking site for dancers (salsa, swing, ballroom, etc). I have read a lot of great things about Panels, and I am not sure whether to focus my limited free time on learning everything about Panels or just stick to learning Views.

Read more
gustav's picture

What are the future plans for integration of Panels and MySite modules?

Both the Panels and the MySite module provide a mechanism and an interface for creating pages with content blocks pulled from various sources. The main difference between the two is that Panels is aimed at the site administrator and MySite is aimed at the individual user. Compared to the complex functionality that both these modules provide, this distinction seems tiny.

Read more
bobk's picture

Questions with contexts (node add form)

For the life of me, I can't get the settings right for the node add form context setting for panels.
The tutorial for using the node edit form context is great, so thought it would be similar to set up the node add
context.

The closest I get is to having the pane return:

Form
Form goes here.

Looking through the panels/content_types/form.inc include, I found the following function (plus my var_dump)

function panels_content_form($conf, $panel_args, &$context) {
$block->module = 'form';
var_dump($context);
if (isset($context->form)) {

Read more
kirilius's picture

Having view pagers in a panel?

Hi there,

I am stuck on a seemingly no-brainer problem here. Yet I can't find a solution already half a day. In short I cannot get a view to show it's pager inside a Panel.

I have a view, which has the "Use pager" checked and "Items to display" set to 12. I have used the same settings under the Views Panels configuration (http://mysite/admin/panels/views). My "view type" is set to Page.
When the view is displayed alone, it shows its pager and I can browse through the pages if there are more than 12 nodes in the view.

Read more
kirilius's picture

How to set the panel's title dynamically?

I need to display a panel in the context of a node and I need that panel to dynamically get its title from the node's context.

How can I do this?

kirilius's picture

How to display a Panel Page as a tab for a specific node type?

I posted this as a support request but this group may be a better place for it.

I have just installed a fresh Drupal 5.6 and Panels 2 beta 2.

I have a custom node type called Destination. My goal is to add some content related to each Destination node as a separate tab in the main Destination node display.

Normally after viewing a node, I would see the two default tabs:
View | Edit
I just want to add another one, say called "Test Panel", so that when I am looking at a Destination node, I'll have 3 tabs:
View | Edit | Test Panel

Read more
birdmanx35's picture

Panels 2 Screencast

Hello, all. I've just created the node for a screencast that I was to do for a GHOP task. The link can be found at: http://drupal.org/node/210208.

Thanks very much!

metals83's picture

Ability to Drag and Drop Blocks

Hi,
I am trying to implement a feature for users to rearrange the existing blocks on the home page (netvibes way http://www.netvibes.com/ ).
Users with any role anonymous/authentic can rearrange the blocks to customize the home page but only authentic user's customization will be saved.

Read more

Overriding the node edit form

Panels 2 allows you to override the Edit form of a node. The advantage is clear for developers and non-developers as well, as placing difference blocks in different places is all made through an easy to use UI.

Let's override the Edit form of all the story nodes and divide it into two columns. On the left will place the content form, and on the right the node comments.

  1. In the panel settings 'Add' a 'Two Column' panel.
  2. Panel name = Override node edit
  3. path = node/%/edit
  4. Click 'next'
Read more

Panels 2 API Documentation

This WIKI is currently a placeholder for Panels 2 API documentation.

proviso: schuyler1d is just putting some documentation here while I peruse the code. It could be all wrong.

Read more

Suggestions for Panels UI

Attaching some thoughts on how to improve the organisation and layout of the panels administration pages. I started pasting this together before I coud see that the img tag is allowed in wiki pages. Let me know if you'd like a certain screenshot to be instantly visible here. I have an .ODT of this document as well but that's bigger than the 1MB limit for attachments here.

Read more

Panels 2 documentation

Help brainstorm and or volunteer to help out with Panels 2 documentation.

Below is in an initial outline that is based on looking at Views documentation as an example, talking to merlinofchaos, and pondering what might be helpful. Constructive comments, additions, offers to help do specific sections are welcome and encouraged.

I. Panels 2 documentation
+Top level: brief overview of Panels 2

  Sub-sections

  • Panels basic options
  • Definitions
  • Panels displays
  • Panel pages
  • Panel nodes
  • Mini panels
  • Panels Plugins (See the demo module at Panels Plugin Example module
    • Argument Plugins
    • Context Plugins
    • Relationship Plugins
    • Content_type Plugins

II. Panels 2 Theming

III. Panels 2 tutorials

Amitaibu's picture

Node decorator functionality

I think the CCk Blocks module can provide a possible work around in order to get the Node decorator functionality.

olav's picture

Best way to display a node detail page with panels for my own content type?

In case I want my detail page ($page=1) at /node/123 of my own content type to display in a panel - how would I do this?

Read more
olav's picture

Question: Start embedded view at offset n

Is there an easy way to start an embedded view in panels2 at a certain offset, other than writing my own module and setting $view->offset from the panel arguments in my implementation of hook_views_pre_query?

For a news site, I want the first article to look different and the layout prevents me from just formatting the first list item differently. Instead, I want to have two panes where the first one shows only the first item, the other pane shows items starting from the second one.

Cheers,
Olav

agentrickard's picture

Content / Context API

I just proposed this session for Barcelona. Hope it makes sense.

Looking deeply at the MySite / Panels integration question, I think what we need is a unified abstraction API that lets modules find, collect, render, and display data in multiple contexts.

Working on a unified API might be the best direction. Take a look at the session proposal and this brief overview.

olav's picture

Integration of panels with taxonomy_menu - sort of

For a current project, I am using panel pages, integrated with menus created from a taxonomy hierarchy. For this, I have done a mashup module of taxonomy_menu, taxonomy_assoc - which in my case associates a panel page with a taxononomy term - and panel pages. The code for the resulting module is attached to the slides of my presentation at FrOSCon in Sankt Augustin today.

Read more
frank75's picture

Ajax panels

Add the possibility to refresh a content panel with a timer with ajax.
Ho is possible extending the content panels with autorefresh via ajax for you?

frank75's picture

Caching panels

Hi,
in my site i have used block cache with panels for caching tabs panel.
First i have created mini panels with tabs (last items,more view,more voted) for any contents (news,events...) .
After i have added this mini panels in panel page in home using the block cache version for caching it.

My ideas is of add cache capacibility for any type of contents in panels (view,block,nodes and custom contents) with the same options in block cache:

-cache per user
-cache per page
-cache time limit
-cache where a node is creatred,updated,deleted
-cache when login/logut

what you think?

Read more
Subscribe with RSS Syndicate content