How to check which user changed SharePoint Intranet site? - sharepoint

We have a SharePoint intranet, was accidentally changed by user significantly:
The fonts and styles are all wrong.
The menu from the Settings Cog on the top right corner also has different font styles.
I have just now locked down users permissions, so that only admin users are allowed to change, ordinary users should have read only access. It is a bit too late.
Questions:
Where could the user made the change?
What is the best way to reverse the change?
Can I find out who made the change?
Thanks

There are a few things the user could have done:
Change the "theme" of the site. This is most likely the case if the changes are only applied to one site/subsite, and not your entire site collection. This can be changed back by clicking on the gear, selecting "Site Settings", and then clicking on the "Change the Look" link.
Change the master page for the site. This can be changed back to the default by going to Site Settings again and clicking on the "Master Page" link under Look and Feel.
They EDITED the existing Master Page. This would have bee done through SharePoint Designer, and would need to be fixed through SharePoint Designer. (Find the Master Page in the Master Page Gallery, right click on it, and then select "Reset to Site Definition".
They simply applied a custom stylesheet. This can be reverted to the default by again going to Site Settings, and clicking on the "Master Page" link under Look and Feel.
(In SharePoint 2013, you can actually revert the theme, css, and master page all from the "Master Page" link in Site Settings.)

Related

Sharepoint server publishing feature was activated but not show hide ribbon in Site Actions

Sharepoint server publishing feature was activated on one of my SharePoint sites, but it's not showing hide ribbon in Site Actions.
Also when we edit the page, it's appending the parameters “?PageView=Shared&InitialTabId=Ribbon.WebPartPage&VisibilityContext=WSSWebPartPage” to the address bar insted of "?ControlMode=Edit&DisplayMode=Design".
NB : In the navigation setting the "Ribbon" and "Hide Ribbon" commands are already set as "true"
Your issue seems to be similar to that reported here:
https://social.technet.microsoft.com/Forums/ie/en-US/35c7f486-2b20-4129-b461-65b147a4490e/when-editing-the-page-in-sharepoint-we-cannot-edit-the-content-area-and-we-need-to-click-on-save-and?forum=sharepointgeneral
We found your issue and the solution because when our users edited a sharepoint online page they got take to
intranet/pages/somepage.aspx?PageView=Shared&InitialTabId=Ribbon.WebPartPage&VisibilityContext=WSSWebPartPage
Which showed them a view of the page with no ribbon and no ability to edit the content.
On some pages they were shown the ribbon. In thoses cases they still couldn't edit the content until they clicked the "save and keep editing" option from the ribbon save button. When they did this they were taken to
intranet/pages/somepage.aspx?ControlMode=Edit&DisplayMode=Design
After going through the solution outlined on technet (turn publishing off and turn it on again) our users now experience : edit page taking them to full ribbon, and editable content without a URL suffix i.e. they end up at the following when they edit the page
intranet/pages/somepage.aspx
Hope this helps someone

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

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

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"]

Sharepoint Sites

Is it possible to make a site "Home" in MOSS2007?
For example, when i enter my Sharepoint portal, i see two tabs on top:
Home | Just a Site
I want to delete the site under Home and set "Just a site" as default site (or Home?).
Thanks.
Are you referring to the tab section for the Top Link Bar, as illustrated in this sample image? If so, then in the Site Actions menu, go to Site Settings. Under the Look and Feel category, pick Top Link Bar. In your situation, you will probably see "Home" and "Just a Site" as the links.
Choose to edit the Home link, and delete it. Then, edit the Just a Site link, and change its name to Home. Note that the colouration for the top link tab will probably change, but this will let you direct people to "Just a Site" using a tab that says "Home".

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