Tag Info

Hot answers tagged

34

At a high level, it often depends on your view of the function of the files: site 'infrastructure' which is critical to branding (e.g. public-facing WCM). Here you might choose to store on the filesystem as users/content authors will never be modifying the files content specific to an individual site, open to customization (e.g. a team site in a collab ...


20

I posted this exact question a few years ago and got 2 detailed responses back, one being from Andrew Connell! Both responses were of similar view point. Andrew said: Anthony- The way I do it is all content goes in one of the three special libraries in each site (Images/Documents/Pages) and all branding stuff goes inside the Style Library. I ...


19

Did you remember to check in the master page? Site Actions > Site Settings > Galleries > Master pages and page layouts Find your master page, select it and select Publish then Approve


17

Here is a link to sharpoint 2010 CSS charts. Can be useful at many times. :) http://sp2010notes.wordpress.com/sharepoint-2010-css-chart/


11

Looks like someone already posted my $.02 :) I don't like them in _layouts... I prefer them in the Style Library. Want my long winded response? Read my article on MSDN: http://msdn.microsoft.com/en-us/library/dd221375.aspx


9

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 ...


8

For a comprehensive list see Rajesh's answer. It's pretty much a 2010 version of Heather Solomons. This site has several of the base classes explained and displayed: http://erikswenson.blogspot.com/2010/01/sharepoint-2010-base-css-classes.html And this site will give you a ton of CSS and branding resources (many SharePoint, some general ones) ...


8

The image is rendered using an tag which you cannot modify using just CSS. You could either A - Use some jQuery to modify the HTML for the searchbox. You can target the srch-gosearchimg CSS class to modify the image tag and point it to another source image. B - Use a delegate control to replace the entire searchbox My vote usually goes for option B ...


8

You can either replace the DelegateControl (if you have farm access) http://msdn.microsoft.com/en-us/library/ms463169.aspx <asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server"> <SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox" Version="4"/> </asp:ContentPlaceHolder> Or you can override the ...


8

Yep the place to do it is the feature activated portion of the feature receiver. You can check if one of your others are already activated and throw an exception if they are. Certain exceptions when thrown will display the message to the end user, others will just say an unexpected event occurred. I think if you throw an applicationexception it will ...


8

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 { ...


7

Heather has just posted the 2010 version of her famous SharePoint CSS chart. It's online here: http://spexp.me/csschart/


7

The internal name for "Description" is "MasterPageDescription". Try that instead.


7

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 ...


7

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 ...


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 ...


6

You can create a theme very easily by using Microsoft Theme Builder. But to do a complete look and feel you are going to have to look at time vs effort vs effectiveness. Branding SP 2010 is very feasible. If your site is a company Intranet, try using a custom theme and then adding a picture banner, this is minimal work and can make a site look very nice. ...


6

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


6

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 ...


6

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 ...


5

If you want to copy your master page to another site collection you can download your master page from the master page gallery and upload it to the the master page gallery of the second site collection. From the root site Site Actions > Site Settings > (Galleries)Master pages and page layouts If you want to deploy the same master page to multiple site ...


5

The site will feature regular logon (forms) For this I would recommend to use the Forms base or windows authentication The site will contain some lists where the content is either retrieved from local database or backoffice system OOTB SharePoint Lists can be use to save and retrieve the data (local i.e. saved in SharePoint ContentDB) while ...


5

In SharePoint Foundation you don't have the option to set the master page through the browser UI. You can change it either through SharePoint Designer, using PowerShell, or using custom code. Example using PowerShell: $web.MasterUrl = "/_catalogs/masterpage/my.master"; $web.CustomMasterUrl = "/_catalogs/masterpage/v4.master"; $web.update()


5

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 ...


5

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 ...


5

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.


4

My first thought here would be to see if you can do this using jQuery if you don't want to go in and create your own custom masterpage. I know that there are several posts on making the left nav accordion style here: http://www.endusersharepoint.com/?s=jquery+for+everyone. You might be able to modify this and use it to affect the styles of the left nav to ...


4

That page: AccessDenied.aspx uses a master page called simple.master and not a default.master located on master page gallery on each site. So you should start from there.


4

I've always put my javascript and css files in a document library where they can be called relatively from a script. The only reason I would say putting them in the _layouts folder is if you plan on implementing the css files into more than one site collection. Why bother? If the styling for CSS is going to stay with the site collection, it's more logical ...


4

Another reason to let your CSS files, JavaScripts, images etc stay in the Style Library, Site Assets or other document library is Sandboxed Solutions in SharePoint 2010. If you plan or even thinks of moving your solution to a user code solution then the file system is a no go.



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