Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I've searched high & low on Google & DO for this, and I can't find the answer.
Does the Calendar Popup module exist for D7? If so, what is its status and is there documentation?
Within D6, it will show itself in the Date/Time fieldset within admin/build/modules. However, I cannot find this in the Drupal 7 versions of the module.
Am I being stupid? Am I missing something completely obvious? Any help is appreciated!!
Comment | File | Size | Author |
---|---|---|---|
#2 | jcalendar.zip | 10.16 KB | agill |
#2 | jcalendarpopup.png | 8.86 KB | agill |
Comments
Comment #1
KarenS CreditAttribution: KarenS commentedNot at this time. If someone wants to attempt a port I'll take a look, but it's a low priority compared to getting everything else working.
Comment #2
agill CreditAttribution: agill commentedHello,
Yesterday i gave it a try and ported the jcalendar module
to the point where the popup is showing again.
However there is still a problem with
not showing from and to date info in the popup( see attached screenshot).
I have also attached the current working version i am currently using, it
could serve as a starting point to make an official version of calendar popup module for D7.
The error as can be seen on the screenshot is, that not all the fields are rendered.
The problem is with node_view function not properly filling the datetime field values
into the renderable array, maybe someone else knows the solution to the prob.
Greetings,
Andreas
Comment #3
zincdesign CreditAttribution: zincdesign commentedSubscribing
Comment #4
KarenS CreditAttribution: KarenS commentedAll new working is going to the 7.3 branch now. This is a low priority, but after other things are working we might use this patch to try to get this functionality added back.
Comment #5
shark CreditAttribution: shark commentedsubscribing
Comment #6
cjamesrun CreditAttribution: cjamesrun commentedHas there been any progress on this. I don't see anything in the .dev builds for this .. did I miss it?
Comment #7
Poieo CreditAttribution: Poieo commentedFor those interested, you can create a similar functionality using a colorbox trigger on the Title field, then placing the date field and body inside the colorbox popup.
Comment #8
woodhome CreditAttribution: woodhome commentedCould you point me to a more detailed description of how to implement the approach in #7? I've taken a stab at it but seem to be missing something.
Comment #9
Poieo CreditAttribution: Poieo commented@woodhome - Here is an export of my modified view. This is probably the easiest way to get you the info you're looking for.
Comment #10
AKN_39 CreditAttribution: AKN_39 commentedPoieo: I have successfully imported your View but I cannot get it to trigger a Colorbox popup for a calendar entry. A URL is generated:
http://localhost/testsite/?width=400px&height=200px&inline=true#colorbox...
but it links to the site home page. I am pretty sure Colorbox is installed, as the Colorbox Trigger appears as an option in the view and popup windows are generated in other situations e.g. inline images in a page.
Do you have any suggenstions?
Thanks. . .
Tony N.
Comment #11
Poieo CreditAttribution: Poieo commented@AKN_39: Here is the same view without the state and city fields. I'm not sure what's wrong with your site as I just tested this again with the latest version of all modules involved and it still works.
Can you post an export of your view?
Comment #12
AKN_39 CreditAttribution: AKN_39 commentedHi Poieo: Thanks for getting back to me on this. I tried your revised View and I get the same results. For testing purposes, I had modified my Event Content Type to include a City and State field so that it would match your original View, and the View does import without error. I have not used Colorbox before, but I'm thinking maybe the error is in a Colorbox parameter or a setting somewhere else in Drupal that I am missing, rather than in the View itself. If I create a View from scratch and set the Colorbox trigger, it does the same thing. I can post the View back if you like, but I am running it unaltered, so it should be the same as the one you provided.
Does the URL that the View generated look OK to you:
http://localhost/testsite/?width=400px&height=200px&inline=true#colorbox...
Thanks for your help with this.
Regards. . .
Tony N.
Comment #13
Poieo CreditAttribution: Poieo commentedI'm not sure why the overlay-context is appended to the link, but it shouldn't cause the issue you're describing.
If the colorbox trigger isn't working on a view made from scratch, then the issue is somewhere else. However, all you need to do is enable colorbox and load the library to sites/all/libraries and the trigger should work.
You may have a module conflict. You might try disabling everything except views, date, calendar, ctools, views, and colorbox (I think that's everything) and see if it works then.
Comment #14
AKN_39 CreditAttribution: AKN_39 commentedHi Poieo: Thanks for your suggestions - I'll give it a try.
Regards. . .
Tony N.
Comment #15
AKN_39 CreditAttribution: AKN_39 commentedHi Poieo: I am still pursuing the Colorbox option to achieve a popup window for calendar events, but I came across a reference to another approach which I like, but I don't know how it is done or if it is possible in Drupal 7. The Lullabot Calendar displays a small tooltip-type popup window when the mouse is over a Calendar entry. Have you seen this and would you know if it can be done in Drupal 7?
Regards. . .
Tony N.
Comment #16
Poieo CreditAttribution: Poieo commented@AKN_39 - More than likely they are using qTip: http://drupal.org/project/qtip
Comment #17
AKN_39 CreditAttribution: AKN_39 commentedPoieo: OK - thanks for following up. . .
Comment #18
KarenS CreditAttribution: KarenS commentedOK, I think Colorbox is the right way to go. I spent quite a bit of time figuring out the best way to integrate Colorbox into the calendar and finally got something committed.
- An option to add Colorbox settings to the calendar template has been added to admin/config/date/calendar.
- The template has been updated to add the Colorbox settings if the option to use them has been selected and Colorbox is enabled.
- The theming has been altered a bit to make sure that you can display a rendered entity in a Colorbox field.
- A new calendar style option has been added to choose fields to exclude from multi-day rows, so multi-day rows can be set up to display only the Colorbox picker.
To try it out, get the latest code with the commit I just made. Enable the Colorbox module, following the instructions on the Colorbox project page. Make sure it's actually working by trying it on something simple like an imagefield. Go to admin/config/date/calendar and choose the option to add Colorbox settings to the calendar templates. Then create a new calendar view and it should have Colorbox all set up so you see the node title and date in the calendar and if you click on the title you get the Colorbox popup that displays the node in a colorbox.
The colorbox settings are only added to node views, because it uses the title field which doesn't exist in all types of entities. You can see how it works on a node view and do something similar for other entities.
http://drupalcode.org/project/calendar.git/commit/9dd946d
Comment #20
selwynpolit CreditAttribution: selwynpolit commentedI was able to get a really nice workable popup using colorbox. I did get tripped up at first by setting up the colorbox trigger as the title and having the title set up to link to it's original piece of content. This seems to override the colorbox code. As soon as I changed the title field in the view to not link to it's original piece of content, colorbox worked great. Also colorbox lets you navigate directly to the next item without having to first close the event you are looking at. Slick!
Comment #21
lias CreditAttribution: lias commentedOne more thing to check if you are having problems getting colorbox to display your rendered node. My calendar view wasn't displaying the colorbox in a Block view. After much hair pulling I found that I had set the view to use AJAX which I guess conflicts with the colorbox script. Once I set to "No" it worked as described.
Comment #22
willeifler CreditAttribution: willeifler commentedJust wanted to say thank you to all who gave insight on using Colorbox in this thread. I got it working thanks to your help.
Here are the things that were the key for me getting it working:
A little screenshot of the result
Comment #23
PMatwyuk CreditAttribution: PMatwyuk commentedWould anyone be able to take a look?
http://www.mkwk-solutions.com/demo/sdf/
I've set up the view following the directions in #22 and it looks like colorbox wants is suppose to initiate however it fails to do so.
Comment #24
PMatwyuk CreditAttribution: PMatwyuk commentedWanted to add that I've got it working on views pages but need it to work on the block view.
Comment #25
stevenx CreditAttribution: stevenx commented#22 works great. thanks
Comment #26
DrCord CreditAttribution: DrCord commented#18/22 works great. thanks
Comment #27
bisonbleu CreditAttribution: bisonbleu commentedColorbox approach works great and is very easy to setup as per #22.
Thanks all!