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.
Is it possible to create a minicalendar block where the user could click on the Month Title (i.e: June 2011) to see the full calendar?
< June 2011 >
Cheers,
Comment | File | Size | Author |
---|---|---|---|
#2 | minicalendar.png | 98.47 KB | Anticosti |
Comments
Comment #1
aspilicious CreditAttribution: aspilicious commentedI need some more information:
How would your mini calendar look like?
Comment #2
Anticosti CreditAttribution: Anticosti commentedHope this helps making it clearer...?
Cheers,
Comment #3
aspilicious CreditAttribution: aspilicious commentedIt is possible but you will need to code some stuff yourself :)
1) Place the fullcalendar as a block in the sidebar.
2) Place the same calendar as a page somewhere on your site.
3) Now comes the scary part
- Create your own module that makes the title clickable through jquery, by inserting an tag
- You can link to the big calendar by appending ?year=xxx&month=x to the calendar link. You have to build that link yourself.
for example fullcalendar?year=2012&month=1 will bring you to januar 2012.
Comment #4
tim.plunkettSee http://spymuseum.org/calendar for an example of a mini one. aspilicious is right about making the title a link being tricky. Not sure if it's worth trying to expose an option for that?
Comment #5
lotyrin CreditAttribution: lotyrin commentedSomething like how Calendar works, where if you've got a block display and a page display in the same view, the block will link to the page display with the appropriate arguments (month/day clicked) would be nice.
Comment #6
DaveMcLear CreditAttribution: DaveMcLear commentedHi, I would like to see a block version of this also. I much prefer the way "Fullcalendar" looks and works to the way "Calendar" does.
"Calendar" = http://drupal.org/project/calendar
thanks
Dave.
Comment #7
aspilicious CreditAttribution: aspilicious commentedThere is a block version, because you can place the calendar in a block and style it
http://spymuseum.org/calendar
Is a fullcalendar calendar.
I agree there is not an out of the box solution that looks good. But the fullcalendar plugin we use isn't made for such a use case.
Comment #8
DaveMcLear CreditAttribution: DaveMcLear commentedSorry, I don't know how to place it in a block.
Comment #9
aspilicious CreditAttribution: aspilicious commentedOn top of your fullcalendar view settings you can add a display: Add ==> block
If you go to structure ==> blocks you can find the new made block.
Comment #10
drwits CreditAttribution: drwits commentedcan you tell me how to get the calendar block to not display the whole title and time? like the example you gave?
also is there a way to have the links go to a custom view for that day?
thanks
Comment #11
tim.plunkettAnother example: http://philorch.org
It will require custom CSS beyond the scope of the module.
Comment #12
amogiz CreditAttribution: amogiz commentedBut how do you hide the title ?
I am looking for this features too …
Thanx
Comment #13
tim.plunkettI didn't make that website, I will ask those who did to share their approach.
Comment #14
aspilicious CreditAttribution: aspilicious commentedhttp://jsfiddle.net/Mottie/G6K6Y/9/µ
Have fun!
Comment #15
amogiz CreditAttribution: amogiz commentedI am in a shame but I don't know how to theme with the link you added.
Comment #16
aspilicious CreditAttribution: aspilicious commentedunderstandable but this is an advanced theming request you're asking for. There isn't a simple answer...
You need a combination of custom css and js. The link I gave you is a start.
Comment #17
amogiz CreditAttribution: amogiz commentedReally thank you to answer so quickly.
I will try to make this "combination".
Comment #18
tim.plunkettI'm closing this, if I hear back from that site's designer, I will open a new feature request.
Comment #20
jvieille CreditAttribution: jvieille commentedI was looking for something better than Calendar.
This module seems promising, the ability to set the start / end time by dragging is amazing.
However, this is a really missing feature.
I hope it will be taken into consideration
Comment #21
tim.plunkettSure.
Comment #22
westis CreditAttribution: westis commentedAny news to this? I'd really need a mini calendar in the footer, but can't really accomplish this now.