• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 572
  • Last Modified:

Sharepoint 2010 Calendar Formatting lost after update

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
Firstcom
Asked:
Firstcom
  • 8
  • 6
1 Solution
 
Jamie McAllister MVPSharePoint ConsultantCommented:
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
 
FirstcomAuthor Commented:
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
 
Jamie McAllister MVPSharePoint ConsultantCommented:
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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
FirstcomAuthor Commented:
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
 
FirstcomAuthor Commented:
screenshot of create screen
create.png
0
 
FirstcomAuthor Commented:
All Templates in the List Template Gallery
all-templates.png
0
 
Jamie McAllister MVPSharePoint ConsultantCommented:
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
 
FirstcomAuthor Commented:
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
 
Jamie McAllister MVPSharePoint ConsultantCommented:
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
 
FirstcomAuthor Commented:
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
 
Jamie McAllister MVPSharePoint ConsultantCommented:
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
 
FirstcomAuthor Commented:
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
 
Jamie McAllister MVPSharePoint ConsultantCommented:
Look at the page source and see if there are any script references or even script included that don't look standard.
0
 
FirstcomAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 8
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now