Stump the Panel: SharePoint Q&A

Immediate solutions for common SharePoint questions
It is currently Sat May 25, 2013 9:53 pm

All times are UTC - 5 hours [ DST ]


Forum rules


What you are viewing is an archive of Stump the Panel. It remains for reference purposes. Please post all new questions on NothingButSharePoint.com
https://www.nothingbutsharepoint.com/sites/eusp/Forum



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Color Calendar - Modifications
PostPosted: Tue Nov 16, 2010 10:05 am 
Offline

Joined: Tue Nov 16, 2010 9:46 am
Posts: 18
First - I cannot compliment Christophe enough for the fantastic work he's done on the color calendar. I absolutely love it and so does management.

I took the liberty of making some customizations.
First, I changed the Color calculated column to the following:
Column Type: Choice (menu to choose from)
Display Choices Using: Drop-Down menu
Choices: (list any color you want by name. For a list of good color names, search "IE Colors" via google. I selected the IBDGuy link, copied the list to excel and deleted any entry I didn't think would look good. I still ended up with over 20 colors)
Second I created a calculated column called 'Display' and used the following code:
Code:
<span style='position:relative;display:inline-block;width:100%;'>
   <span style='width:100%;display:inline-block;text-align:center;border:1px solid "&Color&";position:absolute;color:"&Color&";'>"&Title&"
   </span>
   <span style='display:inline-block;width: 100%;background-color:"&Color&";text-align:center;border:1px solid;z-index:-1;filter:alpha(opacity=20);opacity:0.2;'>"&Title&"
   </span>
</span>"

And of course, I saved his TextToHTMLlite-v2.1.1.txt file to a document library and linked to it from a hidden CEWP.

Now my customers can select from MANY different color choices rather than trying to guess the color based on the status.

This post is not to say I have a better solution, but just another option based on customer's needs/wants.

Again - thank you Christophe! Your code and posts are priceless!
Don't forget to check out Christophe's "SharePoint User Toolkit" (google it)


Top
 Profile  
 
 Post subject: Re: Color Calendar - Modifications
PostPosted: Tue Nov 16, 2010 9:55 pm 
Offline

Joined: Sun Jan 03, 2010 8:22 am
Posts: 181
Did you read my last post:
http://blog.pathtosharepoint.com/2010/1 ... face-value

Yes, my solutions can be tweaked to fit your specific needs. That's the spirit! Thanks for sharing your example.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group