Change the sharepoint icon for a site programmatically - sharepoint

I am needing to change the site icon for every site in a site collection in sharepoint 2007. I already know you can change it from Site Settings -> Look and Feel. Is there a way to do this programmatically?

Do you mean the site logo? Check out SPWeb.SiteLogoUrl property. You probably want to set it as:
site.RootWeb.SiteLogoUrl = pictureUrl;

Related

Page for changing the look of Microsoft Sharepoint site returns blank

I was given a credential for a sharepoint site to change the theme of the existing site. However, it seems that the options for "Change the look", "Themes" and "Composed Looks" all return a blank page despite being a "site collection administrator".
From a little research, I've come to know that most probably, it might be because of a permission issue or URL mismatch. I'd be happy if somebody shed some light into this.
You need to have either Site Owner or Designer or Site admin to change the look of the SharePoint site. Looks like currently you don't have these permissions.
The correct URL is https://sitecollectionurl/_layouts/15/designgallery.aspx
Reference - Change the look of your SharePoint site

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.

Title Bar with a picture in Sharepoint

We have the standard Sharepoint site for our group at work and was wondering if we could add into the title bar where our group name is (like to the right of it), or above the announcements/calender widgets a
picture that resembles our group
and a mission statement right next to it
Does anyone know if this is possible? Thanks.
If you have the appropriate permissions, you can edit the page (More likely the master page) for the site using SharePoint Designer which is free from Microsoft. If you upload the image you want to a document library you can use that url for the img src.
SharePoint Designer 2010
SharePoint Designer 2007
But a simpler solution would be to edit the page, add a new web part and choose the Content Editor Web Part where you can put your mission statement and an image (that you previously uploaded to a document library).
You don't specify which version of SharePoint you are using, but changing the logo of a site hasn't changed much since the 2003 version. Office.Microsoft.com shows the user perspective of changing a logo. You could change the same setting through the API.

Change link URL for logo in header on a SharePoint 2010 site?

In SharePoint 2007 I can go to site settings -> Look and Feel -> Top Link Bar
to set the url for the image link on all sites/subsites to point to the site collection site (or wherever I want).
How do I do this in SharePoint 2010, I can't find the menu option Top Link Bar?
Thanks in advance.
Site Settings -> Look and Feel -> Title, description, and icon
That should control the top icon in a team site. What site template are you using?
UPDATE
Ah sorry you want the url to be changed. I dont think you can do that in the UI, but try accessing the page directly
_layouts/topnav.aspx
Go and edit your master page(in sharepoint designer or if it is place on your vs) which you can find sharepoinnt icon tag like this
<SharePoint:SiteLogoImage id="onetidHeadbnnr0"
LogoImageUrl="/_layouts/images/titlegraphic.gif" runat="server"/>
change the LogoImageUrl to you Url.
hope this helps
gavrielse
I think it's too late, but for all the others. Open the Masterpage with SharePoint Designer and change the NavigateUrl:
<SharePoint:SPLinkButton runat="server" NavigateUrl="~SiteCollection/" id="onetidProjectPropertyTitleGraphic">

Easiest way to change the URL for the banner logo on many subsites in sharepoint 2010?

A client has created a site collection with many (hundreds) of subsites. The logo in on each subsite takes them to the subsites welcome page but what the client wants is to link to the very top site welcome page in the site collection. How is this done in the easiest way (instead of having to change manually on each site)? Powershell?
Thanks in advance.
You can change the link in the masterpage to accomplish this.
Open the masterpage in e.g. SharePoint Designer in Split mode. Select the logo and adjust the control SPLinkButton. The NavigateUrl value is default "~site". Change this to "~sitecollection". Save, check in and approve the masterpage.

Resources