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.

passing arguments from one panel pane to panel page with multiple panes

private
group: Panels
macuhail - Thu, 2009-06-25 22:15

I am attempting to create a page with panels where some of the panels will contain links to other pages with multiple panels.

Here is an example. Suppose there is a CCK content type called "Dogs". There is a content_taxonomy field named "breed" and a additional content_taxonomy fields for "things that are good about the breed" and "things that are bad".

Panel page to home page

jwells's picture
private
group: Panels
jwells - Thu, 2009-06-25 13:11

Can Panel pages be sent to home page?

I see the setting in Admin >> Content type, but not in the Panel Page I just created.

thanks


Saving complex flexible panel layouts

sapelzin's picture
private
group: Panels
sapelzin - Wed, 2009-06-24 21:54

I've created a complex panel layout via the flexible layout. Is there a way to save this off to use again both on this site and other sites?

thank you


How can I retrieve the context from a panel to a custom block placed in it ? (with panels 3)

joss's picture
private
group: Panels
joss - Wed, 2009-06-24 08:13

I don't figure out how to retrieve the panel's context to modifie the block's content.
Maybe would I better to make a new pane instead a new block ?
It's would be great if I could choose the context and pass arguments form the block setting in panel, like with a view.

Let's imagine I've made a custom block in a custom module like this :


Workflow information in Panels

private
groups: Panels · Workflow
crea@drupal.org - Sat, 2009-06-13 16:44

I searched for this kind of features, but haven't found any suitable solutions. There is need to display workflow state information and instructions at node page. Ofcourse, there is wonderful Rules module, and I could use it's "show system message" action. Hovewer I find using Rules with Panels is too embarassing: event "content is going to be viewed" is not fired at all, and "user is going to view page" has too few things to work with. To use Rules for this, one would have to use too many PHP, which I think is killing the purpose of Rules

How to to set a panel page's title to the title of an embedded view?

laken's picture
private
group: Panels
laken - Thu, 2009-06-11 00:43

Using latest Panels 5.x-2.x-dev

I have a panel page where the main content area is an embedded View. This view takes arguments which become part of its title, so the title changes dynamically (it's a year/month archive drill-down view). (See screenshot attached)

I want to set the title of the overall panel page to the embedded view's title. Anyone know how to do this? If it can't be done through the UI (which I suspect), please suggest code approaches.

This forum seems pretty quiet, hoping some of the experts are still out there!


Override panel title for specific content type?

laken's picture
private
group: Panels
laken - Wed, 2009-05-20 17:40

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?


Linking to older content

private
group: Panels
Outlaw187 - Fri, 2009-05-08 09:16

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.

Term index node?

private
groups: Panels · Taxonomy
nahuel - Fri, 2009-05-08 00:26

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).

Passing arguments into page and then into view

Wonder95's picture
private
group: Panels
Wonder95 - Mon, 2009-05-04 05:45

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


Needs some help with View titles in a Panels page

laken's picture
private
group: Panels
laken - Tue, 2009-04-28 20:50

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.


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

private
groups: Bay Area · Panels
activelyOUT - Sun, 2009-04-26 16:29

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

Portfolio page with anchors

public
group: Panels
dagomar - Sat, 2009-03-14 18:32

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.

Panels code sprint?

public
group: Panels
gdoteof - Fri, 2009-03-06 02:42

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

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

public
group: Panels
kirilius - Thu, 2009-02-26 19:09

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.

Panel Styles

public
group: Panels
tegila - Sun, 2009-02-22 16:35

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;
}

Advanced Drupal Views with Victor Kane & Chris Charlton

Chris Charlton's picture
public
Chris Charlton - Fri, 2009-02-20 07:23
Start: 
2009-03-15 10:00 - 13:30 America/Los_Angeles

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.


panel flexible size does not really working

public
group: Panels
tegila - Thu, 2009-02-19 03:13

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

Panels Plugin Example - Module and Discussion

public
group: Panels
rfay - Wed, 2009-02-18 11:35

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.

Panels Tabs

katbailey's picture
public
group: Panels
katbailey - Fri, 2009-02-06 01:55

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.


Panels 2 - drupal 6

