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.

laken's picture

Override panel title for specific content type?

On my D5 site I have a node-override panel and about a dozen content types running through it. In the Node ID configuration pop-up (in the Context tab) I have set the node's title as the page title (see screenshot.)

This works fine, but for one of my content types I want to configure a static page title - I don't want it to use the node's title as the page title. I can't find anywhere in the UI to do this - the Node ID configuration pop-up seems to be global for all content types.

Is there somewhere in the UI or in the API I can change the panel title just for a single content type?

Read more
Outlaw187's picture

Linking to older content

Hello,

I have a queston about Panels however I am not sure if this is the right place to do it. My problem is the following I am trying to make this site: http://test.verhalis.nl as you can see the video's are sorted in rows via panels. However there are more then 9 movies but it doesn't display a next button to go to older posts, is this possible? I don't want it to show more than 9 video's on one page but I do want to be able to scroll trough older posts.

Read more
laVera's picture

Term index node?

Is it possible replace a specific taxonomy term page with a custom (panels) node?

Like:
Content Type: albums
-pop
--britney spears
--cristina aguilera
-rock
--bob dylan
--the doors

and in one moment i want to create a page for dod dylan, with flash, panels, views and others silly things. But don't want to make custom page for the hole vocabularies, just for one term.

Conditional panels, blocks or in content code, are not serious options because don't provide full node features (keywords, title, internationalization, search result, etc).

Read more
wonder95's picture

Passing arguments into page and then into view

I'm working on a site where I have a pretty dynamic use of panels idea, and I'm having a problem implementing it.

Read more
laken's picture

Needs some help with View titles in a Panels page

I'm wrapping up a D5 Site using Panels 2, and I'm having 2 problems related to the titles of my views in Panel pages:

Problem 1:
I'm embedding a view which accepts arguments in a Panel page. This view also uses arguments in its title. The view title displays perfectly when accessing the raw view by its path, but when the view is embedded in the panel the title is displaying literal "%1" and "%2" for the arguments when they're not supplied. It's like Panels is messing up Views' intelligent handling of these titles.

Read more
socialnicheguru's picture

Bounty to fix exposed filter block in panel3 pages and organic group tabs for D6

I would like to see exposed filter block in panels pages using Views2 get fixed for Drupal 6.

I am willing to chip in to make it happen. ($75). If there is a developer who could do this and possibly use chipin to gather more support.

Currently exposed filter block works if
1. no panels
2. no views as tabs in organic group

but I would like to have it work in those two areas

  1. as tabs in an organic group
  2. with panels

So in essence, they should redirect to the correct page.

  1. exposed filter block in a view with path url node/%/foo and it is a tab

Create a view

Read more
dagomar's picture

Portfolio page with anchors

I want to create a portfolio page, which is basically a view with all portfolio nodes. I never want to display portfolio nodes on an own page. I came up with a concept for this, hope someone could confirm this would work and if its a good idea from an SEO point of view (for example). I also posted this question on the drupal forums, but i think this is a better place.

Anyway, this is the idea:

  1. I create a view to display all portfolio nodes.
  2. I create a panel page to override portfolio nodes.
  3. I put the view into the panel.
Read more
gdoteof's picture

Panels code sprint?

I have not heard anything about this, but here's hoping. I don't know if this group even applies to panels 3, but I would love to get a chance to talk to you guys (guy?) and help out in anyway I can

Read more
kirilius's picture

Can I have the same panel page path (node/%) with different displays for different content types?

I have two node types: A and B. Obviously they both have the same default path in Drupal, which is the generic "node/%".

I would like to override BOTH A and B with a panel page of its own. Obviously both panel pages will require the Node ID context and Panels allows me to specify for which content type I want the display overridden.

Read more
tegila's picture

Panel Styles

where can i find some documentation about how to create a new "Panel Styles" ?

i tried do that using the functions below in a file called: window.inc inside modules/panel/styles.
But, nothing happen. I also tried remove $output = theme('panels_pane', $content, $pane, $display); to see something wrong happen, but nothing.

function panels_window_panels_styles() {
  return array(
    'window' => array(
      'title' => t('Window'),
      'description' => t('Create a window style'),
      'render pane' => 'panels_window_style_render_pane',
    ),
  );
}

function theme_panels_window_style_render_pane($content, $pane, $display) {
  $output = theme('panels_pane', $content, $pane, $display);

  if (!$output) {
    return;
  }

  return render_window_box($content);
}

function render_window_box($content)
{
return <<< EOF
    <div class="window">
        $content
    </div>
EOF;
}
Read more
Chris Charlton's picture

Advanced Drupal Views with Victor Kane & Chris Charlton

Start: 
2009-03-15 10:00 - 13:30 America/Los_Angeles
Organizers: 
Event type: 
Training (free or commercial)

Victor Kane & Chris Charlton teach Advanced Drupal Views in Venice, CA.

LA Drupal resident members get a special $50 off (email for bulk ticket pricing).

Learn all the new concepts in the Views 2 module for Drupal, inside and out, even some object oriented design details to take back to work.

Learn about the new architecture in Views 2, learn Relationships, the new user interface, and become a master of the new multiple Display configurations.

