Solved

Small Calendar with highlited days of events

Posted on 2011-03-14
10
390 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

756 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