Zephyr's SharePoint Blog

My Sharepoint world experience notes on day to day basis…..

Archive for the ‘Mysite’ Category

Rename “My Site” Link Text to “My Something”

Posted by fillzephyr on July 9, 2009

I get a requirement to change the top global links for “My Site”  text to something different  like “My” instead of “My Site”. I had try this method

https://fillzephyr.wordpress.com/2009/06/26/redirecting-or-changing-my-sites-link-name-to-the-new-link-name/

and it works fine but when you access site in extranet zone it will shows “My” externally , which i dont want to.

so i get around this trick :

Go to MySiteLink.ascx located at 

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES 

Open MySiteLink.ascx modify at two places make the original hyperlink ” invisible” as shown below:

 Backup the MySiteLink.ascx before you do any modification

  < asp:HyperLink id=”hlMySite” runat=”server” Visible=”false” />  

check it after these changes that the My Site link disappear at the top global links.

Then add the following line below it :

< asp:HyperLink id=”NewMySiteHyperlink” runat=”server” Text=”My” Visible=”true” NavigateUrl=”http://mysitewebappurl/_layouts/MySite.aspx&#8221; /> 

Check that it will works.

I test it by deleting My site and recreate it, it works fine for me. Also i check externally and it will not shown up.

Hope it will work for you guys.

Thanks!!!!

Advertisements

Posted in MOSS Funstuff, Mysite | Tagged: , , , | 2 Comments »

Redirecting or Changing My Sites Link Name to the New Link Name

Posted by fillzephyr on June 26, 2009

 

I had got a requirement to change the name of hyperlink  from ” My Site “to the some other Name called ” My”. 

 

mybitmap3

 

I had download this codeplex project…………….

http://www.codeplex.com/SPMySpace/Release/ProjectReleases.aspx?ReleaseId=18151

Open the Project using Visula studio. Go to the \12\TEMPLATE\CONTROLTEMPLATES\MySpace in the Project and open the MySpaceLink.ascx file

Now go to the line

<asp:HyperLink id=”hlMySite” Text=”MySpace” NavigateUrl=”/_layouts/MySpace/MySpace.aspx” runat=”server” /> 

here change the Text = “My”.  Save the file.

Now  rebuild the solution to see if there is any error.

After builing solution successfully, create the solution package using WSP builder.

Now add the solution to the server. Deploy it globally.

You can see the change to “My” from “My site ” at the top link.

 

  Mysite

 

Hope It will helpful.

Thanks!!!

 

Posted in Mysite, SharePoint Blogs | Tagged: , , | 1 Comment »

Change MySite Web application

Posted by fillzephyr on April 20, 2009

When first My site is created its url is http://moss:23478/ I want to change to something good url name like http://Mysite . So I had done following steps.

Create a Web Application:

Go to

Central Administration > Application Management > Create or Extend Web Application > Create New Web Application

IIS Web Site:

Create a New IIS website Description: Mysite

Port: 80

Host Header: Mysite

Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\mysite

Security Configuration:

Authentication Provider: NTLM

Allow Anonymous: No

Use SSL: No

Load Balance Url: http://Mysite:80

Application Pool:

Create New Application Pool:

Application Pool Name: Sharepointpool_mysite

Configurable:

Username: farmadmin

Password: **********

Restart Manually

Database Name and Authentication:

Database Server: XYZ

Database Name: WSS_CONTENT_MYSITE

Hit OK

Create A Site Collection:

Go to

Central Administration > Application Management > Create Site Collection

Web application: http://mysite

Title: Mysite

Website Addresses: http://mysite / (root site)

Select a Template: Enterprise > My Site Host

Username: Farmadmin

Select a Quota Template: No Quota

Hit OK

Create Managed Paths:

Go to

Central Administration > Application Management > Defined Managed Paths

Web Application: http://mysite

Add a New Path:

Path: personal

Type: wildcard inclusion

(Check url)

Hit OK

Modify SSP Settings for My sites:

Go to

Shared Services Administration: Shared services > My Site Settings


Personal site services:

Personal site provider: http://mysite

Personal site Location:

Location: personal

Hit OK

Now go and click on My site Links on the top and it will create your personal site using:

http://mysite/personal/username

Reference:

http://blogs.msdn.com/cjohnson/archive/2006/09/15/754902.aspx

Thanks

Posted in Mysite, SharePoint Blogs | Tagged: , , | 4 Comments »