Tag Info

New answers tagged

1

By default in SharePoint 2013 there is no option for "Sign in as different user". Follow the below steps to enable it Step: 1 Go to the location C:\Program Files\Common Files\microsoft shared\Web ServerExtensions\15\TEMPLATE\CONTROLTEMPLATES. Here we have a file named welcome.ascx. Step 2: Open that file and add the blow code ...


0

I fixed the issue. I outlined my fix here: https://sppro-public.sharepoint.com/Blog/Post/13/Vertical-scrollbar-overflows-out-of-div-when-fixed-with-used its a bit of hack, there must be a better solution. But basically I overrided the onresize event


0

Step 1: Get SharePoint collection path. Log in as an administrator at your site collection. (VERY IMPORTANT! to mark the "remember me" checkbox before pressing Login button). Go to site settings -> Design manager -> upload designfiles and copy the linkadress that's in there. Step2: Map network drive Go to File explorer on your computer and rightclick on ...


0

1) you can check the conditions or directly change the classes through user control using below c# code: if (condition) div.Attributes["class"] = "newClass"; 2) using Jquery you can use the below code: $('div').removeClass("currentClass").addClass('newClass');


0

To can also use Jquery/Javascript for this document.getElementById("MyElement").className = "MyClass"; What you can do is put runat="server" tag to the element and create master page code behind class. and change the class name from code behind. To add master page code behind you can refer: ...


0

What is it you're trying to achieve here and why does that tutorial make it so unnecessarily complicated?? If you simply want to add some custom JavaScript or jQuery-enable your site, then simply reference them in the masterpage using tags as already stated. Then in your custom.js add any functions you want to occur after page load into ...


1

SharePoint:ScriptLink requires you to use SP.SOP.execute in order to load the script. Like this (reference): SP.SOD.executeOrDelayUntilScriptLoaded(myfunction, 'sp.js'); function myfunction() { // my custom code // SP.SOD.executeOrDelayUntilScriptLoaded(myfunction2, 'custom.js'); //change } SP.SOD.notifyScriptLoadedAndExecuteWaitingJobs("sp.js"); ...


0

If you open/edit those aspx pages in the hives, what does the masterpage list? I think you have to realize that a lot of the content that is pushed to the hives are in-fact coming from the content database(s) for local server use. In my opinion (and probably many others), you should try to rethink your scenario or business problem and come up with another ...


0

I had this problem because one of my coworkers had tried to customize the master page in SharePoint Designer. The master was already customized, with code, through Visual Studio, so the existence of a detached copy made SharePoint throw a fit since code isn't allowed on pages inside the content database. To fix it, I located the offending master page in ...


0

Have you checked the master page gallery to make sure it is checked in and published?


2

Turns out that when I was saving a site as a template, SharePoint forgot to put the CustomMasterUrl attribute into the configuration section of the ONet.xml file. I had to export the site template (as a WSP file) and import that file into Visual Studio 2010. Then I added the missing attribute, so the full string was as follows: <Configuration ID="0" ...



Top 50 recent answers are included