Solved

Sharepoint 2010 Calendar Formatting lost after update

Posted on 2014-04-02
14
527 Views
Last Modified: 2014-04-04
Our SharePoint 2010 server was updated with Service Pack 2 and the latest cumulative update two days ago.  After that, our SharePoint calendars have lost their formatting.  They used to display different colors based on the category selected.  They used to also show just the start time, end time, and title of the event in the overview.  Now they are displaying:
|||Start Time to End Time|||Category|||Title.  Also, all of the events are colored gray.  What can I look for to get my settings back?
0
Comment
Question by:Firstcom
  • 8
  • 6
14 Comments
 
LVL 31

Expert Comment

by:Jamie McAllister MVP
ID: 39972171
That's difficult to call. I presume there was either custom styling that's been overwritten by the service pack, or what you describe sounds like the Enhanced Calendar webpart from Bamboo Solutions.

Can anyone there confirm if you had the Bamboo Calendar webpart installed, or any work to style your portal in the past?
0
 
LVL 1

Author Comment

by:Firstcom
ID: 39972205
I am pretty confident that we did not the have Bamboo Calendar webpart.  I do have a development server with a calendar on it that doesn't have the colors on it, but it does have the proper formatting as far as Start Time-End Time & Title displaying.  How would I look to see if the Bamboo Calendar webpart is installed?

Some more information for you.  I just created another calendar through SharePoint using type "Calendar", and the test calendar looks good.  I then created a new calendar, using a custom type Calendar that was created by the previous SharePoint admin, and the formatting is messed up on it.  We will call this custom type calendar "Department Calendar".  The problem seems to be contained to our custom calendar types that were created.
0
 
LVL 31

Expert Comment

by:Jamie McAllister MVP
ID: 39972293
Without being there it's difficult to diagnose. Did the previous admin create a Library template or make some SharePoint Designer changes that are now invalid due to the Service Pack?

I imagine there's no documentation?
0
 
LVL 1

Author Comment

by:Firstcom
ID: 39972306
The only documentation that I can find is how to add a new category to the calendar.  I have a feeling that he created two calendar templates, and now they are not displaying correctly.  Here is a screenshot of the create screen.
0
 
LVL 1

Author Comment

by:Firstcom
ID: 39972313
screenshot of create screen
create.png
0
 
LVL 1

Author Comment

by:Firstcom
ID: 39972352
All Templates in the List Template Gallery
all-templates.png
0
 
LVL 31

Expert Comment

by:Jamie McAllister MVP
ID: 39972354
OK, thanks for the info. Seems that the prior Admin created some List Templates, and these were customized in some way to be styled. This could have been SharePoint Designer or Script.

One thing you could try your self it to see if the script is embedded in the page or not. See my article here; http://the-north.com/sharepoint/post/Hide-Unwanted-Fields-On-Calendar-Form

I show how to hide Calendar fields via script on the form page. You may find the script easily following that guidance. But if the customization is embedded deeper i.e. SharePoint Designer customizations, you'll need to consider getting some help locally.

I cannot diagnose the issue in the templates without getting my hands on the files and that's not really what we do here.

I suggest you get someone in to look at the templates, diagnose the issue and fix it, or get someone to create new templates looking as you need them.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Author Comment

by:Firstcom
ID: 39972380
Jamie,
Thanks for the article.  I found a similar YouTube video on that and looks like something I may use in the future.  The problem really isn't with the event form, though.  The template for the overview is incorrectly formatted now.  I am attaching the screenshot of a partial overview.

If I get the templates rebuilt, with the same name as the old template, will that populate down to the already created calendars?  My guess is no.  How do I go about changing the view of the already created calendars?
Overview-of-Calendar.png
0
 
LVL 31

Expert Comment

by:Jamie McAllister MVP
ID: 39972422
Rebuilding the templates won't help with existing ones.

I'm unable to ascertain how the customization was done.

Another thing to try is the Developer Bar in Internet Explorer. Pressing F12 brings it up and will allow you to see what is happening with the styling in your calendar page, and what is being overridden. This is a tricky job, but may lead to a resolution if the problem can be identified and fixed with some custom CSS for example.
0
 
LVL 1

Author Comment

by:Firstcom
ID: 39972510
I wasn't seeing much in the Developer Bar to point me in any direction.  I am thinking the previous developer created a style to overwrite the view of "CategoryTitle" so that different colors would display on the calendar.  I know we did use CategoryTitle before and that the display was different than it is now.  When I change it to just Title instead of CategoryTitle, it looks much better.

How would I go about looking for any information on this?
0
 
LVL 31

Expert Comment

by:Jamie McAllister MVP
ID: 39972578
I think you're on the right track with Developer Bar. In the right hand pane when you select an item it will show you whether a stylesheet is being overridden by another one, which may be your problem.

The other possibility I'm thinking is that the element name, class or id has changed in the markup and the style was applied  to the old identifier.

I have access to a pre-SP2 SharePoint 2010 farm so can provide the old values. Here's some shots from my dev bar, an unstyled calendar in Month View with no service pack. Also notice the styling applied. Is yours significantly different?

Calendar Markup
Styling
0
 
LVL 1

Author Comment

by:Firstcom
ID: 39972586
It appears that when I look at the List Settings, there is a Column that was created by the previous developer called "CategoryTitle".  When I click on that, there is a formula of:

="|||"&Category&"|||"&Title

Any ideas on where I can see where there might be a script looking for ||| and changing the color of that item based on the category.
0
 
LVL 31

Accepted Solution

by:
Jamie McAllister MVP earned 500 total points
ID: 39972703
Look at the page source and see if there are any script references or even script included that don't look standard.
0
 
LVL 1

Author Closing Comment

by:Firstcom
ID: 39978079
Jamie,
The update to SharePoint broke the original script and I had to alter the script.  After doing so, everything is working.  Thanks for helping me get to the bottom of it.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

760 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now