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,

CommentFileSizeAuthor
#2 minicalendar.png98.47 KBAnticosti
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aspilicious’s picture

I need some more information:
How would your mini calendar look like?

Anticosti’s picture

FileSize
98.47 KB

Hope this helps making it clearer...?

Cheers,

aspilicious’s picture

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

tim.plunkett’s picture

See 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?

lotyrin’s picture

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

DaveMcLear’s picture

Hi, 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.

aspilicious’s picture

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

DaveMcLear’s picture

Sorry, I don't know how to place it in a block.

aspilicious’s picture

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

drwits’s picture

can 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

tim.plunkett’s picture

Status: Active » Fixed

Another example: http://philorch.org

It will require custom CSS beyond the scope of the module.

amogiz’s picture

But how do you hide the title ?
I am looking for this features too …
Thanx

tim.plunkett’s picture

Status: Fixed » Active

I didn't make that website, I will ask those who did to share their approach.

aspilicious’s picture

amogiz’s picture

I am in a shame but I don't know how to theme with the link you added.

aspilicious’s picture

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

amogiz’s picture

Really thank you to answer so quickly.
I will try to make this "combination".

tim.plunkett’s picture

Status: Active » Fixed

I'm closing this, if I hear back from that site's designer, I will open a new feature request.

Status: Fixed » Closed (fixed)

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

jvieille’s picture

Title: Is it possible to create a minicalendar block » Provide minicalendar block that links to the calendar page
Category: support » feature

I 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

tim.plunkett’s picture

Component: Documentation » Code
Status: Closed (fixed) » Active

Sure.

westis’s picture

Any news to this? I'd really need a mini calendar in the footer, but can't really accomplish this now.