SharePoint 2007 – Enable left navigation for Web Part pages

If you have published an InfoPath form to a SharePoint site, chances are that you have created a webpart page and have published it there.
We part pages are great but you lose the left navigation and it can become confusing to some users.

There is however a simple fix that will enable the left nav for your pages. You will need to open up SharePoint Designer to do this.

  1. Open SharePoint Designer and navigate to your page
  2. Switch to code view and scroll down until approximately line 45.
  3. You see the following two lines.
  4. Highlight these two lines and delete.
  5. Save your page and that’s it!

<asp:Content ContentPlaceHolderId=”PlaceHolderLeftNavBar” runat=”server”></asp:Content>
<asp:Content ContentPlaceHolderId=”PlaceHolderNavSpacer” runat=”server”></asp:Content>
It will look similar to the image below:

Weird option button behavior

Just received a message that one of my forms was not behaving properly.  It seems that when someone seleted one of the option buttons in a set, more than one option would get selected.  I said to myself, “This is not possible.  You can only select one option at a time.”

Well, come to find out, I was right except for one minor detail.  When I double clicked on one of the buttons in design mode to show me the value, I noticed that it had the same value as another option button.  So whenever one was selected, both would populate and give the incorrect value.  I changed the value and now all is well.

Moral of the story……make sure to triple check your values.  It will cause a lot less grief down the road.