Tag Info

New answers tagged

0

option a) JQuery+CSS /*hide all*/ div[id*="_WebTreeViewV4"] > table { display:none; } $(document).ready(function(){ $('div[id*="_WebTreeViewV4"]').find("a:contains('HR')").closest("table").show(); }); option b) 100% CSS - subject to change /*hide all*/ div[id*="_WebTreeViewV4"] > table { display:none; } /*use the index of the ...


0

You need to enable publishing features on the site collection (SP_Site) and on the web (SP_Web) and set the alternate CSS URL to your css-file. Find "Site Collection Features" setting and enable all features with name "publishing" in it. Find "Manage Site Features" setting and enable all feature with name "publishing" in it. Find "Master Page" ...


2

The quick and dirty version (no external CSS file) $webApp = Get-SPWebApplication http://****:26611/ $webApp.SuiteBarBrandingElementHtml = '<div class="ms-core-brandingText"> <a class="ms-core-brandingText" style="color:white" href="/" >Wp</a></div>' $webApp.Update() Might need an !important, I'm not connected to a farm to try it ...


1

You should use SharePoint Permission page for setting permission. If users are part of Style Resource Readers group then these styles issues will not arise. I would recommend you don't change settings in IIS and use Site Settings -> People & Group for grading permissions.


2

You can't delete the copy because it is associated to the Seattle.html file. What you have to do is create a copy of the Seattle.html file to. This will create a copy of the html file (Seattle_copy(1).html) that you need to rename to anything you want, maybe "delete" as an example. Doing this will give you a dialog that asks if you would like to update the ...


2

The "Pages" library is a publishing page library and will use page layouts. The "Site Pages" library can have completely different content types, most likely wiki pages or web part pages. Don't confuse the two types of libraries. They use completely different architectures. A good summary of the different kinds of libraries can be had here: ...


2

Matt, You can create an user control to handle this in code. You can then add the control to the master page. Take a look at these two examples and let me know if I can assist. Inject dynamic javascript using MasterPage Programmatically add JS/CSS to pages


0

Hi You can use Shareboot follow bellow link you will get the answer in detail. http://www.topsharepoint.com/shareboot-responsive-sharepoint-2013-theme/ here you can download the zip file complete files http://www.topsharepoint.com/freethemes/ShareBootV003.zip


2

If your site is a publishing portal then all pages will be created in library called pages. 1. Page created from site actions not seen in designer. Once you create your page from site actions do following to check for a page in designer Open your publishing site in Designer and click on All Files tab from left menu. Now from the listed menu options, ...


1

As you are using a publishing site, you should create a webpart page in Pages library. This way the master page will be attached to it and it will also get reflected in the designer. you can also add the below code in the page to link it with the default master page of the site <%@ Page language="C#" MasterPageFile="~masterurl/default.master" ...


1

The Html file is being used by Design Manager, and created as when you activate Publishing Infrastructure Feature. Html file doesn't come with team sites template. Update after your comment: It is something that you should decide at top level site of a new Site Collection, whether or not the publishing feature will be needed within that Site Collection ...


1

It worked! Thank you for your help @Keerthi! For future confused individuals like myself this is what worked: With the jQuery library in the Site Assets library I created a new Script Editor web part with the following snippet: <script src="/SiteAssets/jQuery.1.11.3.min.js" type="text/javascript"></script> **alternatively you can replace the ...


0

You can add a javascript file using the content web part. Edit page -> Add web part -> Media and content -> Content editor -> Add Edit the source of the web part and add the following code into it: ‚Äč<script src="/sites/subsite/list/SiteAssets/file.js" type="text/javascript"></script><script ...


2

If you access this from the server itself what happens? If you get a good page the problem is in the delivery (you may need to add your URL for loop back exemption before you can do this). you probably have a application firewall and/or proxy device between the workstation you are browsing from and the servers them selves, blocking the traffic. If for some ...


0

Try putting your custom.js and jquery-1.9.1.min.js at the bottom of the page, so that it loads first. And also why not try loading your function like: $(document).ready(function () { StartCustomFunction(); });


0

Use jQuery(window).bind instead of using $(window).bind. See jQuery.noConflict(). Could other javascript libraries on your page be using the $ variable? $ is just a variable that is used to alias jQuery and being a variable, anything could be assigned to it.


0

Does the "Save" button in the ribbon have a little triangle at the bottom, just under the text that says "Save"? If so, you can click on this to get the different options.


2

I had the same issue and as you said none of the CSS of Script did work for me as well. So I have to patch something with below script. This should be considered as a last option if you have any other solution available. So if you try this, you will have your issue fixed with below script: var interval = null; //Defines the start interval variable ...


1

Can you apply your theme via the UI? Is your feature activated/deployed on your blog? The .master needs to be in the blog web in under _catalogs/masterpage. Also make sure you configured your FeatureStapling correct - Blog is not the same site template as the other sites. Here's a example: <?xml version="1.0" encoding="utf-8"?> <Elements ...



Top 50 recent answers are included