TICKETS ON SALE NOW. Hurry, tickets will go fast! http://drupal-la-training-2009-march-15.eventbrite.com/

This workshop shows how you'll get the most out of display options like blocks and pages, plus how to theme your views with PHP templates. Take away masterful tips like how to embed views (meaning views within views), and some magical views that only a developer can love.

Read more
tegila's picture

panel flexible size does not really working

When i try to put 100% width to any column of a panel pages, they put aways something near 99, 99.5, 99.9.
Anybody knows why and where can i go to change this?

I think that are happen because some wrong calculation inside module.

Some time this can appear insignificant but are making all my layout crash.

Wrong Generated CSS:

div.panel-flexible div.panel-row-1 div.panel-col-1 { width: 99%; }

So.. i have tried override css tag but the generated css are put inside the main layout file. So, i cant do this.(i think)

ty in advance

Read more
rfay's picture

Panels Plugin Example - Module and Discussion

I had to work through the Panels Plugin API so I created a Panels Plugin Example module which shows how a developer can create several of the plugin types (content_type, argument, context, and relationship, so far).

I would appreciate any suggestions/corrections/patches/comments and discussion here. Since I'm a newbie to plugins, I just fought my way through it to make it work, and I know that it can be improved.

Read more
katbailey's picture

Panels Tabs

I'm hoping to start a discussion on the subject of tabbed panel content because the Panels Tabs module is looking for a new maintainer and has not been ported to D6, and I'm getting requests in the Quick Tabs issue queue about integration with Panels (see for example #353173: Absorb panels tabs module? and panels 2 as tab content). I don't have a huge amount of experience with Panels myself and am not sure what form Panels integration in Quick Tabs should take if it proved to be something worth starting.

Read more
minus's picture

Panels 2 - drupal 6

Hi there :)

I'm just very curious. I really want to use Panels 2 for a project that I am working on, but at the panels-project page @ drupal.org it says "should NOT be run on production sites". When I read this I think "this is not ready at all and I have to find another solution". I have used the 6.x-2.0-alpha3 module since it came out (on a dev site), for my purpose it works very well. I am using the Panel Pages function and printing the nodes with the node override function.

Do you use panels on production sites? Can I use it? even if the project page says NO.

Tnx! :)

Read more

Panels 3 / CTools TODO list:

This is a rough TODO list generated from my personal notes regarding tasks that remain to be done for Panels 3 to complete the alpha stage. This does not include the obvious tasks of find/fix bugs/trim the issue queue.

Delegator tasks

<

ul>

  • We have node view and node edit; we do not have taxonomy term. This is easy except we need to be aware that we also override feeds, so we need to be sure there's an option to redirect feeds appropriately as well as handle the taxonomy page
  • Read more
    laken's picture

    Need help with node/add panel override and CAPTCHA

    While I've been using Panels 2 extensively, I've only just started with overriding the node/add form and have run into a bit of trouble.

    The use case is simple: we have a Volunteer node type and want anon users to be able to submit this form and create unpublished nodes for later admin review. We use panels for layout and sidebars for all the user-facing pages on the site, so we wanted this form to be in a panel as well.

    Read more
    dorien's picture

    Book Launch. Drupal 6: Ultimate Community Site Guide

    UPDATE

    The book has been updated to the latest modules and is also available as a paperback book on Amazon. The ebook has also been updated and is still available here.

    --
    I thought you might be interested in the new ebook that has been published:

    Drupal 6: Ultimate Community Site Guide.
    With notes for Drupal 5
    Now everyone can set up a community.

    ISBN 978-2-8399-0490-2

    Read more
    ttoman's picture

    How to controll a single pane visibility in panels2

    I stopped on this one and I'd really need some help or hint:

    I created module »custom_panel.module« with this short test code:

    <?php
    function custom_panel_panels_pane_content_alter($content, $pane, $args, $context)
    {
      $content->content = 'some';
      return $content;
    }

    Of course all panes on page get »some« content.
    I'd like control visibility to just one or two panes on a page with if loop in program code. Let's say:

    If (some condition) {
      Show me »pane1« and hide all others;
    }
    Read more
    joshk's picture

    Keeping Some Regions around for Panels that use the "disable drupal blocks" setting

    I (heart) panels, and my clients are crazy for them. It's simply the most intuitive way to handle content layout.

    All of the recent projects I've worked on have been designed around making panels fit in easily. One of the tricks I've discovered is a simple technique to use in template.php for keeping some block regions around (e.g. regions in the header/footer area, useful for nav, banner ads, etc) even when using the "Disable Drupal blocks/regions" checkbox from the Advanced pane.

    Here's the code:

    <?php
       
    // Retain some block regions even if cleared by panels...
       
    $save_regions = array('header', 'bottom_banner', 'footerblocks');
        foreach(
    $save_regions as $id) {
          if (
    $vars[$id] == '') {
           
    $vars[$id] = theme('blocks', $id);
          }
        }
       
    // special handling for $footer_message
       
    if ($vars['regions']['footer'] == '') {
         
    $vars['footer_message'] .= "\n". theme('blocks', 'footer');
        }
    ?>

    Now, a little explanation and some questions.

    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: