[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 396
  • Last Modified:

Small Calendar with highlited days of events

I created a list of events, and I need to render in my website a calendar of the month (Small calendar, like a date pickup), with the days with events highlighted and linkable, so when the user clicks on a date, he can see the events on that date,

 

But dont know how to do this.

PLease advice
0
LuisEstebanValencia
Asked:
LuisEstebanValencia
  • 6
  • 4
1 Solution
 
LuisEstebanValenciaAuthor Commented:
1st link useless, I want a very small calendar on the right column, it should look like a date picker
2nd. same
3rd. same

My question says clearly that.
0
 
ThatSharepointGuyCommented:
LEV (wow, what a mouthful.  I hope you don't mind me shortening it this time around):

If you're going to sit there and call anyone's help "useless", I'll just leave you to it and hope someone else answers your question.  With your esteemed credentials (MCTS: SP2010 Dev/MCPD EA Dev), you shoul d have no problems creating something from scratch.  It sure does want to make folks help you out more when insulting them, y' know?  I mean, that's very similar to me telling you that it's "Please advise", not "Please advice".  But I'm not nitpicking or anything ;-)



Here is a small calendar, which fits every single description of what you asked.
By "date pickup" I assumed you meant you can choose the dates so that they can view events on that particular day...



Is this what you referring to?  If so...it's default Calendar functionality...you can just change the appearance of the calendar.  Use overlays to come up with a multicolored highlighting scheme (by default they are all the same color, which I believe is a light blue color).

Those three links got me headed in the right direction with getting overlays set up.  The idea behind it was to introduce you to overlays.

The reason I posted information on overlays first, while I spent time trying to look up how to create a custom calendar from code, was that by itself SP2010 does not have highlighting enabled, at least not in the sense that we're used to with Outlook and other applications.  This is why I mentioned the overlays.  If my problem solving is a bit different from yours, my apologies.  

0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LuisEstebanValenciaAuthor Commented:
Hello There

1st. I didnt insult anyone, I said the comment was useless, thats very different.
2nd. Yes I can do it from scratch, but that would take lot of time and I dont have it.

and 3rd, yes thats exactly what I want, my designer would help me with the css, so thats not an issue, but how did you place it in a webpartzone in the first time?

You and I know that Microsoft Certifications just say that you have the basic knowledge of sharepoint, its good to have them to get better chances to get jobs, and its not good to have them cause you could miss some good jobs.
You and I also know that those certifications also dont mean to be an expert, In fact I have took 2 SP 2010 certifications and I know that I have lots and lots to learn.

Can you please explain me how you did that? dont hesitate about design, just which classes should my designer override and thats it.
0
 
LuisEstebanValenciaAuthor Commented:
and yes I am still confused.

It all seems to be done from a calendar view page, but what I really want is a webpart, I checked the ootb webparts and didnt find any with calendar or something?
0
 
LuisEstebanValenciaAuthor Commented:
I am starting to understand, first I created the view as a calendar view, then on a page I added the webpart list, and just select the calendarview,

Now I guess the work from now on, its on the designer part? or what else should I do?
0
 
ThatSharepointGuyCommented:
Howdy,

Telling me that my comment was "useless" made me feel insulted.  My apologies that I got all hyped up about it.  

To get the calendar web part there, all you do is go into any web part page (this was actually done on a team site's main page), and click the "page" tab at the top on the ribbon.  This will open up the web part zones so that you can "add web part"  into each specific zone.  I chose the zone on the right side, added it, and adjusted the height/width (actually, I told it to scale to the zone, as the zone itself was fairly small and I did not want scroll bars on the calendar web part).

Keep in mind, that I did this on a normal team site's front page.

If you need a different layout (say, the page you're on doesn't have a right-side column), you can create a new web part page and set everything up there.

I'm leaving work for the day, but if you still need help, post back and I'll continue helping you tomorrow.

Have a good night!
0
 
LuisEstebanValenciaAuthor Commented:
Thank you!

I already added the list webpart, also changed the view to the calendar.
Then changed the size to 250px x 250px, I see a vertical scrollbar, so here its when it comes my special requirement.

Instead of showing the events of one day below the number. I would like that the number be highlighted with a color, in that way I can make the Week ROW, smaller in heigth, Do you understand?

And the tooltip would show only the start and end time, title when the user puts the mouse over on a day number.
Is that possible?

Thank you again.
0
 
LuisEstebanValenciaAuthor Commented:
Just found this!! lots of code to undertand but seems what I need.

http://www.codeproject.com/KB/sharepoint/wpcustomcalendar.aspx
0
 
ThatSharepointGuyCommented:
The built in Calendar can be versatile at times, but I still find it lacking (why should we have to work with overlays in order to get simple highlighting, etc?).

Glad you found something that works!

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now