Tag Info

New answers tagged

2

Going to leave this up here for anyone that might come across it as I've just worked out what it is. Settings.aspx overrides the content placeholders that my nav control is in: PlaceHolderTopNavBar PlaceHolderHorizontalNav I've just simply brought the nav control outside of these placeholders and hidden the placeholders (settings.aspx will put the nav ...


0

If you activate the SharePoint Server Publishing Infrastructure for the site collection and then activate the SharePoint Publish feature for the site the option to change the page layout should comes up on the ribbon when your are in edit mode. If you are working with custom branding let me reccomend this site http://bindtuning.com for some versions the ...


0

You can use SharePoint API : PublishingWeb (http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.publishing.publishingweb_methods.aspx) with the method "AddPublishingPage" if you need to customize this page after creation (i.e. add webparts on it), simply use SPWebPartManager ...


1

You have the option in the Page layouts and site templates page in New Page Default Settingssection. Select the page Layout that you need to set as default in Select the default page layout For new subsites, Write a feature stapler which sets your desired page layout on default.aspx, while the web provisioning process. or Create a custom web ...


3

Why would you not use the fact that _catalogs is a virtual directory in SharePoint and reference it like this: <scrit type="text/javascript" src="/_catalogs/15/masterpage/Display%20Templates/Filters/Filter_Default.js"> </script> (notice the slash at first, and the 15 telling Sharepoint to look at the 15 hive instead of the 14 hive from 2010) ...


1

I wanted to do the same thing to ensure that all subsites had the same style as my main site. I too could not use SPD due to lack of administrative privaleges at my work PC. What I did was create my own CSS file in notepad. To do that I used one of the defaults in the "Style Library" folder. Once edited I uploaded my CSS file to the "Style Library" ...


0

Have you considered using feature stapling? Feature stapling is designed to activate a feature when a new site is created. Whether it activates can be setup to determine the site template id of the new site. In your case you would simply make sure to activate the stapling when you are creating a site of the templates you require. Once you have this you can ...


0

Just to follow on from James' answer. You could create a "singleton" list (a list with one item) in the site template. That list an have configuration information such as master page name. Your web provisioning provider could read this list item, do what it needs to then deletes the list from the site. Mark.


1

I've found an article here that gives a decent explanation of how to make the Dreamweaver connection work, which does in turn solve the major issues. There are a couple parts of it that I don't think are really necessary, but the gist of it is there. Here are my observations: 1) Building up from a minimal master is not ideal for those who aren't comfortable ...


1

I love these puzzles :) I think one way to do it (first way that comes to mind) is a custom Provisioning Provider for each template type (you specify this in the WebTemp...xml file) - you'll need one class per web template to set the masterpage after the ApplyWebTemplate() method call. I don't think there's a way to pass the Provisioning Provider any ...


0

http://msdn.microsoft.com/en-us/library/gg447066(v=office.14).aspx This will provision the childsites by event receiver by taking toplevel site masterpage...


3

Starter Master Pages is a great resource for learning about SharePoint 2010 master pages and a good starting point for SharePoint 2010 branding projects From _starter_publishing.master <!-- s4-ca is the main body div --> <div class="s4-ca"> <div class="s4-notdlg"> <!-- links for I like it and Tags and Notes ...


1

To make a custom master page I recommend you to start from the V4. Make sure that you don't delete any content place holder from the original master. If you don't want to use some of them on your custom master you should hide it through CSS.


0

After som research I found that someone has retracted the solution fromt he web app, that made the safe controls does not appear in web.config anymore (but for some reason the web app still works fine). And since the solution is not deployed to the web app anymore, but the master page is still has reference to it, it complains and give me an error because ...


1

write javascript on page or place content editor webpart on page and linkup with your js <script src="jquery file path" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { // do whatever operations with any element $('#s4-workspace').hide(); $('#s4-workspace').show(); ...


1

Sure you can, almost all of the elements from the masterpages has an id and / or multiple classes that can help you identify them with jQuery. Use the Content Editor WebPart and add your scripts in the HTML window of the webpart. To identify the ID:s for specific elements in the DOM I recommend you to just inspect the page with the developer tools in your ...


2

I was asked this question in an interview. The answer is clearly described in the below link. http://msdn.microsoft.com/en-us/library/ms543497(v=office.14).aspx


0

Here's a quick fix Open this file: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\WebAnalytics\Report.aspx Change: DynamicMasterPageFile="~masterurl/default.master" To: MasterPageFile="/_layouts/v4.master" Note: This will force the analytics report to use v4.master instead of your custom master page, so you ...


0

On your server run "services.msc" and verify if the search services are running. The SharePoint 2010 search services are: SharePoint Foundation Search V4 SharePoint Server Search 14



Top 50 recent answers are included