Panels

Events happening in the community are now at Drupal community events on www.drupal.org.

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.

mpdonadio's picture

Panel Pages Without Arguments?

OK, not sure if I am searching on the wrong things, but didn't turn up any info on this.

I have a Drupal 6 running latest stable of Panels 3.x and dependencies.

I have a Panel Page set up with a path like /foo/bar, and the page does not accept any arguments.

Is there a way to make a URL like /foo/bar/baz generate a 404 instead of rendering the same page as /foo/bar?

I suspect I can call page_manager_get_current_page() from the page proprocess, figure out which panel page I am on, and call drupal_not_found() as needed, but could get ugly on a big site with lots of panel pages.

Read more
googletorp's picture

Can you create related arguments with Panels and ctools?

I have a little challenge I'm hoping some of you can help me solve.

The setup is pretty simple, I have a panel page that take in two args nid og uid.
In a custom table containing uids nids and some custom data, I have a row for each paired uid and nid.

Now my problem is, that I would like to check if the nid/uid pair exist in the table and return 404 is not.

I was thinking that a custom argument plugin could do the trick, but it seems that they are isolated to a single argument.

Read more
OpenChimp's picture

Creating Style Base with CSS3 support

I have just discovered the style bases built into the Stylizer module, and am very excited about this. I am thinking that I would like to create a new style_base which builds panes with CSS3 styles. I realize that this will not be immediatly useful for some people because of the lack of IE support, but it would be super cool and would introduce a lot more people to the power of CSS standards which are supported by most browsers now.

Read more
Annie Rothenberg's picture

Is there a way to control the visibility of a pane by date?

Hi everyone,

I'm very new to this and appreciate any help. I'm struggling to understand contexts, selection rules, visibility, and how to use them all together. What I'd like to be able to do is control whether a pane appears in a panel based on the date of an event. If the event has already happened, I don't want the pane with that event node to appear any longer. I'd also like to be able to control when a pane appears. For instance, I'd like to be able to create a pane in advance, and set it to become visible on a specific date.

Any insight would be very helpful!

Thanks,
Annie

Read more
ajdiva03's picture

One Panel per Content Type

Hey Everyone,

I'm a relative newbie to the use of panels so I was wondering if there is any sort of step by step documentation as to how to create one panel per content type.

I feel like I've looked everywhere and tried everything, and obviously there is something that I am missing (maybe a module or permissions or something).

Thanks in advance.

Read more
jenifertucker's picture

Blank tabs being displayed - please help

I'm learning Panels and come across a display problem that I don't know how to fix. Can anyone advise?

I've managed to set up a set of horizontal tabs, but rather than them open in place within the panel, I want to link the title displayed in the tab to the actual node so that the page is opened in full.

I clicked on a cog and selected "Link the node title to the node" and yes it works.

However, what I now get is a blank tab in between each of the 6 tabs I want.

Anyone have any ideas?

Read more
jenlampton's picture

Training: Panels for site builders Oct 18 (free seats available!)

Start: 
2010-10-18 09:00 - 16:00 America/Los_Angeles
Event type: 
Training (free or commercial)

Join Chapter Three for a Drupal Training class on Panels on Monday October 18th. This class will be held at the CommerceGuys office, in Downtown San Francisco.

Free Seats:
We'll be giving away 10 free seats to the Panels training, by random drawing. Visit the Chapter Three training page to register.

Class Description:

Read more
sgb9809's picture

How to override node view with Panels 3

Hello,

I've been looking for information on how to override node view with a Panels 3. There is documentation with Panels 2, but the interface is different with Panels 3. I've found several other unanswered postings from other people looking for the same thing, so I'm wondering if someone here would be able to answer this for those of us who haven't figured this out. Thanks.

Read more
Lloyd's picture

Using a CCK Field in PHP Selection Rule

