Posts

Showing posts from January, 2010

Using Milkbox with SharePoint

Recently we needed to integrate Milkbox (Lightbox that supports Flash and other things) to our SharePoint-based Intranet Site. In order to do this you need to do the following to your master page. Download the Milkbox Code . Depending on how you plan to implement this solution you can store the files in a number of places, either in a doc library or on the file system in the 12 hive. In this example I created an STSDEV solution and added the downloaded files into the solution so they would deploy to the TEMPLATE/LAYOUTS directory in the 12 hive. If you choose to save it to another location, be sure to update your references from the '_layouts/...' references I gave to the .js and .css files.   Ensure the following DOCTYPE declaration is at the top of your masterpage: <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”> Ensure the following assembly registration is in the top of your master page: <%@ Register Tagprefix="PublishingWebControls"