I'm not sure if this should go here on in calendar, panels or date issues so am posting it in all 3 (see http://drupal.org/node/395936 and http://drupal.org/node/395978).

I have a propblem on my site and have tested it with a fresh install of Drupal 6.10 with following modules installed:
Calendar 6.x-2.0 | Date 6.x-2.0 | Views 6.x-2.3 | Panels 6.x-2.0-alpha3 |Content Construction Kit (CCK) 6.x-2.1

I've also tested this with Panels 6.3x-3.0-alpha2.

The calendar page view http://localhost/calendar/ works fine until I place the calendar page view inside a panel pane.

The panel page URL is http://localhost/node/3 and I have inserted the calender page view into a pane on the panel page. The calendar shows the current month March. When I click on next the link takes me to http://localhost/node/3?=calendar/2009-04 but the calendar month displayed remains the same and displays March. Same if I click prev - the URL is http://localhost/node/3?=calendar/2009-02 but it displays Mar. It's not possible to move through the months to May, June etc.

Also links to Year, Day, Week etc do nothing.

Comments

karens’s picture

Status: Active » Fixed

You posted three copies of this issue in different places which I had to hunt down and close. Please don't do that. If you post in the wrong place it can be moved.

First of all, Panels 2 is not working at all and will not be fixed, as it plainly says on the Panels project page. Only Panels 3 is working. Second, the calendar navigation needs some information that is not automatically available so you need to do it with a PHP snippet that feeds the information it needs. The instructions on how to do things like this are available if you use the Advanced Help module, which has a section on how to embed date views. The instructions copied from Advanced Help are:

Embedding Views

Embed a date browser view anywhere using the format:

date_embed_view($view_name, $display_name, $settings, $args)

Settings are used to override some values of the view.

The primary setting that is useful here is a setting for 'block_identifier'. The view's block_identifier is used to control individual instances of regular and embedded views that contain date navigation so that they move separately or together. All views that use the same identifier will move together.
All views that use different identifiers will move independently. The identifier will show up in the url as a querystring, like node/275?mini=calendar/2008-10.

Examples:

<?php print date_embed_view('myview', 'page_1'); ?>
This will embed the first page display in the view 'myview'.
<?php print date_embed_view('myview', 'page_1', array('block_identifer' => 'embedded'), array('2008-W45')); ?>
This will embed the first page display of the view and use 'embedded' as an identifier, set to show the week view for week 45 of 2008.
<?php print date_embed_view('myview', 'block_1', array('block_identifier' => 'mini'), array('2008-07')); ?>
This will embed the first block view of the view and use 'mini' as an identifier, set to show the month view for July 2008.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

dgastudio’s picture

Version: 6.x-2.0 » 7.x-2.x-dev
Status: Closed (fixed) » Active

print date_embed_view('myview', 'page_1');

this function doesn't exist in d7?

karens’s picture

Version: 7.x-2.x-dev » 6.x-2.0
Status: Active » Closed (fixed)

Please don't reopen old closed issues and move them between versions. No that function does not work in D7 and everything else about D7 is different. The issue was saying browsing doesn't work in panels and that is fixed.