Divs in page layout

Hi.
I want to control my layout using divs rather than tables. I have tried to replace the table layout with divs but the portal file refuses to render the layout i Workshop Studio. I have read a couple of places that divs may be used but I have not been able to find any samples.
Anyone managed this or anyone able to give me a hint in this matter?
We use WLP 10 by the way.
-Ronny

If i can not have or maintain concistancy on all pages with DWTs then what other tool would allow us to maintain certain desired material on the whole website.
In other words trying to restrict change of certain div and styles but in the mean time modified like the mainContent boddy by adding more DIV and sprys and styles... IDK if you understand..
Ive also been strugling on this. I don't wish to update page by page on the future...

Similar Messages

  • OOTB Left Navigation error in Page Layout SharePoint 2013

    I created a SharePoint 2013 master page through Design Manager in Sharepoint 2013 and created a page layout like we do trough sharepoint designer as in sharepoint 2010 steps are below
    SharePoint Designer--->Page Layouts---->New Page Layout
    now i want to insert left navigation in the page layout ,i tried to insert the following snippet in the page layout 
    <div data-name="QuickLaunch">
                                        <!--CS: Start Vertical Navigation Snippet-->
                                        <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint,
    Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
                                        <!--SPM:<%@Register Tagprefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation"
    Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
                                        <div id="sideNavBox" class="ms-dialogHidden ms-forceWrap ms-noList">
                                            <!--MS:<SharePoint:AjaxDelta ID="DeltaPlaceHolderLeftNavBar" BlockElement="true" CssClass="ms-core-navigation"
    runat="server">-->
                                                <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderLeftNavBar" runat="server">-->
                                                    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderLeftNavBarTop" runat="server">-->
                                                    <!--ME:</asp:ContentPlaceHolder>-->
                                                    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderQuickLaunchTop" runat="server">-->
                                                    <!--ME:</asp:ContentPlaceHolder>-->
                                                    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderLeftNavBarDataSource" runat="server">-->
                                                    <!--ME:</asp:ContentPlaceHolder>-->
                                                    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderCalendarNavigator" runat="server">-->
                                                    <!--ME:</asp:ContentPlaceHolder>-->
                                                    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderLeftActions" runat="server">-->
                                                    <!--ME:</asp:ContentPlaceHolder>-->
                                                    <!--MS:<SharePoint:SPNavigationManager ID="QuickLaunchNavigationManager"
    runat="server" QuickLaunchControlId="v4QuickLaunchMenu" ContainedControl="QuickLaunch" EnableViewState="false">-->
                                                        <!--MS:<SharePoint:DelegateControl runat="server" ControlId="QuickLaunchDataSource">-->
                                                            <!--MS:<Template_Controls>-->
                                                                <!--MS:<PublishingNavigation:PortalSiteMapDataSource
    runat="server" ID="SiteMapDS" SiteMapProvider="CurrentNavigation" EnableViewState="false" StartFromCurrentNode="true" ShowStartingNode="false" TrimNonCurrentTypes="Heading">-->
                                                                <!--ME:</PublishingNavigation:PortalSiteMapDataSource>-->
                                                            <!--ME:</Template_Controls>-->
                                                        <!--ME:</SharePoint:DelegateControl>-->
                                                        <!--MS:<SharePoint:AspMenu ID="V4QuickLaunchMenu" runat="server"
    EnableViewState="false" DataSourceId="QuickLaunchSiteMap" UseSimpleRendering="true" Orientation="Vertical" StaticDisplayLevels="3" AdjustForShowStartingNode="true" MaximumDynamicDisplayLevels="0"
    SkipLinkText="">-->
                                                        <!--ME:</SharePoint:AspMenu>-->
                                                    <!--ME:</SharePoint:SPNavigationManager>-->
                                                    <!--MS:<SharePoint:SPNavigationManager ID="TreeViewNavigationManagerV4" runat="server"
    ContainedControl="TreeView" CssClass="ms-tv-box">-->
                                                        <!--MS:<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/{0}/viewlsts.aspx"
    ID="idNavLinkSiteHierarchyV4" Text="&#60;%$Resources:wss,treeview_header%&#62;" accesskey="&#60;%$Resources:wss,quiklnch_allcontent_AK%&#62;" CssClass="ms-tv-header">-->
                                                        <!--ME:</SharePoint:SPLinkButton>-->
                                                        <!--MS:<SharePoint:DelegateControl runat="server" ControlId="TreeViewAndDataSource">-->
                                                            <!--MS:<Template_Controls>-->
                                                                <!--MS:<SharePoint:SPHierarchyDataSourceControl
    runat="server" ID="TreeViewDataSourceV4" RootContextObject="Web" IncludeDiscussionFolders="true">-->
                                                                <!--ME:</SharePoint:SPHierarchyDataSourceControl>-->
                                                                <!--MS:<SharePoint:SPRememberScroll runat="server"
    ID="TreeViewRememberScrollV4" onscroll="javascript:_spRecordScrollPositions(this);" style="overflow: auto;">-->
                                                                    <!--MS:<SharePoint:SPTreeView
    ID="WebTreeViewV4" runat="server" ShowLines="false" DataSourceId="TreeViewDataSourceV4" ExpandDepth="0" SelectedNodeStyle-CssClass="ms-tv-selected" NodeStyle-CssClass="ms-tv-item" SkipLinkText=""
    NodeIndent="12" ExpandImageUrl="/{0}/images/tvclosed.png" ExpandImageUrlRtl="/{0}/images/tvclosedrtl.png" CollapseImageUrl="/{0}/images/tvopen.png" CollapseImageUrlRtl="/{0}/images/tvopenrtl.png" NoExpandImageUrl="/{0}/images/tvblank.gif">-->
                                                                    <!--ME:</SharePoint:SPTreeView>-->
                                                                <!--ME:</SharePoint:SPRememberScroll>-->
                                                            <!--ME:</Template_Controls>-->
                                                        <!--ME:</SharePoint:DelegateControl>-->
                                                    <!--ME:</SharePoint:SPNavigationManager>-->
                                                    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderQuickLaunchBottom" runat="server">-->
                                                        <hr />
                                                        <!--MS:<SharePoint:ClusteredSPLinkButton ID="idNavLinkViewAllV4"
    runat="server" Permissions="ViewFormPages" NavigateUrl="~site/{0}/viewlsts.aspx" Text="&#60;%$Resources:wss,quiklnch_allcontent_short%&#62;" accesskey="&#60;%$Resources:wss,quiklnch_allcontent_AK%&#62;"
    CssClass="ms-core-listMenu-item">-->
                                                        <!--ME:</SharePoint:ClusteredSPLinkButton>-->
                                                    <!--ME:</asp:ContentPlaceHolder>-->
                                                <!--ME:</asp:ContentPlaceHolder>-->
                                            <!--ME:</SharePoint:AjaxDelta>-->
                                        </div>
                                        <!--CE: End Vertical Navigation Snippet-->
                                    </div>
    but i get the following error when i create page through this page layout
    "Content Place holders are only allowed in master page"
    Can anyone tell me how do i insert left navigation in page layout which is created through sharepoint designer (.aspx file) but master page is created through design manager

    Hi  ,
    As the error says, you need to  add Content Place holders to Mater Page not the Page Layout.
    For  inserting  left navigation, you can add Vertical Navigation SharePoint component to the master page using Snippets  manager:
    1.
    Open the site then click design manager link from right top corner "Settings".
    2.
    Click “Edit Master Pages” link.
    3.Click your custom mater page. It will open preview page.
    4.
    Once open the preview page then click Snippets menu from top right side. It will open “Snippet Gallery” in new tab page.
    5.
    Click the Vertical Navigation menu item in “DESIGN “tab.
    6.
    In this page we can easy to configure component properties.
    After customization must click the update button then only the changes are reflected in the component snippet.
    7.
    Once click the update button the HTML code automatically generated in the “HTML snippet” box and click “Copy to Clipboard” button.
    8.
    Open the mapped network drive then open the Mater Page HTML file and paste HTML snippet where you want the navigation to show.
    Reference:
    http://www.sharepointpals.com/post/Add-snippets-in-Page-layout-using-design-manager
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • SharePoint2013 referencing external JS file in page layout not working

    Hi,
    I have created a custom page layout. In that custom page layout I have many HTML markup and controls like Dropdowns, hyperlinks (hrefs) etc. 
    Clicking on hyperlink hides or shows a div. The HTML markup and controls shows up fine when I create a page from page layout.
    The issue I am having is the JavaScript to hide or show div is in external JS file, which I am referencing in the page layout as below:-
     <SharePoint:ScriptLink name="~sitecollection/Style Library/Scripts/my.js"
     runat="server" />
    But when I click on “hyperlinks (hrefs)” the script in external js file doesn’t fire.
    I also tried using
    <script src="../../mysite/Style%20Library/Scripts/my.js"></script>
    I even tried below:-
    <script type="text/javascript" language="javascript" src="</script">https://sharepoint.com/mysite/Style%20Library/Scripts/mys.js"></script>
    <SharePoint:ScriptLink id="ScriptExternalJs" runat="server" Name="~SiteCollection/Style Library/Scripts/my.js" OnDemand="false" LoadAfterUI="true" Localizable="false" ></SharePoint:ScriptLink>
    But nothing seem to be working, I am able to refer an external CSS file but
    not JS file within the pagelayout under "PlaceHolderAdditionalPageHead" section.
    Any idea what's wrongs?
    Thanks,

    Hi,
    Please try to use the following statement:
    <link id="Link1" href="<% $SPUrl:~SiteCollection/Style Library/Scripts/my.js%>" runat="server" type="text/script" />
    More information is here:
    http://microsoft-techies.blogspot.com/2014/03/how-to-add-styles-and-javascript-files.html
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • How can I insert multiple page contents in the page layout properly?

    I wanted to create 4 columns on the page layout. These 4 columns are of page contents.
    After creating new web page based on that page layout, I attempted to enter 4 different inputs on all 4 columns.
    Then, the result (from all columns) becomes the same.
    Image - edit the web page based on 4 columns page layout:
    Image - after edit & save:
    How can I insert multiple page contents in the page layout properly?

    First, I copied the HTML snippet for the Page Content on Sharepoint's Design Manger. The code of Page Content HTML snippet is shown below:
    <div data-name="Page Field: Page Content">
    <!--CS: Start Page Field: Page Content Snippet-->
    <!--SPM:<%@Register Tagprefix="PageFieldRichHtmlField"
    Namespace="Microsoft.SharePoint.Publishing.WebControls"
    Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0,
    Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--MS:<PageFieldRichHtmlField:RichHtmlField
    FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server">-->
    <!--PS: Start of READ-ONLY PREVIEW (do not modify)-->
    <div id="ctl02_label" style="display:none">Page Content</div>
    <div id="ctl02__ControlWrapper_RichHtmlField" class="ms-rtestate-field"
    style="display:inline" aria-labelledby="ctl02_label"><div align="left"
    class="ms-formfieldcontainer"><div class="ms-formfieldlabelcontainer"
    nowrap="nowrap"><span class="ms-formfieldlabel"
    nowrap="nowrap">Page Content</span></div>
    <div class="ms-formfieldvaluecontainer"><div class="ms-rtestate-field">
    Page Content field value. Lorem ipsum dolor sit incididuntet dolore.</div>
    </div></div></div><!--PE: End of READ-ONLY PREVIEW-->
    <!--ME:</PageFieldRichHtmlField:RichHtmlField>-->
    <!--CE: End Page Field: Page Content Snippet-->
    </div>
    After I published the page layout, I found the code for Page Content from its ASPX page. The code is shown below:
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/></div>
    So, I attempted to create 4 columns by using 4 HTML snippets of Page Content on the same page layout. The page layout is generated from HTML file to ASPX file.
    Then I edited some parts in ASPX page layout:
    <asp:Content runat="server" ContentPlaceHolderID="PlaceHolderMain">
    <table>
    <tr>
    <td style="width:70px;">&nbsp;</td>
    <td style="width:250px; text-align:right;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:40px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:175px;">&nbsp;</td>
    </tr>
    </table>
    </asp:Content>
    The 4 columns for Page Contents appeared on the web page when I created new page using that page layout. But the problem is that all 4 columns displayed the same result from 4th column.

  • Special characters (norwegian wovels) not showing correctly in Page Layouts

    We have a publishing site which surfaces content from several catalogs in an authoring site in a cross site collection publishing environment.
    We have a problem with labels for Catalog-Item Reuse Snippets containing norwegian vowels/special characters not showing properly. An example of a snippet is shown below. This contains the character ø (oslash).
    <div class="rightColPaddingUnder"><h2>Leverandørkontakt</h2>
    <!--CS: [NavnhovedkontaktleOWSTEXT] Start Catalog-Item Reuse Snippet-->
    <!--SPM:<cc1:CatalogItemReuseWebPart runat="server" UseServerSideRenderFormat="True" ResultType="" NumberOfItems="1" UseSharedDataProvider="True" OverwriteResultPath="False" ResultsPerPage="1" SelectedPropertiesJson="[&#34;NavnhovedkontaktleOWSTEXT&#34;]" Title="$Resources:Microsoft.Office.Server.Search,CBSItem_Title;" Description="$Resources:Microsoft.Office.Server.Search,CBSItem_Description;" MissingAssembly="Cannot import this Web Part." ID="g_1d79f6d5_037f_43b3_ac4b_4e7bc10ff1c3" __WebPartId="{1d79f6d5-037f-43b3-ac4b-4e7bc10ff1c3}">-->
    <!--SPM:<RenderFormat>-->
    <!--DC:Viser verdi fra søk uten ekstra formatering.-->
    <!--SPM:</RenderFormat>-->
    <!--SPM:</cc1:CatalogItemReuseWebPart>-->
    <!--CE:End Catalog-Item Reuse Snippet-->
    </div>
    The frontend messes the character up and displays this as strange A
    We have tried several things in order to fix this but are running out of leads:
    tried to change encoding in the page layout html file from utf-8 to iso-8859-1
    tried to replace ø with the hex value (&#248;) and the old school & + oslash + ; way of encoding characters
    Regional settings on the server is verified to be norwegian
    The strange part is that actual content in the content type columns that we display around the page actually shows the norwegian characters correctly

    Excellent, thanks!. I checked the top level globalization setting i IIS and this was set to Windows-1252.
    However, our work around solution was to add the 
    <meta charset="utf-8">
    declaration inside the first MS-statement inside the body tag of the page layout HTML file like this:
    <?xml version="1.0" encoding="utf-8"?><!--SPG:
    -->
    <!DOCTYPE html[]>
    <html class="no-js" lang="en" xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
    <head>
    <title>Some title
    </title>
    </head>
    <body>
    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderTopNavBar" runat="server">-->
    <meta charset="utf-8">
    <!--MS:<SharePoint:AspMenu ID="TopNavigationMenu" runat="server" EnableViewState="false" DataSourceID="topSiteMap" AccessKey="&#60;%$Resources:wss,navigation_accesskey%&#62;" UseSimpleRendering="true" UseSeparateCss="false" Orientation="Horizontal" StaticDisplayLevels="1" AdjustForShowStartingNode="false" MaximumDynamicDisplayLevels="3" SkipLinkText="">-->
    Strange, but it worked.
    Actually we tried to set the globalization settings in the web.config files of the different IIS sites running in the webapp yesterday like this:
    <add name="SPWindowsClaimsAuthentication" type="Microsoft.SharePoint.IdentityModel.SPWindowsClaimsAuthenticationHttpModule, Microsoft.SharePoint.IdentityModel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
    </httpModules>
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="nb-NO" fileEncoding="utf-8"/>
    <!--<globalization fileEncoding="utf-8" />-->
    <compilation batch="false" debug="false">
    As far as I can understand this should have the same effect as setting this in IIS.
    It seems that the IIS setting actually overrides whatever you put in web.config for globalization options.
    We have updated the IIS setting now to UTF-8 and done a IIS Reset. At the moment we get corrupted characters still, but now the existing aspx-files probably is corrupted and needs to be replaced with fresh ones. I will do a catalog dis-/reconnect.
    I'll update with whatever we end up with as the final solution. Anyway, very grateful for the invaluable help from a fellow Scandinavian :-)

  • Placeholder not visible in custom page layout - publishing site

    Hi,
    I have a custom page layout in publishing site.
    I had added a new textbox to the existing page layout as below:
    <tr id="trCustomContent2">
    <td id="tdCustomContent" style="padding-top:5px;">
    <div id="divCustomContent" style="padding-left:6px !important;vertical-align:top; width:450px;" >
    <h3>
    <PageFieldTextField:TextField ID="TextField1" FieldName="fec9f0d3-77a3-4afc-99d3-99d2cb745d2c" runat="server" >
    </PageFieldTextField:TextField></h3>
    </div>
    </td>
    </tr>
    I deployed the changes, but in the edit mode of the page, i am not able to see the page layout.
    This issue is happening when a subsite is created. For the existing sites, the textbox is getting shown.
    How to fix this?
    Thanks

    Hi Venkatzeus,
    For each page layout, it has associated with a content type.
    You can click into the content type in site content types under Web Designer Galleries in root site settings.
    And then click Add from new site column to create and add the new site column to this content type.
    After that you can add this column to the page layout(.aspx page for the page layout) with the code below(you need to change the fieldname value to the corresponding GUID of the column):
    <div>
    <Publishing:EditModePanel runat="server" CssClass="edit-mode-panel">
    <PageFieldTextField:TextField ID="TextField1" FieldName="6bf50814-27d1-4b36-9980-c702c25080d7" runat="server">
    </PageFieldTextField:TextField>
    </Publishing:EditModePanel>
    </div>
    Best regards.
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Adaptive Page Layouts: UI Corrections on Search/KD Pages

    This thread started as a "how to make search results look like google" but after getting more familiar with search I started to realize that the KD is (to a certain extent) disconnected from the search results look and feel and that both would have to be tweaked. Not only that, but there are great inconsistencies between the 2. SO! I'm going to add info here as I tweak...it isn't rocket science but each thing takes 20-30 minutes to debug and correct and I figure in might save someone a few minutes here or there.
    <BR><BR>
    Like at most companies, our users are always clamoring for us to make search more like google. With the release of 6.5 and adaptive page layouts it is pretty easy to make it "look" like google at least.
    <P>The first thing you'll need to adjust is your mainstyle.css file <BR>(<root> \ptimages\imageserver\plumtree\portal\private\css)
    <P><BR>
    To make the "Properties" link that purple'ish hue:<BR>
    .ali-search-results-modified a {
       <BR> color:#77c;<BR>
    }<BR><BR>
    To make the "Modified By" field green:<BR>
    .ali-search-results-modified {<BR>
       color:green;<BR>
        line-height:1.5em;<BR>
    }<BR><BR>
    To shift the results closer to the left side of the page:<BR>
    #ali-search-results {<BR>
        clear:both;<BR>
        float:left;<BR>
        width:85%;<BR>
        min-width:625px;<BR>
        margin:12px 0 0 4px;<BR>
        padding:0;<BR>
    }<BR><BR>
    To make the main link blue and the right size:<BR>
    .ali-kd-docs-title a {<BR>
         font-family:Arial, Helvetica, sans-serif;<BR>
         font-size:16;<BR>
         font-weight:none;<BR>
         color: #0000CD ;<BR>
         letter-spacing:0px;<BR>
         text-decoration:none;<BR>
    }<P><P>
    Once you get the colors right things still look a little "not quite google". The next set of changes will hopefully fix that a bit.
    <BR>
    <P>
    1) Move the file type icon to the right side of the result title<BR>
    Search for: p class="ali-kd-docs-title" <BR> within your searchresultslayout.html file and move the line that says <pt:core.html pt:tag="img" src="$result.icon" alt="$htmlEncodedName"/> from the start of that section to the end.
    <BR>
    <P>
    2) Add a space between search results<BR>
    Search in your searchresultslayout.html file for "ali-search-results-modified", go down about 10 lines and you should be at a close tr tag: this is the end of your results row and where you want to add the space. Add another TR like so:
    <tr><pt:core.comment><!-- The purpose of this TR is to add space between search entries --></pt:core.comment>
       <td colspan="2">img alt="" src="http://yourserver/imageserver/plumtree/images/spacer.gif" width="1" height="1" border="0" </td>
    </tr><BR><BR>
    That will get your results pretty darn close to google and probably make your users quite happy.
    <BR>
    Post any extra tweaks that help! I could use some help here!
    Edited by geoffgarcia at 06/19/2008 7:44 AM

    The KD Pagination is in a column vs the search results page where it is in a row at the very bottom of the page.
    This looks like an innocent mistake because the fix to make them identical involves moving a single close div tag!
    To make the pagination move to the bottom of the page and into a row (just like search does it) go into your knowledgedirectorylayout.html file and search for <div id="ali-kd-pagenav">
    directly above this is a close div tag for the id="ali-kd-documents". Simply move that close tag beneath the ali-kd-pagenav and restart your IIS and voila! just like search results:)

  • RichHTMLField to insert a Webpart in Sharepoint 2013 Page LAyout

    Hi
    I am trying to insert RichHtmlField in page layout,but when  i edit a page it's not showing option to insert content in a tml rich hfield,i did the following to insert a RichHtmlField.
    Note: i am using Design manager to create a page layout.
    <div class="middlecontent">
    <!--MS:<PublishingWebControls:RichHtmlField ID="RichHtmlField" FieldName="RichHTMLFieldWebparts" runat="server">-->
    <!--ME:</PublishingWebControls:RichHtmlField>-->                 
    </div>
    When i check through firebug(firefox) or developer toolbar(IE) i find the div empty where i inserted the Rich Html Field
    Can you please help what i am missing?

    Try below
    http://sharepoint.stackexchange.com/questions/36989/how-to-format-richhtmlfield-in-publishing-site-custom-page-layout
    http://books.google.co.in/books?id=ZQNwAAAAQBAJ&pg=PA226&lpg=PA226&dq=sharepoint+2013+insert+RichHtmlField+in+page+layout&source=bl&ots=rhnj1lMaUA&sig=QzEfUoyE2BtrUtAWuI5ipdnxA_E&hl=en&sa=X&ei=Alg1U4mAM8P7rAevsIDICg&ved=0CDkQ6AEwAw#v=onepage&q=sharepoint%202013%20insert%20RichHtmlField%20in%20page%20layout&f=false

  • Social comment control in custom page layout stucks at "Working" for read access users

    Hi,
    I created a custom page layout which is attched to my custom content type.
    i have a custom field control which is derived from RichImageField.
    i have also added a social comment control to the page layout using
    <SharePointPortalControls:SocialCommentControl ID="SocialCommentControl1" runat="server"  />.
    Now the problem is, an user who have read access for a pages library should post comments. but its not working and when the user clicks post button it stucks at working. but when the user is given contribute access then it works and the comments are posted.
    And one more thing is if i remove my custom field control from the page layout, then user with read access can post the comment without any issues.
    i am sure the issue is caused by my custom field control but dont know how to solve it. i dont want to give contribute access to the users as they can edit the content of the page also. Any help would be appreciated.
    This is the custom field control code.
    public class mycompanyRichImageField : RichImageField
    public static string webimage = null;
    #region Private variables
    /// <summary>
    /// File upload control used to upload image.
    /// </summary>
    private FileUpload fileUpload;
    /// <summary>
    /// Upload button.
    /// </summary>
    private Button btnSave;
    /// <summary>
    /// Delete button.
    /// </summary>
    private Button btnClear;
    /// <summary>
    /// Article image.
    /// </summary>
    private Image imgPicture;
    /// <summary>
    /// Image width.
    /// </summary>
    private DropDownList ddlWidth;
    /// <summary>
    /// Temporary store image url.
    /// </summary>
    private Label lblFileName;
    /// <summary>
    /// Image text.
    /// </summary>
    private TextBox txtImage;
    /// <summary>
    /// Value of image field.
    /// </summary>
    private ImageFieldValue pageImage;
    /// <summary>
    /// List item - current article.
    /// </summary>
    private SPListItem ArticlePage = SPContext.Current.ListItem;
    /// <summary>
    /// The first image width dropdown list options, default value 240 px.
    /// </summary>
    // private int imageWidthWide = 400;
    //private int height = 225;
    /// <summary>
    /// The second image width dropdown list options, default value 120 px.
    /// </summary>
    private int imageWidthNarrow = 126;
    /// <summary>
    /// Picture library to store the image files.
    /// </summary>
    private string imageLibrary = "Images";
    /// <summary>
    /// List field to store Article image.
    /// </summary>
    private string imageField = "Page Image";
    /// <summary>
    /// List field to store image text.
    /// </summary>
    private string imageTextField = "Image Text";
    private string preview = "Preview";
    /// <summary>
    /// List field to store rollup image.
    /// </summary>
    private string rollupImageField = "Rollup Image";
    /// <summary>
    /// Whether to update the rollup image using the current image.
    /// </summary>
    private bool updateRollupImage = false;
    /// <summary>
    /// Whether to display image text.
    /// </summary>
    private bool enableImageText = true;
    #endregion
    #region Properties
    /// <summary>
    /// Gets or sets the first choice of image width.
    /// </summary>
    //public int ImageWidthWide
    // get
    // return this.imageWidthWide;
    // set
    // this.imageWidthWide = value;
    //public int ImageHeight
    // get
    // return this.height;
    // set
    // this.height = value;
    /// <summary>
    /// Gets or sets the second choice of image width.
    /// </summary>
    public int ImageWidthNarrow
    get
    return this.imageWidthNarrow;
    set
    this.imageWidthNarrow = value;
    /// <summary>
    /// Gets or sets the name of the picture library that is used to store image files.
    /// </summary>
    public string ImageLibrary
    get
    return this.imageLibrary;
    set
    this.imageLibrary = value;
    /// <summary>
    /// Gets or sets the field name of image.
    /// </summary>
    public string ImageField
    get
    return this.imageField;
    set
    this.imageField = value;
    /// <summary>
    /// Gets or sets the field name of image text.
    /// </summary>
    public string ImageTextField
    get
    return this.imageTextField;
    set
    this.imageTextField = value;
    /// <summary>
    /// Gets or sets the field name of rollup image.
    /// </summary>
    public string RollupImageField
    get
    return this.rollupImageField;
    set
    this.rollupImageField = value;
    public string Preview
    get
    return this.preview;
    set
    this.preview = value;
    /// <summary>
    /// Gets or sets a value indicating whether to update rollup image using current image.
    /// </summary>
    public bool UpdateRollupImage
    get
    return this.updateRollupImage;
    set
    this.updateRollupImage = value;
    /// <summary>
    /// Gets or sets a value indicating whether the image text should be displayed.
    /// </summary>
    public bool EnableImageText
    get
    return this.enableImageText;
    set
    this.enableImageText = value;
    #endregion
    #region Override methods
    /// <summary>
    /// Using get method instead of set method to set the value.
    /// set method cannot be used here.
    /// </summary>
    public override object Value
    get
    ImageFieldValue value = new ImageFieldValue();
    value.ImageUrl = string.IsNullOrEmpty(this.lblFileName.Text) ? this.imgPicture.ImageUrl : this.lblFileName.Text;
    // value.Width = string.IsNullOrEmpty(this.ddlWidth.Text) ? this.ImageWidthWide : Convert.ToInt32(this.ddlWidth.Text);
    // value.Height = this.ImageHeight;
    ////update the page rollup image.
    if (this.UpdateRollupImage)
    this.ArticlePage[this.RollupImageField] = value;
    if (this.EnableImageText)
    this.ArticlePage[this.ImageTextField] = this.txtImage.Text;
    this.ArticlePage.SystemUpdate(false);
    return value;
    set
    base.Value = value;
    /// <summary>
    /// Intialize all controls.
    /// </summary>
    protected override void CreateChildControls()
    this.pageImage = (ImageFieldValue)this.ArticlePage[this.imageField];
    this.ddlWidth = new DropDownList();
    this.ddlWidth.Width = 99;
    // this.ddlWidth.Items.Add(this.ImageWidthWide.ToString());
    this.ddlWidth.Items.Add(this.ImageWidthNarrow.ToString());
    if (this.pageImage != null && !string.IsNullOrEmpty(this.pageImage.ImageUrl))
    // if (this.pageImage.Width >= this.ImageWidthWide)
    // // this.ddlWidth.SelectedIndex = 0;
    //else
    // // this.ddlWidth.SelectedIndex = 1;
    // this.Controls.Add(this.ddlWidth);
    this.imgPicture = new Image();
    if (this.pageImage != null && !string.IsNullOrEmpty(this.pageImage.ImageUrl))
    this.imgPicture.ImageUrl = SPContext.Current.Site.Url + this.pageImage.ImageUrl;
    this.Controls.Add(this.imgPicture);
    this.fileUpload = new FileUpload();
    this.fileUpload.Width = 180;
    this.Controls.Add(this.fileUpload);
    this.btnSave = new Button();
    this.btnSave.Text = "Upload";
    this.btnSave.CausesValidation = false;
    this.btnSave.Visible = string.IsNullOrEmpty(this.imgPicture.ImageUrl) ? true : false;
    this.Controls.Add(this.btnSave);
    this.btnSave.Click += new EventHandler(this.BtnSave_Click);
    this.btnClear = new Button();
    this.btnClear.Text = "Delete";
    this.btnClear.CausesValidation = false;
    this.btnClear.Visible = !this.btnSave.Visible;
    this.Controls.Add(this.btnClear);
    this.btnClear.Click += new EventHandler(this.BtnClear_Click);
    this.lblFileName = new Label();
    this.Controls.Add(this.lblFileName);
    if (this.EnableImageText)
    this.txtImage = new TextBox();
    this.txtImage.TextMode = TextBoxMode.MultiLine;
    this.txtImage.Rows = 4;
    this.txtImage.Text = this.ArticlePage[this.ImageTextField] == null ? string.Empty : this.ArticlePage[this.ImageTextField].ToString();
    this.Controls.Add(this.txtImage);
    /// <summary>
    /// Render the field in page edit mode.
    /// </summary>
    /// <param name="output">Output stream.</param>
    protected override void RenderFieldForInput(System.Web.UI.HtmlTextWriter output)
    output.Write("<div style='padding-bottom:12px'>");
    if (!string.IsNullOrEmpty(this.imgPicture.ImageUrl))
    output.Write("<br />");
    // this.imgPicture.Width = ((ImageFieldValue)this.Value).Width;
    // this.imgPicture.Height = ((ImageFieldValue)this.Value).Height;
    this.imgPicture.RenderControl(output);
    if (this.EnableImageText)
    this.txtImage.Width = this.imgPicture.Width;
    if (this.EnableImageText)
    output.Write("<br />");
    this.txtImage.RenderControl(output);
    output.Write("<br /><br />");
    this.fileUpload.RenderControl(output);
    this.btnSave.RenderControl(output);
    this.btnClear.RenderControl(output);
    output.Write("<br /><br />");
    //output.Write("Width:");
    //this.ddlWidth.RenderControl(output);
    output.Write("</div>");
    /// <summary>
    /// Render the field in page display mode.
    /// </summary>
    /// <param name="output">Output stream.</param>
    protected override void RenderFieldForDisplay(System.Web.UI.HtmlTextWriter output)
    if (this.ListItemFieldValue != null)
    output.Write("<div style='padding-bottom:12px'>");
    base.RenderFieldForDisplay(output);
    if (this.EnableImageText && this.ArticlePage[this.ImageField] != null
    && this.ArticlePage[this.ImageTextField] != null)
    //string strImgWidth = string.IsNullOrEmpty(this.ddlWidth.Text) ? this.ImageWidthWide.ToString() : this.ddlWidth.Text;
    //string strImgHgt = this.ImageHeight.ToString();
    output.Write("<div style='width:");
    // output.Write(strImgWidth);
    // output.Write(this.imgPicture.ImageUrl);
    // output.Write("<div style='height:");
    // output.Write(strImgHgt);
    output.Write(";margin-right:4px;' align='left'>");
    output.Write(this.ArticlePage[this.ImageTextField].ToString());
    output.Write("</div>");
    output.Write("</div>");
    #endregion
    #region Button events
    /// <summary>
    /// Delete image file from the library and empty the image field.
    /// </summary>
    /// <param name="sender">Delete button.</param>
    /// <param name="e">No arguments.</param>
    protected void BtnClear_Click(object sender, EventArgs e)
    ////remove the image file from the Images library
    using (SPSite site = new SPSite(
    SPContext.Current.Web.Url,
    SpSecurityHelper.GetSystemToken(SPContext.Current.Site)))
    using (SPWeb currentWeb = site.OpenWeb())
    SPDocumentLibrary imageList = (SPDocumentLibrary)currentWeb.Lists[this.ImageLibrary];
    SPFolder rootFolder = imageList.RootFolder;
    try
    currentWeb.AllowUnsafeUpdates = true;
    rootFolder.Files.Delete(this.imgPicture.ImageUrl);
    rootFolder.Update();
    catch
    ////cannot delete specified file, this means file doesn't exist, the file must be deleted
    ////directly in the Images library by someone
    ////don't do anything here
    finally
    currentWeb.AllowUnsafeUpdates = false;
    if (this.pageImage != null)
    this.pageImage.ImageUrl = string.Empty;
    this.imgPicture.ImageUrl = string.Empty;
    this.lblFileName.Text = string.Empty;
    this.btnClear.Visible = false;
    this.btnSave.Visible = true;
    /// <summary>
    /// Upload image file to library and fullfilled the image field.
    /// </summary>
    /// <param name="sender">Upload button.</param>
    /// <param name="e">No argument.</param>
    protected void BtnSave_Click(object sender, EventArgs e)
    this.ArticlePage[this.ImageTextField] = this.txtImage.Text;
    this.ArticlePage.SystemUpdate(false);
    string fileName = this.fileUpload.FileName;
    ////validate file name
    if (fileName == string.Empty || !this.fileUpload.HasFile)
    this.lblFileName.Text = string.Empty;
    if (this.pageImage == null)
    this.Page.ClientScript.RegisterStartupScript(typeof(string), "NoImage", "<script>alert('No image found, please select an image.')</script>", false);
    else
    using (SPSite site = new SPSite(
    SPContext.Current.Web.Url,
    SpSecurityHelper.GetSystemToken(SPContext.Current.Site)))
    using (SPWeb currentWeb = site.OpenWeb())
    SPDocumentLibrary imageList = (SPDocumentLibrary)currentWeb.Lists[this.ImageLibrary]; ////Images
    SPFolder rootFolder = imageList.RootFolder;
    ////the image file name must be unique except for the file name extension
    string imageName = this.ArticlePage.UniqueId.ToString("N") + this.FieldName + Path.GetExtension(fileName);
    ////first delete the image file from the Images library.
    ////if a file with different file name extension is uploaded, the old file won't be overwritten,
    ////and will never be deleted from this page, so it must be deleted before adding a new one.
    if (this.pageImage != null && !string.IsNullOrEmpty(this.pageImage.ImageUrl))
    try
    currentWeb.AllowUnsafeUpdates = true;
    rootFolder.Files.Delete(this.pageImage.ImageUrl);
    rootFolder.Update();
    catch
    ////cannot delete specified file, this means file doesn't exist, the file must be deleted
    ////directly in the Images library by someone
    finally
    currentWeb.AllowUnsafeUpdates = false;
    try
    currentWeb.AllowUnsafeUpdates = true;
    SPFile imageFile = rootFolder.Files.Add(imageName, this.fileUpload.FileBytes, true);
    finally
    currentWeb.AllowUnsafeUpdates = false;
    // this.lblFileName.Text = currentWeb.Site.Url + imageList.RootFolder.ServerRelativeUrl + "/" + imageName;
    this.lblFileName.Text = currentWeb.Site.Url + imageList.RootFolder.ServerRelativeUrl + "/_w/" + imageName.Substring(0, imageName.LastIndexOf(".")) + "_" + imageName.Substring(imageName.IndexOf(".") + 1) + "." + imageName.Substring(imageName.IndexOf(".") + 1);
    // webimage = currentWeb.Site.Url + imageList.RootFolder.ServerRelativeUrl + "/_w/" + imageName.Substring(0,imageName.LastIndexOf("."))+"_"+imageName.Substring(imageName.IndexOf(".")+1) +"." + imageName.Substring(imageName.IndexOf(".")+1);
    this.imgPicture.ImageUrl = this.lblFileName.Text;
    this.btnClear.Visible = true;
    this.btnSave.Visible = false;
    #endregion
    This is how i used it in my page layout
     <Article:mycompnayRichImageField runat="server" ID="RichImageField1" InputFieldLabel="Keep image text short and precise" FieldName="PublishingPageImage" UpdateRollupImage="true"/>
    Aruna

    Hi,
    For this issue, I'm trying to involve someone familiar with this topic to further look at it.
    Thanks,
    Jason Guo
    TechNet Community Support

  • Insert (add) RichImageField to RichHtmlField in a Page Layout

    I have created my own RichImageFields and RichHtmlField and a Page Layout using Visual Stuido 2102. Is it possible to insert or add RichImageFields in a RichHtmlField. My client wants to do this because it will be easier to add caption to the images (using
    PublishingImageCaption) inside the body of the page. 
    Thanks and appreciate all kind of advice.

    Thanks,
    No it wasn't what I want.
    I wanted to add following part of your code inside the PublishingPageContent field
    <div class="captioned-image">
    <div class="image">
    <PublishingWebControls:RichImageField FieldName="PublishingPageImage" runat="server"/>
    </div>
    <div class="caption">
    <PublishingWebControls:RichHtmlField FieldName="PublishingImageCaption" AllowTextMarkup="false" AllowTables="false" AllowLists="false" AllowHeadings="false" AllowStyles="false" AllowFontColorsMenu="false" AllowParagraphFormatting="false" AllowFonts="false" PreviewValueSize="Small" AllowInsert="false" AllowEmbedding="false" AllowDragDrop="false" runat="server"/>
    </div>
    </div>

  • Is there an RI that uses div s for layout instead of table s?

    I am using Struts Tiles, DWR, script.acu.lous drag and drop and JSF.
    So, my problem is that since I have incorporated <f:verbatim>, the page is being rendered incorrectly and I don't know how to recombine it back to look like it should. The layout I am doing has a header at top, left hand column for navigation and content well in the middle. Essentially, this boils down to, in JSF, a table row with one table data element for the header and one table row with two table data elements for the nav and content. In the content well, it utlizes a JSF subview with JSF components and then below this a JSF subview with a JSF <f:verbatim>. On the pages that I don't use <f:verbatim>, the layout renders correctly. The rendering problem is that when the markup is rendered, the <f:verbatim> tag is rendered outside the <f:view> with the other JSF subview in the content rendered correctly in the layout. In other words, the whole page except the <f:verbatim> is rendered in a <table>. I understand, from an onjava article, the JSP and JSF rendering occurs in parallel and I am guessing this might be the problem. The page is rendering now with the header in the right place, the nav not behaving like it used to but in the correct place, the portion of the content that is a bunch of JSF components is located to the right of the nav. The <f:verbatim> that should be rendered directly below the JSF components on the content page and to the right of the nav is rendered under both the nav and JSF components outside the <table>.
    Is there a RI that uses divs to do layout instead of tables?
    OR
    How can I get the <f:verbatim> back into the flow of the page so everything is lined up correctly?
    Please feel free to yell at me if this is addressed in another thread. I will search for it if this is the case. I haven't had the time to do a thorough search.
    Regards,
    Dan
    sidenote: Using tables for layout is not considered good web design. There are plenty of sites that illustrate use of CSS for layout. I find this a little strange since Sun is always promoting best practices and then it doesn't embrace other industry best practices. This seems more like a MS bullying tactic, but maybe Sun and MS are one in the same.

    Cool. That is a great move. The only concern I have now is that there aren't any containers out that support JSP 2.1 and Servlet 2.5 to enable JSF 1.2 except for glassfish. I am using tomcat and not a heavy weight application server. I couldn't find a roadmap on Apache either for Tomcat to know when they will be coming out with Tomcat 6 I imagine. Is there an article or tutorials out yet that demonstrate how to markup a page with the new specification? That yould help. The more I think about using custom components, the more I lean towards using the standard.
    Thanks for the heads up. Now I have to think about setting up glassfish and migrating from tomcat unless there is other news I am unaware of =P.
    Dan

  • Page Layout Trouble

    I have designed a page layout in Fireworks 8 that my
    client is very intereted in. It consist of a brick wall with
    antique paper nailed to it. I would like the "paper" to contain the
    content. When I add the content to the layout in Dreamweaver 8, the
    paper graphic is no longer in alignment with the rest of the
    design. I would like for this "content area" to be scrollable,
    separate from the rest of the design. This site needs to be in html
    and not flash, due to the target audiences internet connections.
    Does anyone have any suggestions?

    Loco-Motive,
    Thanks a bunch for the tip. I'm still fairly new to CSS. That
    was exactly what I was trying to figure out. One thing that this is
    doing now though is when the screen resolution is changed, the
    <DIV> stays absolute and then the rest of the background
    graphic is mis-aligned. Can this be prevented?
    FluidMX

  • WebPart Zone in Page Layout not displaying

    I have created a new page layout using Design Manager,  two files are created, one HTML file, and the other ASPX file with the same name. You cannot edit the .aspx file directly in SPD, you can only edit the .html file. You will find in the .html all
    those ASPX tags commented.
    In the HTML file I added a web part zone, I copied a snippet from the design manager, right after a page content snippet. As shown below.  Saved and previewed the page with no errors.  The Page Content shows up just fine but there is
    no WebPart Zone underneath it.?  Any Ideas why it is missing?
    Thanks

    Here is the code, I'm helping Nvr2grateful since he can't post code at the moment.
    <div>
    <!--CS: Start Page Field: Page Content Snippet-->
    <!--SPM:<%@Register Tagprefix="PageFieldRichHtmlField" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--MS:<PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server">-->
    <!--PS: Start of READ-ONLY PREVIEW (do not modify)-->
    <div id="ctl02_label" style="display: none">
    Page Content</div>
    <div id="ctl02__ControlWrapper_RichHtmlField" class="ms-rtestate-field" style="display: inline" aria-labelledby="ctl02_label">
    <div align="left" class="ms-formfieldcontainer">
    <div class="ms-formfieldlabelcontainer" nowrap="nowrap">
    <span class="ms-formfieldlabel" nowrap="nowrap">Page Content</span></div>
    <div class="ms-formfieldvaluecontainer">
    <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.
    Duis aute irure dolor in reprehenderit in voluptate velit esse
    cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
    cupidatat non proident, sunt in culpa qui officia deserunt mollit
    anim id est laborum.</div>
    </div>
    </div>
    </div>
    <!--PE: End of READ-ONLY PREVIEW-->
    <!--ME:</PageFieldRichHtmlField:RichHtmlField>-->
    <!--CE: End Page Field: Page Content Snippet--></div>
    <div data-name="WebPartZone">
    <!--CS: Start Web Part Zone Snippet-->
    <!--SPM:<%@Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <div xmlns:ie="ie">
    <!--MS:<WebPartPages:WebPartZone runat="server" ID="xed9276d99cd9448285b5974e2d3b5e87" AllowPersonalization="False" FrameType="TitleBarOnly" Orientation="Vertical">-->
    <!--MS:<ZoneTemplate>-->
    <!--DC: Replace this comment with default web parts for new pages. -->
    <!--ME:</ZoneTemplate>-->
    <!--ME:</WebPartPages:WebPartZone>-->
    </div>
    <!--CE: End Web Part Zone Snippet-->
    </div>
    Brandon Atkinson
    Blog: http://sharepointbrandon.com

  • Custom Page layout and related tmp files causing issues

    Hello,
    I am trying to create custom page layouts using Design Manager and then editing the html file using a text editor.
    I have created a content type (inherited from Page content type) and used this content type for my page layout. I used the snippet manager to add relevant webpart zones and snippets I needed and published the page layout. Under status it shows conversion
    successful but I can see another file with similar name to my page laout but with ~RF119c862.TMP being created. 
    Even if I publish my page layout my webparts (via snippets I added) doesn't reflect in the page. I checked the preview of my page layouts and webparts appear when it is in draft mode but the moment I publish it loses all snippets (webparts). 
    I checked the html even after the page layout is published and I can see all webpart zones, my divs and snippet code there, somehow once I publish it the corresponding aspx page doesn't get updated.
    Has anybody come across this before, I'm trying this on Office 365 tenant site.
    Regards,
    Manoj
    -- The opinions expressed here represent my own and not those of anybody else -- http://manojvnair.blogspot.com

    I have seen a similar problem on-prem when a client had distributed cache misconfigured, but as your problem is with SPO, I doubt that is the problem.
    Try creating another page layout but keep its associated content type untouched. Try adding snippets and such, publish and see what happens. If that works, then there must be something wrong with your custom content type.
    Also, when you save a change to your .html page layout, open its associated aspx page layout in SPD and see if your changes were reflected there as well. As soon as your edit a html page layout and save your changes, SharePoint should automatically update
    your aspx page layout right away.
    Eric Overfield - PixelMill -
    blog.pixelmill.com/ericoverfield -
    @EricOverfield

  • Custom publishing page layouts have undesirable overlapping effect in edit mode

    I am very new to SharePoint branding.
    I've created several custom page layouts using SPD.  They are used in publishing site collections with basic web part zones in various <div>'s for layout purposes.  The issue I've run into is that while in display mode the pages work fine,
    but in edit mode there is an undesirable overlap that causes the web part editing panel to become obscured or unusable. 
    I have ran across a few search hits that seem to dance around this topic, but nothing I've found thus far has truly addressed my issue.  Am I editing the CSS, master page, page layout or something else to ensure the edit mode is functional?
    Thank you all for your time and expertise.

    I have solved my own problem, but felt it might be necessary to document it here for those just starting out.  For a page layout to display properly, at least for me, I had to invoke the corev15.css classes in my <div> tags to convert to table
    elements when switching to Edit mode.   While this is ultimately not my first choice, I was able to add some custom styles in this CSS file to style my div's in a more suitable fashion. 
    On a publishing page, you may have code inside your <asp:Content> tag like:
    <div class="welcome welcome-splash">
    <PublishingWebControls:EditModePanel runat="server" CssClass="edit-mode-panel title-edit">
    <SharePointWebControls:TextField runat="server" FieldName="Title"/>
    </PublishingWebControls:EditModePanel>
    </div>
    From here, I had begun to style my <div>'s with inline CSS but it will break in Edit mode. Here's where I realized you needed to keep consistent with the corev15.css. Here's what should follow: 
    <div class="ms-table ms-fullWidth">
    <div class="tableCol-75">
    <div class="cell-margin">
    <WebPartPages:WebPartZone id="g_E35F979436254554ABCD54B2AD28A4BF" runat="server" title="Header"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
    </div>
    <div class="ms-table ms-fullWidth">
    <div class="cell-margin tableCol-50">
    <WebPartPages:WebPartZone id="g_A61037130DF64BF09145576D6DB1C679" runat="server" title="Middle Left"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
    </div>
    <div class="cell-margin tableCol-50">
    <WebPartPages:WebPartZone id="g_F8C0B2FDD77749B3B9274445692F056B" runat="server" title="Middle Right"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
    </div>
    </div>
    <div class="cell-margin">
    <WebPartPages:WebPartZone id="g_7BBC1C180FD84BF08E9E96ED9C5D2B33" runat="server" title="Bottom"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
    </div>
    </div>
    <div class="cell-margin tableCol-25">
    <WebPartPages:WebPartZone id="g_A32DD6684EF447559FF3D6A1539735D4" runat="server" title="Right"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
    </div>
    The above code makes a typical 75:25 2-column page with two additional spaces in the left side for extra web parts. I hope by posting this example I can help other young budding SharePoint branding people to get their feet wet. Thank you all for viewing my
    issue and I think this can be marked as closed now.

