SharePoint 2010 – Themes and CoreV4.css comparison technique for Developers

Ever wonder how SharePoint 2010 uses CoreV4.css and Themes together to style your site? In this blog post, I hope to grab this bull by the horns and make empower you to decode this large file and create your own themes. Basically, I took CoreV4.css located in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1033\STYLES\Themable and copied … Continue reading SharePoint 2010 – Themes and CoreV4.css comparison technique for Developers

A great way to create SharePoint 2010 CSS from original CSS

Working with SharePoint 2010's CoreV4.css is very difficult. I have developed a technique to allow developers to leverage SharePoints OOTB CoreV4.css selectors, but while not hacking together CSS selectors and dealing with !important and other CSS hacks. Here is the concept: Your SharePoint page will have 2 stylesheets on it, CoreV4.css and a new blank … Continue reading A great way to create SharePoint 2010 CSS from original CSS

SharePoint static 2nd level current navigation in MOSS 2007

Summary Requirements: SharePoint MOSS 2007 Must be using a Publishing Site This post will create the SharePoint Current Navigation control that only shows the 2nd level site when browsing, and supports highlighting. The datasource comes from SharePoint as well, so everything is security trimmed, and editable in the browser. This post is for users who … Continue reading SharePoint static 2nd level current navigation in MOSS 2007

HTML Hyperlink tags and word-wrap padding fix

Recently, I noticed when I have the following code, my text wraps and ignores my padding for the second line. <style> .menuItemLvl2 { Padding-left: 24px; } </style> Restructuring & Recapitalization I wanted the hyperlink a tag to wrap and respect the padding. I also had highlighting on the A hyperlink tag for :hover state, so … Continue reading HTML Hyperlink tags and word-wrap padding fix

SharePoint 2007 Branding links

Real World Branding with SharePoint Server 2007 Publishing Sites http://msdn.microsoft.com/en-us/library/ee354191.aspx Heather's Base Master Page FilesBase master page files with necessary content placeholders to run a SharePoint site. All branding and added code is stripped out. CSS Reference ChartInformative chart of popular CSS classes and IDs. Design Gotcha ListList of items to watch out for when … Continue reading SharePoint 2007 Branding links

XSLT Data View Web Parts in SharePoint Designer- Why changing the layout is can break your template.

My last post offered clues as to why Data View web parts break. All my previous web parts were using custom Layouts to strip out all the surrounding layout tables. Here is a rough idea how the default Layout is constructed. Figure 1- The above is a default Multi-item XSLT Data View web part template … Continue reading XSLT Data View Web Parts in SharePoint Designer- Why changing the layout is can break your template.

XSLT – Data View wp- Unable to display this Web Part (only for any other user other than yourself.)

I got the following error when developing my web part and having my manager log in to check the page. But the page worked fine for me, and was not checked out, as I was not using Publishing Features. Unable to display this Web Part. To troubleshoot the problem, open this Web page in a … Continue reading XSLT – Data View wp- Unable to display this Web Part (only for any other user other than yourself.)

SharePoint XSLT error – Unable to display this Web Part.

Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator. This error could be caused by missing double quotes around your HTML markup attributes. For instance, the error below … Continue reading SharePoint XSLT error – Unable to display this Web Part.

SharePoint designer – How to fix XSL Data View error: “Unable to display this Web Part”

I found an interesting thing about the error message I was getting with SharePoint Designer. The error is: "Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as FrontPage. If the problem persists, contact your Web server administrator" I had a complicated … Continue reading SharePoint designer – How to fix XSL Data View error: “Unable to display this Web Part”

Visual Studio requires a ScriptManager reference to compile Ajax enabled solution

The Problem Visual Studio requires a ScriptManager to compile a Ajax enabled solution for a SharePoint web part. Visual Studio Error on compile says: Solution.cs: (Build Error)Error    1    The type or namespace name 'ScriptManager' could not be found (are you missing a using directive or an assembly reference?)    C:\...\Solution.cs     The Solution: A Reference dll is missing … Continue reading Visual Studio requires a ScriptManager reference to compile Ajax enabled solution

Page Titles disappear after Ajax event

SharePoint page titles when using Ajax may turn to square icons. This is the rendering of the title tag in the masterpage, or where the page title is specified. Put the title tag on one line! That's it! No need for JavaScript or anything else when using Ajax on a page! Just edit the CORRECT masterpage, (For Publishing Portal, the default is BlueBand.master, for Team and Collaboration sites, it's Default.master)

SharePoint Designer – CSS Caching issues with Visual Studio Web Part packages

I have recently ran into an issue with SharePoint Designer and modifying a CSS file. The CSS file would not update my changes. I waited a 1/2 a day, checked different browsers, cleared my temp/etc, tried virtual machines that havent seen the website in months. Nothing was reflecting my SharePoint Designer CSS changes. I was … Continue reading SharePoint Designer – CSS Caching issues with Visual Studio Web Part packages