.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

Seeking consistent use of title for SP pages, sites, subsites, etc

Posted By:      Posted Date: October 22, 2010    Points: 0   Category :SharePoint
 

I have set up a title line under the main nav that displays the title to let the user know what page they're on.  This is pretty standard "best practices" methodology.  Those darn picky users like to actually know where they are.

The code I put in works fine for sites and subsites, but not for "sitepages" or layouts like Discussions Boards ... where it shows the site or subsite name instead.  Here is the code:

<div name="onetidProject PropertyTitle" class="pagetitle">

<SharePoint:ProjectProperty Property="Title" runat="server"/>

</div>

I realize there needs to be code to discern among the various type pages and this code doesn't cover it.  Probably there is a hint of what to do in the write-up "A Single Breadcrumb for all SharePoint Pages"

http://www.sharepointblues.com/2010/02/08/a-single-breadcrumb-for-all-sharepoint-pages/comment-page-1/#comment-8067

Suggestions?




View Complete Post


More Related Resource Links

Video: SharePoint 2010: Sites as Collections of Pages

  
Find out how pages in SharePoint 2010 play a key role in the structure of a site. The developer (and the user) now has complete control of the user interface including the placement of Web parts anywhere on the page. (Length: 15:53)

Error: Access Denied on default.aspx and other pages of existing and new sites

  
Hi, since today we can't access the project portals of all our projects (Visual Studio TFS 2008/sharepoint admin 3.0 running on esx 4.0). I already checked every possible security settings, they're all OK. I also tried creating a new site but I can't access the site. I can however access all the settings. For example when I try to access: http://server/Sites/Profel I get the "Error: Access Denied" message and the browser is redirected to http://server/Sites/Profel/_layouts/AccessDenied.aspx?Source=http%3A%2F%2Fserver%2FSites%2FProfel%2Fdefault%2Easpx I have no problem navigating to: http://server/sites/Profel/_layouts/settings.aspx and I can go to al lot of pages, but when I want to create something like a calendar I can specify the parameters but when I click the create button I get the same error. http://server/Sites/Profel/_layouts/AccessDenied.aspx?Source=http%3A%2F%2Fserver%2FSites%2FProfel%2FLists%2Ftest%2Fcalendar%2Easpx&Type=list&name=%7B46CB3B46%2DD0F6%2D47F5%2DBA1A%2D3C9654A24A8E%7D I already tried this: http://support.microsoft.com/kb/926642  http://support.microsoft.com/kb/896861/en-us but no success Any help is welcome, Greetz, Peter

i want to keep title 2 master pages???

  

i have master pages and 3 pages...

i wnt to set title to each page how is it????


SharePoint tool - sites, subsites,lists,listitems creation

  

Hi All

Recently I am investigating on a tool which can do the following-

1) helps in creating multiple number of sites, subsites, lists and list items

without having me to manually do all those actions.

 

 

This is because I am in the process of building a test environment for SharePoint which needs to have 100GB of data dispersed among different sites and subsites which turns out to be really tedious for me to create all these manually and fill the data

Does anyone have any idea of existence of such a tool.

 

Can some one help me with ideas to achieve this

 

Thanks

Carol

 


Headline/Title of Web Part Pages

  

I created a web part page.  Since it is a file, I put no spaces in it's Name when creating the page.  However, now when the user views the page, the page title/headline has no spaces in it.  Is there a way to change this short of going into Designer and changing the code?

I'm on MOSS 2007


There are no mistakes; every result tells you something of value about what your are trying to accomplish.

How to Rename My Sharepoint Sites Title under My Links to My Dept sites

  
Hi,

I am building a website using MOSS.I would like to rename My Sharepoint sites to "My Dept Sites" which appear if a person clicks on "My Links" to "My Dept Sites".I would like to organize under different category instead of all the sites coming under "My sharepoint Sites"
Any help would be appreciated in this regard.


Regards,
Raghav