Maybe you are looking for

  • Can't update or install revel on my ipad air

    Hi, there is an update for the app for Ipad on the Itunes store, but I can't update revel, so I uninstall with problem and after I try to re-install but I have this error messge who have an idea?

  • I can't export my video from final cut pro.

    I'm having trouble exporting anything from final cut pro x because there isn't any share button that I was use to before. It pretty much seems like there are no options seeing as they have simplified it to the point where there are no longer any opti

  • ThinkPad T540p Windows 8.1 BSOD Intel HD 4600 Graphics?

    When attempting to play video, user encounters a BSOD with the error mentioning the file "lgdkmd64.sys".  This file is tied into the Intel Graphics Driver files.  I have used the Lenovo support site to reload the driver file set for the laptop, and t

  • Accidentally deleted Utilites Folder

    Hi, I have accidentally deleted my Utilities folder in 'Applications' thinking it was a folder for Adobe CC which I wanted uninstalled.  Trash Can has been emptied, also, and to pay for my sins I never had Time Machine turned on, never thought I'd ne

  • Toy Store related question

    I was reviewing some of the code for the toy store project and wondering why in ShoppingCart fillInCartItemDetailsUsingViewObject method the following code was use to get the view object: ViewObject lookup = getDBTransaction().getRootApplicationModul