Solved

Small Calendar with highlited days of events

Posted on 2011-03-14
10
388 Views
Last Modified: 2012-05-11
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
Comment
Question by:LuisEstebanValencia
  • 6
  • 4
10 Comments
 
LVL 6

Expert Comment

by:ThatSharepointGuy
ID: 35132584
0
 

Author Comment

by:LuisEstebanValencia
ID: 35133034
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
 
LVL 6

Expert Comment

by:ThatSharepointGuy
ID: 35133391
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:LuisEstebanValencia
ID: 35133548
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
 

Author Comment

by:LuisEstebanValencia
ID: 35133559
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
 

Author Comment

by:LuisEstebanValencia
ID: 35133614
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
 
LVL 6

Expert Comment

by:ThatSharepointGuy
ID: 35133686
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
 

Author Comment

by:LuisEstebanValencia
ID: 35133751
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
 

Author Comment

by:LuisEstebanValencia
ID: 35133818
Just found this!! lots of code to undertand but seems what I need.

http://www.codeproject.com/KB/sharepoint/wpcustomcalendar.aspx
0
 
LVL 6

Accepted Solution

by:
ThatSharepointGuy earned 500 total points
ID: 35138611
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question