[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Navigation in S4.titletable Sharepoint 2010

Posted on 2011-10-07
7
Medium Priority
?
1,170 Views
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?

Thanks!
Rod C.
0
Comment
Question by:Rod_C
  • 5
  • 2
7 Comments
 
LVL 16

Accepted Solution

by:
jessc7 earned 1000 total points
ID: 36934199
0
 

Author Comment

by:Rod_C
ID: 36934316
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!!
0
 

Author Comment

by:Rod_C
ID: 36943797
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?

Thanks!
<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">
	<tbody>
	<tr>
	<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"/>
	</SharePoint:SPLinkButton>
	</td>
	<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" />
	</SharePoint:SPLinkButton>
			</asp:ContentPlaceHolder>
				</h1>
				<span id="onetidPageTitleSeparator" class="s4-nothome s4-bcsep s4-titlesep">
				<SharePoint:ClusteredDirectionalSeparatorArrow runat="server"/> </span>
				<h2>
				<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" />
				</h2>
				<div class="s4-pagedescription" tabindex="0" >
				<asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server"/>
				</div>
				</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"/>
				</asp:ContentPlaceHolder>
				</div>
					</td><td bgcolor="black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
				</tr>
				<tr>
				<td class="s4-navigationmenu"colspan="2" valign="top">

				<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
				<html xmlns="http://www.w3.org/1999/xhtml">
				<head>
				<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" />
				<title>Navigation</title>
				</head>
				<body>
				<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">
             
             		<ul>
             		<li><a href="*">*</a></li>
                    	<li><a href="*">Finance</a></li>
                    	<li><a href="*">Facilities/Maintenance</a></li>
                    	</ul>
             		</div>   
            
			<div class="col_1">
             		<ul>	
     			<li><a href="*">Sales/Marketing</a></li>
                     	<li><a href="*">Job/Order History</a></li>
                     	<li><a href="*">Crystal Reports</a></li>
             		</ul>
            		</div>
            		
            		<div class="col_1">
                	<ul>
                    
   
			</ul>
			<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="" />
			</td></tr>
			</table>

			</body>

			</html>								
			</td></tr>
			</tbody>
			</table>
			</div>
			</div>

Open in new window

withoutnavbar.gif
withnavbar.gif
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Assisted Solution

by:Rod_C
Rod_C earned 0 total points
ID: 36959361
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!
0
 
LVL 16

Expert Comment

by:jessc7
ID: 36959362
Oh good to know! :) Those approvals have gotten me in the past as well...
0
 

Author Closing Comment

by:Rod_C
ID: 36978269
:)
0
 

Author Comment

by:Rod_C
ID: 36959841
..
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
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…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

830 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