SharePoint User Group UK
Share the knowledge!
Welcome to SharePoint User Group UK
Sign in
|
Join
|
Help
in
SharePoint 2007 Customization (forum)
SharePoint 2007 Questions (group)
(Entire Site)
Home
Blogs
Forums
Photos
Files
Roller
SharePoint User Group UK
»
SharePoint 2007 Questions
»
SharePoint 2007 Customization
»
Re: color coded calender
color coded calender
Last post 05-10-2012, 4:12 PM by
Cheason
. 4 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
02-29-2012, 3:34 PM
28355
bronyx
Joined on 03-07-2011
Posts 25
color coded calender
Reply
Quote
Hi, i need a color coded calender.
I have a documet library which works on content types. CT A and CT B for example,
Depedning on which content type i select, displays different metadata.... Both content types are using a Start Time and End Time.
When i create a calender view, documents which display as Content Type A, need to display in Red on the calender view.
I have followed the instruction from the following blog http://techtrainingnotes.blogspot.com/2008/11/sharepoint-color-coded-calendars.html. But i cant get this to work (I cant seem to copy and paste of this blog, its very sluggish)
I have the followig Calculated Field
="
"&Title&"
"
ad the javascript i am inserting into the CEWP is
var x = document.getElementByTagName("ID")
var i = 0;
for (i=0;i.length;i++)
{
if (x[i].className.substring(0,6)=="ms-cal")
{
x[i].innerHTML=x[i].innerHTML.replace(/</g,'')
}
}
Please help...
the items on the calender just appear as
title of doc
Report abuse
03-01-2012, 10:27 AM
28364
in reply to
28355
nickyc
Joined on 06-21-2007
Manchester
Posts 44
Re: color coded calender
Reply
Quote
Hi Mate, i used this site and it works a treat albeit a little bit fiddle'. http://usermanagedsolutions.com/SharePoint-User-Toolkit/default.aspx
Report abuse
04-26-2012, 9:58 AM
28674
in reply to
28355
alexmichelin
Joined on 04-26-2012
Posts 1
Re: color coded calender
Reply
Quote
Hi ,
I have created a calendar on sharepoint. Its basically to show employees who are on leave from one day to another . I want to color code the bar on the calender view based on a field in the form. Simply I want Annual leave to appear as red and sick leave to appear as green.
How can I do this ????
Report abuse
04-27-2012, 4:50 PM
28682
in reply to
28674
danix
Joined on 07-17-2007
North West
Posts 22
Re: color coded calender
Reply
Quote
we use this - quick and easy
http://blog.pathtosharepoint.com/2010/04/06/tutorial-add-color-coding-to-your-sharepoint-2007-calendar-in-15-minutes/
Dave Nixon
SharePoint UK Blog
Report abuse
05-10-2012, 4:12 PM
28743
in reply to
28355
Cheason
Joined on 10-01-2008
Posts 108
Re: color coded calender
Reply
Quote
I would second Danix's post - great solution, plus other great freebies on there for SharePoint too!
Report abuse