Tag Info

Hot answers tagged

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

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


4

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


3

Your custom master page should NOT be residing in LAYOUTS directories, but instead to inside of a custom feature destined to "GhostableInLibrary". The reason being the performance and the fact that file itself will not be stored in the content database, and hence SharePoint will continue to use a cached copy of the file from the file system until it has been ...


3

You can assign a master page in the layouts folder programmatically to a site (SPWeb). In PowerShell it would look something like: $site = Get-SPSite "http://yoursitecollection" foreach ($web in $site.AllWebs) { $web.MasterUrl = "/_layouts/15/yourfolder/themaster.master" $web.CustomMasterUrl = "/_layouts/15/yourfolder/themaster.master" ...


3

Here's the short version: Create a new blank SP project in Visual Studio. Add a new module and add your master page to this (in your case a copy of the Seattle master page with your changes). Configure this module to deploy to the master page gallery. Add a new feature (site collection scoped most likely) Include the module in the feature Add a feature ...


3

In order to overcome the tedium that ensues at the onset of every SharePoint 2010 design project, I have created a simple snippet of CSS that is intended to reset the SharePoint interface styles to inherit from your default document styles. Take a look at the SharePoint 2010 CSS Reset from Kyle Schaeffer. I didn't test it yet, but it seems to do exactly ...


3

My personal take on this is stick to the custom VS solution. The design manager is not something that I would recommend as there are some complications when you want to remove or change the design later. The App solution is usable, but then why not just use the custom VS solution? All in all it depends on the scale of the implementation and how to structure ...


3

Best Practice is to not do it - as Microsoft doesn't support it. "In SharePoint 2013 you cannot uninstall an imported design package, and you should never attempt to deactivate a design package through the solution gallery. If you do, page layout content types are removed and users may not be able to create subsites" Reference: ...


3

The RSViewerPage.aspx is a Out the boxed application page in the _Layouts folder. Application pages, which are also known as "_layouts" pages, are stored in a site's Microsoft Internet Information Services (IIS) virtual directory and support application implementations. Application pages are shared across all sites on the server, whereas a site ...


3

b. You can remove this in Master page: <SharePoint:DelegateControl id="ID_SuiteBarBrandingDelegate" ControlId="SuiteBarBrandingDelegate" runat="server"/> Instead paste needed text. Use Microsoft Sharepoint Designer to do this.


3

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


2

If the idea is that some content should "fall behind" the Ribbon (such as a header, navigation, etc.) you can just place your markup in the with the ID "s4-titlerow". This gets automatically hidden when the Ribbon displays, giving the effect that the Ribbon falls "on top" of the content. Otherwise, I would give a try to any of the script proposed ...


2

If you need real-time converting html to aspx, you can map network drive to masterpages folder, open and edit html file. Aspx file will be updated right after saving html.


2

You cannot do it like that. Visual Studio will not convert your HTML design files into .aspx. You can only do that conversion through SharePoint's Design Manager functionality.


2

If I where you, I would try to ignore that warning and replace <div class="ms-rtestate-field">Page Content field value. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. ...


2

You can type the url directly for lists folder : https://abc.com/Lists/ListName/NewForm.aspx?RootFolder=RootListName&Type=1&IsDlg=1 Type below url for Document Library folder: https://abc.com/DocumentlibraryName/Forms/Upload.aspx?RootFolder=%2fDocumentLibraryName&Type=1&IsDlg=1


2

Two things; firstly, you're not creating a page based on a masterpage. The masterpage is set at the web level, not at the page level. What you're likely seeing is that the page layout you're using for the page doesn't contain any editable regions within SharePoint Designer, thus it wants you to put it into edit mode. Most of the time you're going to create a ...


2

Before considering using a third party tool, think about how often you will use it and if it's worth the additional risks of a third party framework. Not to mention that it will likely add unused code to the SP which will have an impact on the performance. If you only want a few layouts just do them yourself - it took me a few seconds to alter yours for a ...


2

That is pretty much the options or manually apply it via powershell etc You are using the SharePoint 2010, you can think about the sandbox solutions using event handler named WebProvisioned. Deploying Branding Solutions for SharePoint 2010 Sites using Sandboxed Solutions Most of the objects in a site are included and supported by the template. There are a ...


2

If this is part of a page layout, you can have a separate stylesheet for edit mode that relaxes your fixed width or removes your branding altogether to make it easier to modify web part properties. You would use an EditModePanel. I've done things like this in page layouts: <asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" ...


1

I managed to use this selector (in stock SP 2010) to select the title anchors only: td.ms-vb-title .ms-vb a Using this you could style like so: td.ms-vb-title .ms-vb a { word-break: break-all; } And it should break the titles up for you. However it will introduce an entirely new set of problems because it breaks at any letter even in regular spaced ...


1

If you are trying to style over the existing SharePoint CSS styles, you should create a separate stylesheet if you have not already and in your code reference it like so in the <head> tag. You should never modify the corev4.css file. <SharePoint:CSSRegistration ID="CSSRegistration1" name="/_layouts/15/MyStyles/CSS/style.css" After="corev15.css" ...


1

It's better to separate branding from the web template. Use the code RJ suggested to create an event receiver for your Branding Site-scoped feature. Additionally, you can use the WebProvisioned method to set the master page when the sub-site gets created. It will automatically set the masterpage from your root's. Here's the sample code you could use. ...


1

You need to create what is called a Smart Link. This will have the home realm discovery embedded in the request url so that the user will be directed to your local ADFS (or other federated login page). You will not be able to have users click on https://abc.sharepoint.com/* links because there is no way to communicate to the *.sharepoint.com server what ...


1

Can you restore the default Master? Can you look in the UPA and ensure that the profile has a photo associated with it? Once you have done those two things I would then look to tools like Firebug or IE Developer Tools to figure out the issue. Start with restoring the original master.


1

I have done this in 2010 so assume it is possible in 2013. In my case I used a CQWP to get the images from a library and then used jQuery to rotate through the images and set them to the background image of the containing DIV. I then used z-index to ensure my content was positioned over the top of the background image. Hope this helps.



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