Navigation in S4.titletable Sharepoint 2010

Posted on 2011-10-07
Last Modified: 2012-05-12
Hi Experts,
I have built a custom navigation bar and placed it in a new row in the S4.titletable in my v4.master.
It works great when you are member user or an owner but disappears when you are a reader.
It would re-appear if I give the read-only users "Add items, Edit Items. and Delete Items" permission but that kind of defeats the purpose of having read only members.

What am I missing that makes my table cell disappear when I remove these three permissions?

Rod C.
Question by:Rod_C
    LVL 16

    Accepted Solution


    Author Comment

    Yes. s4-titletable. I have added another row in this table to make a drop down navigation bar. Like I said before it works great! but only for security groups with add, edit, and delete permissions. once I disable these my row disappears. Everything else in the titletable stays like the logo and title text.

    Oh by the way. Great Link!!

    Author Comment

    Ok Correction. I have added another row in the master page in a table that has the s4-titletable class, Attached are some screen shots and a little of the code to give you more of an idea of my problem.
    As you can see with the screen shot without the nav bar the user name and search box also disappears when in read only view. How can I make these section appear regardless of which user type is logging on?

    <div id="s4-workspace">
    <div id="s4-bodyContainer">
    	<div id="s4-titlerow" class="s4-pr s4-notdlg s4-titlerowhidetitle">
    		<div class="s4-title s4-lp">
    			<div class="s4-title-inner">
    				<table class="s4-titletable" cellspacing="0" border="0">
    	<td class="s4-titlelogo" rowspan="2">
    	<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitleGraphic">
    	<SharePoint:SiteLogoImage name="onetidHeadbnnr0" id="onetidHeadbnnr2" LogoImageUrl="/_layouts/images/siteIcon.png" runat="server"/>
    	<td class="s4-titletext">
    	<h1 name="onetidProjectPropertyTitle">
    	<asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server">
    	<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitle"><SharePoint:ProjectProperty Property="Title" runat="server" />
    				<span id="onetidPageTitleSeparator" class="s4-nothome s4-bcsep s4-titlesep">
    				<SharePoint:ClusteredDirectionalSeparatorArrow runat="server"/> </span>
    				<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" />
    				<div class="s4-pagedescription" tabindex="0" >
    				<asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server"/>
    				</td><td bgcolor="black" background="http://*/siteassets/img/searchbg.gif" >
    				<div id="s4-searcharea" class="s4-search s4-rp">
    				<asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server">
    				<SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox" Version="4"/>
    					</td><td bgcolor="black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
    				<td class="s4-navigationmenu"colspan="2" valign="top">
    				<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    				<html xmlns="">
    				<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    				<link rel="stylesheet" href="http://*/siteassets/img/menu.css" type="text/css" media="screen" />
    				<ul id="menu">   
        			<li><a href="#" class="drop">Team Sites</a><!-- Begin 5 columns Item -->
            		<div class="dropdown_5columns"><!-- Begin 5 columns container -->
            		<div class="col_1">
                 		<li><a href="*">*</a></li>
                        	<li><a href="*">Finance</a></li>
                        	<li><a href="*">Facilities/Maintenance</a></li>
    			<div class="col_1">
         			<li><a href="*">Sales/Marketing</a></li>
                         	<li><a href="*">Job/Order History</a></li>
                         	<li><a href="*">Crystal Reports</a></li>
                		<div class="col_1">
    			<table><tr><td><img src="http://*/siteassets/img/sample1.jpg" alt="" />
    			</td><td><img src="http://*/SiteAssets/img/sample2.jpg" alt="" />
    			</td><td><img src="http://*/siteassets/img/sample3.jpg" alt="" />
    			</td><td><img src="http://*/siteassets/img/sample4.jpg" alt="" />
    			</td><td><img src="http://*/siteassets/img/sample5.jpg" alt="" />
    			</td><td><img src="http://*/siteassets/img/sample7.jpg" alt="" />
    			</td><td><img src="http://*/siteassets/img/sample8.jpg" alt="" />
    			</td><td><img src="http://*/siteassets/img/sample9.jpg" alt="" />
    			</td><td><img src="http://*/siteassets/img/sample10.jpg" alt="" />
    			</td><td><img src="http://*/siteassets/img/sample11.jpg" alt="" />

    Open in new window


    Assisted Solution

    Solved my problem. In which made me stick out my tongue and say duh...went into master page gallery settings and noticed that the approval statues was still pending. I clicked on the name and approved it. And now my read only users are now able to see everything. I don't know how or why it became that way because I have been modifying my master for awhile. But now I'm back on track!
    LVL 16

    Expert Comment

    Oh good to know! :) Those approvals have gotten me in the past as well...

    Author Closing Comment


    Author Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    I have just recently built a new SharePoint 2007 farm on a complete Windows 2008 R2 server platform and part of my standard build procedure is to implement a warm up routine, usually in the form of a script that is scheduled every morning to launch …
    SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now