Dear Developers!
I'm trying to use your brilliant module in a panels pane and separately as a standalone view in the same time. While using in the (as I know, not supported) way the links provided by the module broken. I was hardcoded the
"date_real_url" functions (last) force-view-url attribute to TRUE. Somehow like this:
Before:
$calendar_links[] = $base + array('title' => date_t('Year', 'datetime'), 'href' => date_real_url($view, 'year', NULL));
After:
$calendar_links[] = $base + array('title' => date_t('Year', 'datetime'), 'href' => date_real_url($view, 'year', NULL, TRUE));
I made these changes everywhere in the theme.inc file and seems the original usage also working fine. Is this a too great modification to add to the mainline? Is it disturbing something? I didn't managed to find such a place.
Could you solve my problem somehow else?
Thank you for your help!
Cheers,
Ivan Marton
Comments
Comment #1
dawehnerThis is my patch.
Once you allow to override the path from views you can override the path in panels directly and all is fine.
Comment #2
lelizondo commented@dereine Can you please elaborate more how you solve it? Did you create a Pane Display in Views and then add it to a Pane Region in a Panel? How did you configure the arguments and the URL?
Comment #3
dawehnerBasically i have a clone of the original calendar view as content-pane. There i allow to override the url.
Then i embed the view into the panel and override the url to node/%/events for example. Together with this patch it worked fine.
Comment #4
damienmckennaUnfortunately the D6 version of this module is no longer supported, but we appreciate the time you put into this. If this problem is relevant for D7 too, please reopen the issue. Thanks.