12

You need to move the list Url to your module definition: <Module Name="Style Library" Url="Style Library" RootWebOnly="true"> for GhostableInLibrary to work properly. You should of course then remove it from the File Url, since it is now defined on module level. If you have no Url in the Module tag you can only use type="Ghostable" on your File ...


10

The key word in your question is "farm", and this answers your question for you: HIVE. THE HIVE The SharePoint hive was designed to house a single instance of those files which are used across all the sites and web apps within a SharePoint farm (regardless of the site type or branding etc). An example... A typical corporate SharePoint topology ...


10

Insert <SharePoint:ProjectProperty Property="Title" runat="server"/> into the masterpage where you want it. Or if you want it like the default v4.master with a being in the PlaceHolderSiteName ContentPlaceHolder as a link, then use <asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server"> <SharePoint:SPLinkButton runat="server" ...


10

Wael actually had the correct answer. Here is the gist of what needs to be done for packaging a Page Layout: Using Visual Studio, you can create a new Module and add your page layout to that file. Then, in the elements.xml file for that Module, here is what I typically use: <Module Name="PageLayouts" Url="_catalogs/masterpage"> <File Path="...


10

I know you asked for 2013 but I'm leaving the 2010 one here too in case anyone go crazy like you did. 2010 When any ribbon tab is open (other than the 'browse' one) it forces a 135px height on its container, which is a sibling of the #s4-workspace container, see where I am going? #s4-ribbonrow[style='height: 135px;'] ~ #s4-workspace #s4-leftpanel { ...


10

You can copy any of the existing MasterPage's html file (I hope you have already figured that out) and go to Site Settings -> Design Manager -> Edit Master Page Now click your copied MasterPage and at the top-right you can see Snippets.. This is newly introduced in SharePoint 2013 and further explained here Now if you click Search Box, this will give you ...


9

I'll weigh in on this as others have so just restating what some others have posted and why. For years I've been using the StyleLibrary. The reasons to me are obvious and simple: The StyleLibrary document library is there, out-of-the-box and in every site (except blank sites) It let's me create one per site collection so I can use different javascript/css/...


8

I exactly had the same problem. After some investigation and trying out different approches I finally found the solution: 1) Do NOT place the @Register-statement before the DOCTYPE declaration 2) Instead you can place it directly within your Custom ASP.NET Markup Snippet - just before the usage of your custom control Hope that helps!


8

I'm afraid there is no better solution than to use CSS: To fix the icon in the left corner via CSS is pretty much straight forward because it's no icon is just a character out of the Office 365 icon font. #O365_MainLink_NavMenu{ color: lime; } The small css will turn the icons into lime. (OK it doesn't look nice but shows perfectly how they are ...


7

Use an EditModePanel to display two different controls when editing and displaying: <PublishingWebControls:EditModePanel runat=server PageDisplayMode="Edit"> <SharePointWebControls:TextField FieldName="Title" CssClass="emedia-spwc-global" runat="server" /> </PublishingWebControls:EditModePanel> <PublishingWebControls:EditModePanel ...


7

You are able to brand the My Site host itself (where Newsfeed is) with SharePoint Designer. However, each SkyDrive site (My Content site) is a separate site collection. You would need to manually apply your branding to each one individually. Not ideal, but Office 365 and SharePoint Online don't give you any other options. If you have SPO-D (SharePoint ...


7

Hardcoding is never a nice solution! Look in to the SuiteBarBrandingDelegate control: Elements.xml: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!-- SuiteBarBrandingDelegate (the top-left "SharePoint" text on a page) --> <Control ControlSrc="/_controltemplates/15/Zimmergren....


7

You can change the icon using the following small jQuery code $( document).ready(function() { $('.ms-siteactions-imgspan > img').attr('src','url_Of_your_image'); });


6

When developing from Visual Studio I belive that putting the files in the file system always is the best solution when possible. It is much faster and easier to update and the performance is much better than picking it up from the SharePoint DB. Also when branding a corporate site, no matter if it's a public facing site or an intranet, the company has ...


6

This is my favorite for cultivating ideas, http://www.wssdemo.com/livepivot/ as it is specifically SharePoint targetted.


6

