Sharepoint publishing site pages and navigation - sharepoint

When I create pages in a publishing site the pages are automatically added to the navigation.
What if I dont want certain pages to show on the navigation, how can I do that automatically/conditionally?

This blog post from Ton Stegeman should tell you everything you need to know. Look at PublishingWeb.ExcludeFromNavigation().

Remove them from the navigation using site settings?

Related

Not able to add any WebPart on the site page

I have created a "Team Site" on SharePoint online. When I edit a site page, I am not able to view any option of adding a web part on the page. All I can see are following options. Please click the link to see the options. I don't see any web part option there.
I believe there are some features that need to be activated on this site collection. Does anybody know which features need to be activated here to enable web parts on the page?
Unfortunately, WebPart doesn't work in New Experience. You need to be in Classic View to add the WebPart.
You can't add web part to New experience mode Sharepoint page. At least not for now. But you can create a page in Classic mode, it's the same as it was in SP2013.
How to do it - Read this article

SharePoint 2013 online customize personimmersive page

I want to customize the SharePoint 2013 online(office 365) "About me" linked page (personimmersive.aspx) to a custom look and feel.
Even clicking on any SPUser name, for ex in a list item modified by is "John Smith" if we click on it goes to about me page.
This page resides under mysite but I cannot see this page is SharePoint 2013 designer to edit, but modifying SharePoint pages in designer is not always the best way.
Can I just create a new page and redirect all Profile page request to that custom page?
IF I create app parts and edit the page I cannot edit the top portion of the page.
redirecting may not be a feasible approach, specially on the online versions
you can try to take advantage of web parts and css to do what you can
The biggest change is that you can’t edit the entire top portion of
the page. These used to be in a web part zone, and you could choose to
add/remove the web parts. Now they are fixed, with no ability to move
them around or change the parts.
We had removed the Activity Feed web part previously because we were
using Yammer newsfeeds and group feeds embedded throughout the site,
and this part always showed “No activities”. Now this is back again,
with no way to remove it, short of editing the page in SharePoint
Designer.
There are still web part zones on the bottom, but really the problem
is no control over the display of most of the top of the page.
http://weshackett.com/2014/04/office-365-new-profile-page/
There is personImmersive.aspx in SharePoint Designer, you should be able to find it in All Files. Just make sure you connect to [your_domain]-my.sharepoint.com instead of [your_domain].sharepoint.com.
you can't customize the page completely.However you can add custom web part and custom css to change the look and feel to a great extent.
#tiago duarte you can still remove the activity web part.This can be done using script editor webpart and hiding the complete block/div.

Customizing SharePoint Breadcrumb Navigation

I need help trying to customize the Breadcrumb navigation displayed by SharePoint. I have created two .aspx pages in the Pages Library named search.aspx and products.aspx. A link from search.aspx leads to the page products.aspx, and I want the breadcrumb navigation to reflect this structure so that the breadcrumb looks as follows:
Home > Search > Products
and where "Search" links to search.aspx.
However, when I navigate to the products.aspx page, the breadcrumb instead looks like:
Home > Products.
I’d think this would be something easy to do within SharePoint by configuring the site navigation structure, but from my research on the Internet people suggested disabling SharePoint breadcrumbs and creating a custom web part that creates these links and simulates the functionality. If not, others recommend creating a custom sitemap provider. These seem to be a lot of work just to achieve the functionality I described.
Looking in the masterpage, there is a breadcrumb placeholder with the following content, with which my pages inherit from:
Any help/advice would be greatly appreciated.
Thanks,
Ben
You can customize the asp:SiteMapPath control in the MasterPage, this other question has info on it

Moss Sub sites navigation elements

My site structure looks like this:
- top-level site
--sub-site
---page
---page
--sub-site
---page
I want to disable the link on the tab of each sub-site that currently links to default.aspx so that it acts as a heading to the pages only and not a url that can be clicked. When users navigate over the sub-site tab, the pages drop down menu displays.
Would I need to code this?
Coding it would make it easier as it would give you more control over the html. It is not a massive job to create a custom navigation provider and include it in your masterpage/page layouts.
This is a reasonable introduction to your options.
I personally have found the code released here by the SharePoint team to have been very useful.

What are all the hidden list URL's for WSS 3.0 and MOSS?

For example, I have a MOSS publishing page where a user added a web part and I'm unable to remove that web part due to how the layout is rendered. I cant access the small drop down menu to "delete" the web part.
I know there is a ton of unpublished list views that exist and was wondering if we could get a comprehensive list of them here, and maybe find the one that will also solve my problem.
Hey for removing a webpart, you can just append the query string Contents=1 to the webpart page url.
i.e. "http://localhost/sites/SiteCollection/default.aspx?Contents=1" will show you the webpart maintenence page for the webpart page "http://localhost/sites/SiteCollection/default.aspx". Here you can remove the webparts.
From Heather Solomon's blog:
http://www.heathersolomon.com/blog/articles/sp07urls.aspx
Is there some way to make a wiki here?

Resources