Panels 2

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
kenyan's picture

Panels, Openpublish and custom frontpages

I am using OP 2.0.
I basically do not mind the stock OP theme. But I have absolutely no use for content regions that will not collapse when empty for one and I would prefer a slightly different layout.
So I figured that instead of going the subtheme way ( I lack the skills), I would simply create a new Panel page, set to be my homepage, disable the frontpage context (it has its own idea of regions as far as I am concerned), load content just the way I want and .......
Well, not voila!

Read more
laken's picture

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

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!

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

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
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
SocialNicheGuru's picture

How can I override the url of a view pane

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

Read more
merlinofchaos's picture

Panels 3 UI Design Thread

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.

Read more
west_d_r's picture

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

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.

Read more
thamas's picture

When to use Legacy views and Views panes

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

Read more
Manuel Garcia's picture

Is there a way to get the context argument to a custom content pane?

Hi all,

I am in a bit of a dead end here, first a brief description of our case:
2 taxonomies: artist and album
4 content types: artist, album, song, and video pulling from those taxonomies.
node overriden for all through panels2
context puling arguments for taxonomy IDs on those nodes, from both vocabularies, that drive all views panes.

This all works great (got to love panels2), but there is one piece I cant seem to get working:

I aim to have a pane on artist node overrides, that will have a flashplayer, with all videos tagged with the same artist term id, as a playlist.

Read more
Subscribe with RSS Syndicate content