minus's picture
public
group: Panels
minus - Tue, 2009-02-03 12:22

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! :)


Panels 3 / CTools TODO list:

public
group: Panels

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
  • Need help with node/add panel override and CAPTCHA

    laken's picture
    public
    group: Panels
    laken - Thu, 2009-01-29 05:49

    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.


    How to controll a single pane visibility in panels2

    public
    group: Panels
    ttoman - Wed, 2009-01-21 20:17

    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;
    }

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

    joshk's picture
    public
    groups: Drupal Dojo · Panels
    joshk - Fri, 2009-01-02 20:36

    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.


    How can I override the url of a view pane

    public
    group: Panels
    activelyOUT - Tue, 2008-12-23 22:53

    I am using a panel to override a page in OG

    node/%/event

    my view argument for event listings is http://mysite.com/events/1/2/3/4/all/6

    my panel page url
    http://mysite.com/node/555/allevents/1/2/3/4/all/6

    Panel page context: NID, relationship: Group

    If I directly add the view to the pane:
    1. no context for any of the arguments (I could not get it to work when using legacy view to import a view into a pane if the panel page has context and I tried to set one of the view arguments to that context.
    2. arguments: @1/@2/@3/@4/%1/@6

    2 Arguments

    public
    group: Panels
    clarkburbidge - Tue, 2008-12-23 05:52

    d6.8 v6x22 p6x20
    I have a 2 views that each have only a default display. The views yield the content I desire when I pass them each the same two arguments. I want to display these two views in a panel. The panel url is to be /fightnight/arg1/fight/arg2. I have the following settings on my panel: settings > path = fightnight/%/fight/%, content configure defaults view > send args = checked, args = %1/%2, override url = fightnight/%/fight/%.

    I'm not getting the views to come up when I use the URL"fightnight/%/fight/%" where the two args are the ones that make the views work.

    Panels, profiles and Tabs

    public
    group: Panels
    ccdoss - Fri, 2008-12-19 01:01

    I posted this question in the Profiles as Nodes group, but thought it may be appropriate here as well.
    Basically, I'd like to have a fairly complicated profile. I'd like to combine the advanced profile kit's panels with nodeprofile, and have this linked to the user account. Basically, I want 4 things:
    1. When users go to www.example.com/profiles/member-name, it brings up member-name's public profile, which of course is in a panel page.

    Drupal 7 usability improvements part II : Blocks

    Noyz's picture
    public
    groups: Usability · Panels
    Noyz - Wed, 2008-12-17 14:43

    I'm in the middle of trying to figure out the right experience for installing and using Acquia's hosted search platform. In doing so, I had to think about how to build pages that were Solr enabled. In parallel, I've been thinking about a better way work with blocks. The two topics were fairly connected, so I started working on some concepts.


    How to change length of teaser in a mini panel

    public
    group: Panels
    macuhail - Mon, 2008-12-01 22:15

    How do I change the length of a node teaser in a mini panel. I have created the teaser by checking the teaser option under the "configure node content" screen, but I need to change the length of the teaser.

    Thanks for any suggestions.

    How do I create a node teaser in a mini panel

    public
    group: Panels
    macuhail - Sun, 2008-11-30 02:28

    I am new to panels so this may be a very obvious and easily answered question. But I have not been able to find any related info.

    We have a community newspaper where any registered user can contribute stories. We created a mini panel to go into a block that will hold a "top story". The top story will be hand selected via the mini panel context.

    We can get this action to work, but the block shows the entire story. We want the block/mini panel to show a "teaser" of a part of the story then a "read more" link at the bottom that will take the user to the full story.

    Panels 2 + multiple group node types

    bflora's picture
    public
    group: Panels
    bflora - Sat, 2008-11-15 04:51

    I've got a panel page set up for my drupal groups. It works fine. The path for it on the panel settings page is node/%

    When I go to my groups, which are housed using a node type called "group", i get the panel page.

    What I want to do now is create another group node type and have it use a different panel page. Is this possible? And if so, how? I assume it has something to do with contexts, which I've tried and tried to figure out but can't. Any help on creating a new panel page for this new group node type would be appreciated.


    Maintainer needed for CCK / Panels integration

    public
    yched@drupal.org - Mon, 2008-11-03 14:25

    CCK holding many (most ?) node data on many sites, the integration of CCK with other big-named 3rd party modules is important to allow rich features across the ecosystem. However, it's not really possible for Karen and I to get intimate enough with each one of them to implement, debug and enrich integration with 3rd party code efficiently.

    Can someone help with CCK Fields under D6?

    public
    group: Panels
    majestik - Fri, 2008-10-24 03:15

    Hi,

    I'm trying to add CCK custom fields on to panel in D6.6 without much luck. I'm guessing this might not be implemented yet, but I haven't been able to find any define answer despite my searching... Best I could see was a support request someone put with the same question...

    http://drupal.org/node/323681

    Any thoughts? Is there another way?

    How to create a "both sidebars on the right" flexibe panel layout?

    public
    group: Panels
    thamas@drupal.org - Sun, 2008-10-19 13:17

    Does someone the code of it for panels 5.x 2 ? Or could someone give instructions?

    Latest Date Mod and Panels 2

    asugene's picture
    public
    group: Panels
    asugene - Thu, 2008-10-16 23:27

    It appears the latest Date 5.x-2.3 module has a minor conflict when using the "Text Field with jquery pop-up calendar" within Panels 2. It doesn't work at first, you will need to refresh the page to get it to work.


    Can't add content to panels (content popups disappear when + sign button is clicked)

    bflora's picture
    public
    group: Panels
    bflora - Thu, 2008-10-16 01:32

    I recently moved to a new server and now I can't add or edit content within panels. The modal popup windows have stopped functioning.

    Here's what happens:

    1. I go to the content tab of a panel and click a Plus sign button to add some content to a panel.
    2. The popular appears, empty for about 2 seconds.
    3. It disappears.

    None of the form info that's supposed to show up in there shows up in there.

    What could be causing this and how do I fix it? Thanks.


    Panels 3 UI Design Thread

    merlinofchaos's picture
    public
    group: Panels
    merlinofchaos - Tue, 2008-10-14 15:31

    This is a working thread to discuss the (still far in the future) Panels 3 UI. I want to get work started on ideas to improve the existing UI, and for the moment we are allowed to go pie in the sky and suggest features. Please assume that pie in the sky features will eventually be shot down, though, but it's on the table because sometimes pie in the sky can really work or be made to work.


    A error when i create panel page( i use panel 2 + drupal 5.x)

    cuxi's picture
    public
    group: Panels
    cuxi - Tue, 2008-10-07 13:24

    when i create a panel page for website. there is error:
    * user warning: Unknown column 'title' in 'field list' query: INSERT INTO panels_display (did, layout, layout_settings, panel_settings, cache, title, hide_title) VALUES (7, 'twocol_stacked', 'N;', 'N;', 'N;', '', 0) in ../includes/database.mysql.inc on line 172.


    Create a panel layout user

    cuxi's picture
    public
    group: Panels
    cuxi - Tue, 2008-09-30 01:12

    Hi, all. I use drupal 5.x and modules panel 2. I have a question:
    When user register on my website . Every user have a field Picture.
    I want create a panel two colum layout put field picture and other field of user in two column. A column is male User. A column is female. How make it?


    Getting Group Detail block to appear in Panel on non-group node

    public
    group: Panels
    west_d_r - Mon, 2008-09-15 22:23

    Hopefully someone else has encountered this. I've used panels to take over a page generated by the Calendar Module. The Calendar view inserts the node ID as an argument into the url, (1646 below).

    http://mysite.com/group/1646/calendar/2008/9/15

    However, the organic Groups panes don't recognize this argument, because
    1) You can't insert them unless you restrict the Panel Page to a "Group enable" content type
    2) The Calendar URL that I'm taking over is not a node, so it can't find the ID.

    Passing Arguments to the Calendar with OG, Panels 2

    public
    group: Panels
    west_d_r - Sat, 2008-09-13 06:55

    Hi all,
    I'm using Calendars (version "5.x-2.3"), Panels 2 (version = "5.x-2.0-rc1a"), Organic Groups (version = "5.x-2.0-rc1a"), and I'm attempting to create a calendar for each group.

    Unfortunately, the excellent guide here http://vineyardvoice.org/files/how_tos/groups_walkthrough/index.html is slightly out of date now, and I can't find anyway of passing the needed arguments through to the calendar. The views pane seems to cause the Calendar to select the current node ID as the date argument, even with the view argument handling code in place.

    Panels 2 and FCKEditor

    public
    group: Panels
    glewe - Mon, 2008-09-01 18:44

    Hi all,
    I started playing with Panels 2 and I like it. However, I have FCKEditor installed but it is not loaded when editing the content of a panel. Looking at the page source of the editing page shows that no fckeditor js files are loaded. What do I have to do to use FCKEditor with panels?
    Best regards,
    George

    YUI 3 with Draggable Portal example - Ideas for Panels 3

    MacRonin@drupal.org's picture
    public
    group: Panels
    MacRonin@drupal.org - Sun, 2008-08-31 23:43

    I know that work is still progressing on Panels 2 but I also saw a call for ideas for Panels 3. So with that in mind I thought I'd point to some info I saw over on Yahoo's YUI blog. It's only in preview release but one of the example's looks like it may have some nice functionality that could be borrowed.

    Drag & Drop Utility: Portal Style Example
    http://developer.yahoo.com/yui/3/examples/dd/portal-drag.html

    A Closer Look at YUI 3.0 PR 1: Dav Glass’s Draggable Portal Example
    http://yuiblog.com/blog/2008/08/15/portal-example/


    Multiple Value CCK Field as Context Relationship

    failedvagabond@drupal.org's picture
    public
    group: Panels
    failedvagabond@... - Tue, 2008-08-26 19:50

    Hi.

    On a panels_page, I'm trying to pass the values of a Nodereference CCK field with multiple values to a panel_view, using a Relationship in the context system.

    The nodereference relationship only seems to support passing the first value to the view. Looking at other relationships (term_from_node, user_from_node, etc) they all seem to pass only one object.


    Contributed Modules Category

    supalogix's picture
    public
    group: Panels
    supalogix - Sat, 2008-08-23 08:53

    Hi. Sorry if this question is really basic, but I couldn't find the answer anywhere on the web.

    When using panels 2 to add content to a pane, the user is presented with a couple of categories (ie. Custom, Node Context, Term Context, etc ...). One of these categories is labeled "Contributed Modules". Could somone explain to me why this is here? How exactly do you use this when working with panels 2?

    I've also noticed that when I create a view and provide it as a block, the view appear under the "Contributed Modules" Category. Why does it work this way?


    mini panels

    public
    group: Panels

    I'm using Drupal 5.9 and mini panels 5.x-2.0-rc1a. And all the mini panels display in the incorrect place. When I add the node to them it says they're correct. But display in other mini panel blocks any idea whats causing this? It was working and I've checked the database also and it has all the correct information? I'm at a lose???

    adding panes dynamicly

    public
    group: Panels
    avior@drupal.org - Mon, 2008-08-11 21:19

    Hi
    Is it possible to add panes dynamically to a panel page by code ?

    Avior

    Panels and 404

    public
    group: Panels
    escoles - Sun, 2008-08-10 21:38

    I'm using Panels 2 on a site that I'm working on right now, and I've discovered that paths to non-existent pages that begin with the URL of the panel page do not produce a 404.

    For example, let's say that this is a page that doesn't exist:

    [1] http://example.com/melvin

    If I go to that page, I get a 404 Page Not Found response code, and a 404 page is displayed.

    Let's say I have a panel page with this URL:

    [2] http://example.com/panel1

    Now let's say I try to browse to this URL:

    [3] http://example.com/panel1/melvin

    When to use Legacy views and Views panes

    public
    group: Panels
    thamas@drupal.org - Thu, 2008-07-17 14:33

    It is not clear to a new panels 2 user when to use legacy views and when to use views pane, what is the difference, how to use them etc. I think there should be something about these in the panels 2 tutorilas.

    It seems to me that views panes offer more options - but I'm not sure.

    Would someone who is experienced write a tutorial about it?

    Thank you very much!

    (I do not wanna be too brash, but I had a support request: http://drupal.org/node/282897 - maybe a detailed answer to this could be the illustration the answer of the above questions...)

    Syndicate content