James, what Sig posted works for both things that you are looking for. The only change I would suggest would be to omit the use of !important in the style statements. You want to try to avoid using that as much as possible. /* Hide web part title border on hover */ .s4-wpcell:hover .ms-WPHeader td, .s4-wpActive .ms-WPHeader td, .s4-wpcell .ms-WPSelected ...


6

To exclude the outer DIVs from the output you should set the property "SuppressTag" on your EditModePanel like: <!-- Display Title --> <PublishingWebControls:EditModePanel runat="server" PageDisplayMode="Display" SuppressTag="True"><h1><SharePointWebControls:FieldValue FieldName="Title" runat="server" ID="TitleDisplay" /></h1>...


6

You can simply do this by including the following part in your html master. <!--SPM:<SharePoint:CssRegistration Name="/_catalogs/masterpage/custom/css/custom-core.css" After="corev15.css" runat="server"/>--> In the file »custom-core.css« you can simply override existing styles.


6

You can try this solution: Open your site in SharePoint Designer, check out and open the default masterpage in advanced mode (assume it is seattle.master). Scroll down to ending </body> tag. Add the following block of code above: <SharePoint:ScriptBlock runat="server"> if (typeof jQuery == 'undefined') { document.write('<script type="text/...


6

Actually the AdditionalPageHead delegate control is the way to go. To keep things simple I've wrapped the below code into the ASCX, but it would be better suited in an assembly deployed to the GAC. <%@ Control Language="C#" compilationMode="Always" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="...


6

OneDrive is different with MySites. Unless you were referring to OneDrive for business which is the same with MySites OneDrive for Business uses a platform called SharePoint to give each member of your team a place to store and work on documents with others. Because it uses SharePoint it also provides more administration option for working with documents. ...


6

In general, "My site" is a very poor term. Here are the terms that I typically use: "My Site Host" site collection. This is typically a single site collection that can allow all users to see "About Me" and allow functions such as "People Search". This site collection can exist without a single "Personal site" and without "One Drive For business libraries". ...


6

You would want to create an alternate css file. In it you would do .ms-pub-contentLayout { background-color: rgba(255, 255, 255, 1); } Save this css file in your site, then apply it using the Alternate CSS URL option in the MasterPage options, accessible via Site Settings, Master page, Alternate CSS section aka /_layouts/15/ChangeSiteMasterPage.aspx.


5

in most cases for the single site collection i store the CSS, images and JS in a sub folder in style library. If your should be able to use SPD to work with this kind of files it's a good way and you have versioning and permissions regarding to this. In other cases if this files should be at the webapp level and if the CSS file are a part of a branding VS ...


5

Just about to deploy a SP 2010 instance and it was a good read. But i think i would put the images in the Layouts page and the scripting and css files in a sharepoint library. 1) Images won't be updating much.So goes to a file system 2) Scripting,css etc would be in a SP library and it would be easy to modify and save using SP designer. What do you guys ...


5

The trickiest part of this is making sure the brand gets used for all new mysites created from this point on. To do so you need to make sure your branding conforms to a key prerequisite. Is your brand packaged up in a visual studio .wsp and can it be applied to a given site collection by activating one or more features? If so then you can apply it to all ...


5

In the head section of the master page you need to define a tag prefix in the style of: <%@ Register Tagprefix="Yourwebpart" Namespace="yournamespace" Assembly="yourassemblyname, Version=1.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> Also don't forget to change the PublicKeyToken and version number. In the location where you want to ...


5

If you don't apply any particular style to a table inserted in a CEWP, it'll get applied the class ms-rteTable-default. So, instead of what you have done, you can override -in your custom css file- that class: .ms-rteTable-default{ -ms-name:"Tabell - test"; border:1px solid $borderColor; // sass syntax margin: 8px 0; width:98%; } Just make ...


5

Well, the best we can do is provide comparisons, and you will need to make the determination based on what you are trying to accomplish. You could obviously do a combination of both, have device channels and on the respective master pages (add responsive design principles). Comparisons Device Channels Device Management Uses the identity of ...


5

Kareem, Browse to Site Settings page of the subsite and click on the "Master Page" under "Look and feel" section. Select "Specify a master page to be used by this site and all sites that inherit from it:" Select the master page from the dropdown shown in the following screen grab Let me know if you have any questions


Only top voted, non community-wiki answers of a minimum length are eligible