Expose the Web Part Title in the XSL of your CQWP

The last couple of days, I have been busy with customizing the OOTB Content by Query Web Part and Summary Links Web Part from SharePoint 2010. I wanted to get rid of the default look and chrome and present my data in a nice box with rounded corners and a title with matches the rest… Continue reading Expose the Web Part Title in the XSL of your CQWP

Limit available web templates in your custom site definition

SharePoint 2010 allows you to create custom web templates or site definitions. Using the UI, you can limit the available web templates which users are allowed to use if they want to create a new site. The problem with this is that this is a manual action, to be done after creating a new site. It… Continue reading Limit available web templates in your custom site definition

AvailablePageLayouts property value has to be one a single line

Today, I was deploying a custom web template in SharePoint 2010 in which I had specified that only 9 custom page layouts were allowed. I did this by adding a property to the Publishing feature (id 22A9EF51-737B-4ff2-9346-694633FE4416) in my custom onet.xml file called AvailablePageLayouts where you specify the location and the name of the allowed page layouts. The… Continue reading AvailablePageLayouts property value has to be one a single line