|
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...
|
|
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 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.
|
|
Read more...
|
|
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! |
|
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.

|
|
Read more...
|
|
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...
|