Zephyr's SharePoint Blog

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

Archive for the ‘MOSS Funstuff’ 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!!!!

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

Hide Left Navigation

Posted by fillzephyr on July 7, 2009

I am trying to hide left navigation through this little javascript.

Go to site Action> edit page> Add webpart

Choose content editor webpart.

Select source editor and paste the below script :

<style>
.ms-quicklaunch
{
display:none;
}
.ms-navframe
{
display: none;
}
</style>
On the appereance change the Title to Hide Left Nav bar

On the Layour check the Hidden

Thanks!!!

Posted in MOSS Funstuff, SharePoint Blogs | Tagged: | 1 Comment »

Change number of site collections view in Site Collection List

Posted by fillzephyr on May 14, 2009

Go to

Central Administration>Application management> Site Collection List

Default you can see 10 site collections in a list at a time.

I want to change it to 20 as I have 376 site collections and I don’t want to go long way to click for more pages.

So to change it I go to

C:\Program Files\Common Files\Microsoft Shared\web server extensions\ 12\ TEMPLATE\ ADMIN\sitecollections.aspx

Open sitecollection.aspx page

Find PageSize and do the following thing:

change the number 10 to your “specified number” in PageSize=” your number”

Thanks.

Posted in MOSS Funstuff | Leave a Comment »