I've tried to use the code below to display a specific Panels Variant based upon a CCK field value on a text > select list field. So far it's not working. Do I need to add anything to Panels contexts to get something like this to work? Any other explanation?

$return = FALSE;
if( isset($contexts['argument_nid_1']->data->field_landing_page_type[0]['value']) ){
  if( $contexts['argument_nid_1']->data->field_landing_page_type[0]['value'] == 'Info Both' ){
    $return = TRUE;
  }
}
return $return;
Read more
edulterado's picture

Arguments and URL strings

Hi,

maybe this is a really silly thing, but I´ve trying to figure out how to accomplish this for a couple of days with no results.
I want a section in my site to have different subsections of the form

/main-section // it displays last content submitted for each sub-section. For each subsection the URL will be:

/main-section/subsection-x // and it contains a teaser of nodes for each subsection-X (x=1,2,3...). Finally I want the full view node to have the URL:

/main-section/subsection-x/node

Well, and this is my approach on how to implement it:

Read more
bdziewierz's picture

Adaptive layout for Panels.

Hi,

Recently I've created a grid based layout for Panels that features intelligent (well, kind of) adaptability. It renders the output based not only on how panes are layed out but also on how empty slots are distributed. It means that panes automatically expand to the right to fully occupy empty cells in the grid. Thanks to this behaviour very flexible auto-constructed layouts are possible.

The project is hosted on Github http://github.com/bdziewierz/Three-Four. Check it out if you're interested. Comments welcomed!

Read more
pmathur01's picture

Panels and Views

Hi,

I created a view as a block and I am using panels to display the view. Well what the panels displays is just the link to that view. Is there a way where I can add the view page directly in my panel. I am new to drupal so this must be silly but I am stuck..
Thanks,

Read more
itangalo's picture

Three quick screencasts for Panels 3.7/CTools 1.7

Joy to the world! Updates in both CTools and Panels!

I've made three quick screencasts to demonstrate some of the new features:
* Panels In-Place Editor: Rearrange, add and configure panes directly on the panel view page – no detours to the admin page necessary.

Read more
RobKoberg's picture

BUG? the In Place Editor does not use the latest jquery and jquery ui upgrade

Hi,

When a page loads that has the in place editor, the old jquery ui file names are used and they try to draw those old named files from modules/jquery_ui/jquery.ui/ui/minified e.g. ui.sortable.min.js rather than jquery.ui.sortable.js

Read more
Annakan's picture

Passing arguments to add form inside a panel

Hello

I am trying to avoid using "current user" and other contextual information that are plagued with subtles bugs and limitation.

So I wanted to pass explicite arguments to my add form inside a panel.

Is it possible to do that ?

That argument could be used to set a value in the form or whatever and I can to that in code, but first I need to be able to pass the argument to the add form and I can't find how to do that neither at the "add form" context creation nor when adding the form element to a "panel part" in a layout ...

Is there a way ? Am I missing something ?

Read more
jenifertucker's picture

Enabling Panels/Ctools broke Image galleries

I've found a problem after enabling Panels/Ctools. Has anyone else come across this?

The image galleries I have no longer display as they did previously. Instead of seeing a view of all the images as thumbnails (default image gallery view), I only see one thumbnail (the most recent published).

If I disable Panels/Ctools, the image galleries work as they should.

Any ideas?

Working with Drupal 6.16 and latest versions of Panels and Ctools.

Read more
amir simantov's picture

How to pass a string to a pane?

I have a pane holding a specific node. This node needs to get an argument (an arbitrary string). I cannot find a way to pass the string from the panel page to the pane.

Any help will be appreciated, thanks!

Read more
unt_user's picture

Displaying recent posts in Panels

Hello Everybody

I just started using panels. I got struck when I was trying to display recently posted content in the panels. I could not do that.
Can anyone please tell me how to display recently posted content in Panels?

Thanks in advance,
--Santosh

Read more
Subscribe with RSS Syndicate content

Panels

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: