Linked Questions

21
votes
6answers
31k views

Sharepoint 2013 add css in a page layout

I'm trying to add my custom CSS file in my sharepoint 2013 page layout. I add it with the link tag or with CSSRegistration and when the page is rendered, the css does not appear in the source. Also I ...
4
votes
1answer
17k views

Where to put javascript files, problem with _layouts

I'd like to add jQuery and SPServices. I added the following code: <SharePoint:ScriptLink runat="server" Name="/Style%20Library/Scripts/jquery-1.7.2.min.js" Localizable="false"></SharePoint:...
5
votes
3answers
3k views

Placing your branding images in the “14 hive” vs an Images list

What are the drawbacks or benefits of storing images in the hive versus a list within the farm? I have a debate with my colleague that deals with where to place images that must be accessible across ...
2
votes
3answers
5k views

The advised place to put images and css files

I've been looking on the net for some advise and explanation about where to put my custom css and images for the master page in sharepoint 2010. I'm now busy with branding the portal and i'm a bit ...
2
votes
3answers
7k views

Master Page how to specify correct Path for CSS and Images

1) In My custom master page I have registered my CSS as follows, <SharePoint:CssRegistration name="/mycssfolder/css/mycss.css" After="corev4.css" runat="server"/> Now I have my folder ...
2
votes
4answers
5k views

Referring js file within a master page/ html page did not work

after going through the this link How to implement JavaScript in master page of SharePoint 2013 and JavaScript files are not loading in masterpage for adding a reference for js file , thats residing ...
1
vote
3answers
9k views

What is the correct way to reference javascript in Sharepoint 2013?

I have found conflicting sources on linking/referencing JavaScript to a SharePoint .HTML Masterpage in SP2013. Out of the box, SP2013 instructions from Design Manager interface are to Use this ...
3
votes
2answers
1k views

Site Collection Pop Quiz: _layouts vs Style Library

First, let's say I have 2 site collections within a single web app at port 80: Main Site Collection: / Nested Site Collection: /sites/special/ So, let's say I have a module in a site-collection ...
2
votes
2answers
1k views

custom master page / branding from _layouts instead of provisioning feature

Is it possible to apply a custom master page and theme to a site from the layouts folder instead of provisioning them down to the site with a feature? I'd use code and a feature receiver, but not sure ...
1
vote
2answers
3k views

Subsite in Sharepoint Foundation 2010 - Applying CSS

I am just getting started with SharePoint Designer 2010/Foundation 2010 and having trouble applying a CSS file. On the home site, I am using a custom master page that uses this code to load a ...
2
votes
4answers
2k views

Best practice location to deploy CSS/JS/image files

For SharePoint development, I am used to placing all the images/CSS/JS files into the mapped layouts folder (..\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS) using Visual Studio. ...
0
votes
1answer
419 views

Cleanest way to put something in _layouts folder?

What is the cleanest and suggested way to add files to the _layouts folder across multiple web frontends for a SharePoint 2016 on-premise installation?
2
votes
1answer
253 views

List out the ways in which we can deploy the files to the SharePoint [closed]

What are the possible ways in which we can deploys files to:- The SharePoint hive (folders in hive) The SharePoint content db (libraries, etc) By files I mean css, js, masterpage, site page, html ...