How to get Site Icon to properly update in Sharepoint 2010 Web Part Page - sharepoint

I'm working on creating a reusable and extensible web application in SharePoint 2010. I've created a master page to apply across all pages in the site. However, whenever I create a web part page and navigate to it, the site icon does not display. Instead of my custom site icon being displayed it shows the default SharePoint icon. I can get around this by placing the icon directly into the master page, but that would require me to create a new master page if I ever wanted to extend this web application.
Does anyone know why this is happening? My initial thought was that the web part page had somehow been customized to not use the default master page, but that does not seem to be the case: if I update the master page it is reflected in the web part page.
Googling around and checking this site yielded little answers. I only found one post out there that reported the same issue I am observing but there was no solution.
If it helps, I did notice one phenomena when navigating to this page. Before the page completely loads, the correct site icon appears for a split second before being replaced with the default site icon. Hope that helps.

I ran into the same issue this morning and didn't want to create a custom master page just for this, but luckily it was quickly resolved by following admlcrunch's suggestion (on SharePoint 2010):
Go to the desire page
Click on the "Page" tab at the top
Click on the "Title Bar Properties" at the right (in the ribbon)
In the Image Link section on the right, paste in the image URL
Click OK
The only bad thing about this is, you have to update every Web Part page that you want custom icon image to display.

I was just having the same issue. Web Part Pages have their own icon that you can set.
To set the icon click Page > Title Bar Properties. This will open the Web Part Page Title Bar dialog. In this dialog there is an area to set the Image Link. You can set the icon here. I just copied the URL to the site icon.

