|
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! |