Hot answers tagged

3

Put this below script in CEWP on your page: <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script> <script> $( document ).ready(function() { $("#DeltaPlaceHolderPageTitleInTitleArea span span a").attr("href", _spPageContextInfo.webServerRelativeUrl); }); </script> It will ...


2

This problem might occur because of SharePoint Designer might be disallowed to be used in this Web Application. By default, Web design features are disabled in ONET.XML file. I found out a useful article that solves this issue in details https://blog.devoworx.net/2014/11/14/this-web-site-has-been-configured-to-disallow-editing-with-sharepoint-designer/


2

So take a look at my answer in the question you link to: You are using <%@ to open the code block, the answer uses <%= You are also missing the : string.Empty part in the end of the line So <%= SPContext.Current.ListItem["SODigitalPageDate"] != null ? (new DateTime(SPContext.Current.ListItem["SODigitalPageDate"].ToString()).ToString("s") : ...


1

If you just want to center the content section of the page, I would use css to re-style the #contentBox as follows: #contentBox { margin-left:auto; margin-right:auto; width:1200px; // this should be set to whatever you want to fix the width of the page at }


1

Try to add this CSS code to your Page Layout <Style> body #s4-leftpanel { display: none; } .s4-ca { margin-left: 0px; } </style> For 2013 try this .ms-core-sideNavBox-removeLeftMargin { display: none } /* hide only quick links */ #contentBox { margin-left: 0px } /* make content take full page width */ After more investigation ...


1

You can try this: 1) Open your SharePoint Designer and click on Page Layouts present in Site Object. 2) Choose the Folder in which you have create a page layouts 3) Click on create New Page Layout present in the ribbon 4) Place your HTML Between this: <asp:Content ContentPlaceholderID="PlaceHolderMain" runat="server"> <div id="...


1

You can achieve this by keeping the following code in Content Editor WebPart. $(document).ready(function(){ $('#DeltaPlaceHolderPageTitleInTitleArea').wrap('<a href="Your Link" />'); }); Where DeltaPlaceHolderPageTitleInTitleArea is the Id of your title placeholder. I achieved this functionality in past.



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