Open the page in designer and remove the custom titlebar place holder:
[WebPartPages:TitleBarWebPart]
from the :
[asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea"]

Related

SharePoint 365 edit page issue

I am going nuts trying to figure out what is happening here.
I created a new page in a SharePoint site using the gear and clicking add page.
The page on the right is the home page for the site and in the red box is the edit and settings for the page.
On the left I have thee new page that I added to the site, and in yellow is the edit box for this page.
How do I make it so that the edit are for the new page works the same way as the right page? What am I doing wrong??
For anyone else that comes across this. If you use a "Site Page" you dont get the options. You need to use a different type of page ie "Wiki Page"

Editing Sharepoint Site Homepage in Sharepoint Developer

I have just edited my publishing site home page in SharePoint Designer. The page originally contains some web parts.
I am a newbie as far as SharePoint branding is concerned. I did the editing in Advance Mode when I realized that I couldn't edit areas outside my Web Part Zones and since I need to do that, I tried it using the advance mode. I edited the page adding some inline CSS styling and even added some additional Web Part Zones. Everything looked good when I previewed so I saved and thought all was okay. But to my surprise, Only my account (System Account) can see the changes I made. Every other user on the domain are still see the original page without any of my recent changes.
I have done the Check-In and Publish circle over and over again but no luck.
Does any one have any idea as to what I might have done wrong here and what I can do to fix the issue.
Follow below steps for publishing:
Select “Publish a major version,”. When
prompted to approve the master page, click Yes. This automatically
invokes a SharePoint master page approval page, where you
will find your new master page listed at the top of the page.
Click the drop-down menu beside the master page. Select
Approve and select the Approved radio button. Click OK. Your
master page is now saved and approved in SharePoint.
Navigate to your top-level site collection, and click Site Actions -> Site Settings
Under Look and Feel, select the Master Pages link. For both the
Site and System Master Page settings, select your new master
page from the drop-down menu.
Once you click OK, your changes should be available to all users

SP2013 - Adding a Content Editor web part to a custom layout page

In sharepoint 2013, I have 2 custom layout pages:
1 associated with Content Type = Article Page, and
1 associated with Content Type = Welcome Page.
I add a Web Part zone to both layout pages.
I create a web page from either layout page.
When I edit the web page to fill in the Web Part zone, no Web Part zone appears and this appears in its place: $Resources:core,ContentEditorWebPartTitle;
Any clues?
Thanks.
I'm adding the steps of my process hoping that may make things clearer:
access desired site.
went to Design Manager
clicked "Edit Page Layouts"
clicked desired custom page layout
clicked "Snippets"
clicked "Web Parts / Media and Content"
clicked "Content Editor"
clicked "Copy to Clipboard"
then
opened custom page layout (.html) in Sharepoint Designer 2013
copied the clipbboard contents within the "asp:ContentPlaceHolder" tags
saved
then
returned to browser
went back to "Design Manager"
and "Publish a Major Version" of the custom layout page
then
clicked "Add a Page"
goto "Page" tab
click "Page Layout"
select my custom layout page
then scroll to examine my new page (while in "Edit" mode)
result
I see the text "$Resources:core,ContentEditorWebPartTitle;",
but no box for adding content.
Thanks
Im new to Sharepoint myself, but this sounds like your snippet might be wrong. If you can access the snippet manager, how to do this is on MSDN SharePoint 2013 Design Manager snippets.
Then what you want to do is create the snippet using the snippet manager, try the Content Editor inside the Media and Content section, you can then add this to your MasterPage inside the MainContent user control.
You could try adding this snippet to your PageLayout.html instead of MasterPage.html in place of the current web part thats failing, to see if that works.
Remove the web part zones from your layout pages.
Open the layout page in design manager and navigate to snippet manager.
Copy the snippet for web part zone and place them in the layout as desired.
Publish the layout.
Hope this will help to resolve your issue
Your problem is on Step#10 you should put your code inside the following tag:
asp:ContentPlaceHolder ID="PlaceHolderMain" runat="server"

SharePoint 2010 Navigation Menu Missing

Apologies in advance, this may be long winded. I'm working on a SharePoint 2010 site and I'm experience a strange problem. I'm using the v5 HTML5 master page by Kyle Schaeffer (http://kyleschaeffer.com/sharepoint/v5-responsive-html5-master-page/). The site I'm working on has two master pages, one for the home page and one for the rest of the site. The only difference between the two is the home page master has a banner control that displays a rotating banner while the rest of the site which uses the second master page doesn't. The v5 master has a navigation menu on the left side of the master page. For the home page, this menu is hidden using CSS (the div that contains the menu has its display set to none) while the rest of the site has the menu active.
The top level site and sub sites have lists with pages in them and here is where my problem begins. If I create a page in the top level site, it will not show the the navigation menu on the left due to it being hidden by the top level master page. To counter this, I force the page layout of the page to use the secondary master page that the rest of the site uses (the secondary master page shows the left navigation menu). Despite using the secondary master page, it still doesn't show the navigation on the left side. Additionally, if I create a page from one of the sub sites that is using the secondary master page, it will show the left navigation menu just fine. Now am I missing something here or is the logic I'm attempting to use flawed?
Help is much appreciated.
The pages always inherit the master from the parent site, if you want to have different master pages across your site you will have to create sites instead of pages, this way you will be able to change the master page on site settings under look and feel.

Accidentally deleted a webpart, how can I get it back

I have deleted "New comment" webpart on the Blog Post detailed Page on the my SharePoint blog site, I am unable to find it in the webpart list.
How can I get undo / add the webpart back.
If you have clicked the X button in the top-right corner of the web part, it is simply closed. You can get it back as follows:
Click on Actions, Edit Page
Click Add a web part
Click Advanced Web Part Gallery in the top bottom-right corner of the dialog
Click on Closed Web Parts in the tool pane on the right
Drag the closed web part from the tool pane back onto the page
If you have actually used the drop-down menu on the web part and clicked Delete, it really is deleted. If you have check-in/out available to the page you can go back to a previous version to restore it. Otherwise you will need to restore from backup if you have one.
A very usefull way to see all web parts on the page, including closed ones, is the Web Part Maintenance Page, which is accessed by simply adding '?Contents=1' to the page address
I faced the same problem (it was my mistake :(), but I am able to get my “New Comment” webpart back on the page by using SharePoint Designer.
Steps to get “New Comment” webpart back on the page
Create New blog site just to get “New Comment” list form Webpart
Open Newly created blog site in SharePoint designer and address]/ Lists/Posts/Post.aspx page and
Copy the full XSLT code of “New Comment” list form Webpart
Go back to your production blog site and place the copied XSLT just after “comments” list view Webpart on the page
Provide “your comments list GUID” under List Name property of the copied XSLT
Save and close.
That’ it. Your “New comment” Webpart is back on the page
Regards,
Moorthy Annadurai
"If you have actually used the drop-down menu on the web part and clicked Delete, it really is deleted."
Here is a solution that does not require SP Designer and fixes the problem in a couple minutes.
In fact, it is only the Default View associated to the webpart that is deleted. Click on View All Site Content. Then on the defective library link. It will open the listedit.aspx page. Go down to the Views section. Select another view or create a new view and make it the one by default. That's it. You are back in business. Of course, you need to correct the library link in the Quick Launch section.
Regards,
Pierre Audette
In my case it was a "Summary Link Web Part" that was added to a Document Library and the user accidentally "x'd" out off it. I found the "closed" web part by doing the following:
Click on "Site Actions | Edit Page"
Click on "Add a Web Part"
In the "Categories" list box on the left the last folder is "Closed Web Parts". Select the Web Part and re-add it.

Resources