Solved

Small Calendar with highlited days of events

Posted on 2011-03-14
10
391 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
Industry Leaders: 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

Independent Software Vendors: 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!

Question has a verified solution.

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

Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

739 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