I came to the point that i want to create some webpart pages inside of a SharePoint Site. Not that difficult: You just click the create button and choose blank webpart page. But the created webpart page does not show the quicklaunch bar. It displays nothing on the left side.
In the eyes of a normal user this would break all rules of guidelines for websites or intranets. So how could this gap be closed?
There are some possibilities:
1) Use the Content Editor Webpart and insert some javascript code -> watch this instructions
2) Use SharePoint Designer or Visual Studio and create your own Page Layouts
3) Edit the created webpart page
I think there might be some more options. Option 1) is possible, but you have to insert the javascript code in each webpart page, you have to test it and it might be a performance issue. Option 2 is a good way, but in big SharePoint farms you might don’t have SharePoint Designer respective Visual Studio. Option 3 is an easy going way without using SharePoint Designer or Visual Studio and you don’t need to use javascript.
At first create your webpart page and save it to a library like documents or whatever you like. Go to this library and copy this file to your local pc or choose edit with Notepad++.
In this .aspx file you only have to delete this line:
<asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server"></asp:Content>
This line overrides the quicklaunch bar normally.
This works fine with SharePoint 2007. If you are using SharePoint 2010, you better watch these instructions. In this case you have to work with CSS.
If you know a better solution for this, please let me know.
..:: I LIKE SHAREPOINT ::..
Leave a Reply