Brijesh's Blog

August 19, 2008

What happens when you enable “Publishing” feature of your top level team site?

Filed under: Uncategorized — brij28 @ 7:08 pm
You may want to enable “Publishing” feature for customizing SharePoint sites, creating and publishing your own custom master pages, having “All Sites” search scope available at site collection level etc.

Let’s take a look how Site Actions > Site Settings menu looks like without enabling “Office SharePoint Server Publishing Infrastructure” for your top level team site. Here is the screen capture,

Note that you will see “Top link bar” for managing navigation links for your site,

I have created another two sub sites under this top level site – Test Site Collection (sites/TestSC) and you can see three tabs on the top. “Home” tab for top level site, “Site1” tab for sub site – sites/TestSC/Site1 and “Site2” tab for another sub site – sites/TestSC/Site2 as shown below. It will add these tabs on top automatically as you create them.

Now, let’s enable “Publishing” feature – “Office SharePoint Server Publishing Infrastructure” for Test Site Collection,

You will also need to enable it from Site Actions > Site Settings > Site Features – “Office SharePoint Server Publishing”.

After enabling “Publishing” feature for Test Site Collection, here is how Site Actions > Site Settings menu looks like,

Note that “Top link bar” link is no more available and it has been replaced with “Navigation” link. Also note that “Home” tab has been replaced with the actual name of the top level site – “Test Site Collection”,

Next few screen captures are very important to avoid issues when you turn on and turn off publishing feature for your team site.

If you go to Site Actions > Site Settings > Navigation and delete tabs for sub sites and then you turn off publishing feature for your team site from “Site features” and “Site collection features” then it will create tabs for all the sub sites on the top but it will NOT restore “Home” tab. Let’s try to produce this error. So I am going to delete tabs for all the sub sites under the top level site – “Test Site Collection”,

So I have only one tab on the top, which is “Test Site Collection” – for top level site itself and I would expect to have this tab as “Home” when I turn of publishing feature for this site,

Here is what happens, when I turn off publishing feature for Test Site Collection. “Home” tab is missing and a tab will be created for each sub site under this top level site,

You can definitely add “Home” tab by going to “Top link bar” but it will NOT be highlighted even though you are on top level site – “Test Site Collection”,

As shown below, “Site1” tab is highlighted even though I am browsing top level site – “Test Site Collection”, which is pretty misleading.

Following step is to connect top level site to the portal. This is to show a link to a portal site on the top. Note that the “SharePoint Global Portal > Test Site Collection” link is added on the top. (Note: This has nothing to do with the issues occur when you turn on and turn off publishing features).

If you turn on the publishing feature for your team site again then it will be alright with showing “Test Site Collection”, “Site1” and “Site2” tabs on the top but for some reasons, when you turn off publishing feature it will not result in “Home”, “Site1” and “Site2” tabs on the top, the way it was before, when we created the top level site for the first time (you can take a look from previous screen captures).

Conclusion: If you want to enable publishing feature for your top level team site and you also want to remove tabs for sub sites from the top, remove them before activating publishing feature. If you will remove tabs for sub sites after activating publishing feature and then turn off publishing feature, it will not restore “Home” tab for the top level site.

About these ads

2 Comments »

  1. I just wanted to say thank you for the article! It helped me solve a problem that I was working on. We couldn\’t figure out where the "Top Links" link was going, but now we know! Thanks again.

    Comment by Unknown — December 17, 2008 @ 8:11 am

  2. I had this problem with the Home tab being renamed and was scratching around for a solution which this article and other googling suggests there isn\’t. To resolve I opted to recreate the site collection – this created a "top" site with Home tab OK and publishing infrastrucutre (PI) off. Turned on PI so the content query tool web parts we use work OK and the Home tab changes to the name of the Site then turned off PI straight off away. Strangely turning on and off PI seems to do the necessary whatever provisioning. Works for us but can\’t say what won\’t work with actually turned off for good. This time the Home tab reverts back to Home and I go on to create more sites with Home actually saying Home. Fortunately this is my only dev server. If happened on live may just have to live with it. Morale for us seems to be to not leave PI turned on unless you really have to…

    Comment by Unknown — November 11, 2009 @ 1:50 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Shocking Blue Green Theme Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: