Sharepoint ribbon markup styles not working...

I had just rolled out a new masterpage template to our test server and was getting this weird UI error where some of the ribbons dropdowns were not... dropping down.

I jumped into the developer tools on IE and Firefox soon uncovered that I was getting a Script5 access is denied error in IE and a 407 authentication required error on a JQuery-ui css file I was trying to load from the google api librarys

Read more...
 
Referencing javascript files from a masterpage

Referencing a javascript file on a site via the masterpage turned out to be a bit more involved than I thought it should be.
I built a web template to roll out a branding feature which included uploading a javascript file into the style library folder. I then wanted to reference the javascript file in the masterpage. Relative URL's are not an option due to the fact that once you start delving into sub folders the links to the javascript file will break. And the alternative, putting in a reference to the sites base url, seemed to be impossible according to the lack of results via google (and bing)...
The solution I finally stumbled upon was to use the script manager tag.

Read more...
 
Adding files to a feature directory

The other day I had the following error:

Error occurred in deployment step 'Add Solution': Error: Cannot find this file specified in the manifest file: BrandProject_Feature1\addtheme.xml

Read more...
 
Using jQuery daterangepicker with Sharepoint lists

Using the Jquery date range picker to filter a list can be a bit tricky but here is the result I came up with to save you some pain.

daterange picker jquery sharepoint
Read more...
 
XSLT snippet... Getting a hyperlink column description

You may want to display the description part of a hyperlink column within a content query webpart.
In the itemStyle.xsl file you can use the following tag to display the links description.

  <xsl:value-of select="substring-after(@LinkUrl,',')"/>

Voila!

 
Render a list as a news ticker using XSLT

Charging on with more XSLT and ContentQuery goodness, here is an example of how to render a news ticker from a simple sharepoint list using XSLT, ContentQuery, and Jquery.
Note: For this demo I will assume you have jquery already loading on your site pages.

ticker
Read more...
 
Render a slideshow gallery from a sharepoint list using XSLT and ContentQueries

Modifying the itemStyle.xsl file in sharepoint allows us to transform boring content query lists into anything we can imagine. Here is an example of whats possible using custom itemStyles, Jquery and css.

At tutorialzine.com there is a great example of an apple styled slideshow banner. For information on how the banner works visit tutorialzine. In this post I will show you how to turn a simple sharepoint list into this slideshow.

Read more...
 

Help my beer fund

RocketTheme Joomla Templates