SharePoint Tutorial - Team Sites

  
Team sites are small web sites that are created to store everything about a particular thing. For example a site can be created for a department in an organization like human resources. I site can be created for a particular project. A site can even be created for a meeting. Everything about the thing (department, project, meeting) like documents, lists, calendars, etc. is stored in that site.

High Performance ASP.NET - Speeding Up ASP.NET Pages

  
have been writing a series of blog posts, which I have named High Performance ASP.NET Websites Made Easy! There is no rhyme or reason to the order of these posts and certainly can be read in any order:

Developing High Performance and Scalable ASP.NET Websites
Avoid Chatty Interfaces Between the Tiers in Your ASP.NET Web Application
ASP.NET Page Profiling - Page Tracing - High Performance and Scalable ASP.NET Websites Made Easy
Web Applications: N-Tier vs. N-Layer - Benefits and Trade-Offs
Query Analyzer - Sql Server Database Indexes and Execution Plans

SharePoint Application and Site Pages - Part 1 of 2

  
In this first part of the two part series, Steven covers the differences between Site and Application pages in SharePoint 2007, why each may be used in various circumstances, and prepares for the construction of a menu located application page. After a brief introduction he examines the concept of Site Pages and Application Pages separately in detail with supported screenshots.

SharePoint Application and Site Pages - Part 2 of 2

  
As the second article in a two part series, Steven examines the attributes and details of a SharePoint 2007 application page, including the construction and feature deployment of the same page based project. Since this is a WSS level objective, as opposed to MOSS, you will not need MOSS to work with the code included in this project. Windows Server 2003, WSS, and Visual Studio 2005 are all that is needed, with no additional add-ons. He provides a detailed analysis of each step involved in the creation and deployment of the project.

Application Vs. Content Pages in SharePoint

  
SharePoint has two types of ASPX pages. One type is the application page, also known as a _layout page. The other type of ASPX page is a content page, also known as a site page. Each of these page types is stored in a different location in SharePoint. When developers create custom ASPX pages, they must decide on the page type.

Creating Sites/Lists/List Items under Current User Context in SharePoint By Using SPUserToken

  
Usually we do this by performing the action under RunWithElevatedPrivileges method and updating the listitem using SPListItem.SystemUpdate() method (see here). but this approach has its own flaws like (RunWithElevatedPrivileges will run under system account, we cannot use SystemUpdate for SPSite,SPWeb,SPList, since it runs under system we will "CreatedBy" by as SystemAccount).

Master Pages in MOSS 2007

  
'MasterPages' feature in sharepoint 2007 makes the entire customization job easy.In 2003 we used to face lot of issues to get the same look and feel and the standard behaviour for overall site. In 2007, customizing the look and feel for the entire site can be done in a simple way by using 'MasterPage' feature.

How to Pass Values Between Web Pages ASP.NET

  
You can pass information between pages in various ways, some of which depend on how the redirection occurs. The following options are available even if the source page is in a different ASP.NET Web application from the target page, or if the source page is not an ASP.NET Web page:

Use a query string.

Get HTTP POST information from the source page.

The following options are available only when the source and target pages are in the same ASP.NET Web application.

Use session state.

Create public properties in the source page and access the property values in the target page.

Get control information in the target page from controls in the source page.

How to Pass Values Between ASP.NET Web Pages

  
You can pass information between pages in various ways, some of which depend on how the redirection occurs. The following options are available even if the source page is in a different ASP.NET Web application from the target page, or if the source page is not an ASP.NET Web page:

Use a query string.

Get HTTP POST information from the source page.

The following options are available only when the source and target pages are in the same ASP.NET Web application.

Use session state.

Create public properties in the source page and access the property values in the target page.

Get control information in the target page from controls in the source page.

Combine, minify and compress JavaScript files to load ASP.NET pages faster

  
Websites are getting more interactive these days and most of this interactivity comes from JavaScript. People are using different JavaScript libraries and frameworks to make their websites more interactive and user friendly.
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend