Oct 25, 2013

Displaying Site Title, Site Description on the Custom Master Page in SharePoint 2010



Hello,

Recently I got a requirement to add the default site description in the custom master page. But the default placeholder which providing this functionality didn’t work in this case.
Generally the site description can be set @ Site ActionsàSite SettingsàTitle Description and Icon under Look and Feel Section, like this
 

 


The site description looks like below with the default master page (v4.master here) on the home/welcome page.

 
      
 
If you look in to the design of the default master page, the site description will be served by the placeholder called “PlaceHolderPageDescription” .
 
 
 

 
But in the custom master if  you place this div to show the site description , this will not work.
The workaround to this is, add a project property to the custom master where you need to show up the site description, like this
 
<SharePoint:ProjectProperty Property="Description" runat="server"/>
 
In this way you can use these properties in your custom implementations to get the default SharePoint data. Some other properties I am listing here..
Site Title:                   <SharePoint:ProjectProperty Property="Title" runat="server"/>
Site Owner Name:   <SharePoint:ProjectProperty Property="SiteOwnerName" runat="server"/>
Site Url:                     <SharePoint:ProjectProperty Property="SiteUrl" runat="server"/>
 
 Thanks,

 
 
 

 
 
 

3 comments:

  1. Adding site title and description on the web in the easiest and quickest way with hosted SharePoint 2013 Solutions provided by www.cloudappsportal.com

    ReplyDelete
  2. http://camaragenbandarq.blogspot.com/2017/05/membahas-macam-macam-judi-di-indonesia.html
    http://agenbandarqcamarqq.blogspot.com/2017/05/mengetahui-4-tempat-judi-termewah-di.html
    http://agendomino99camarqq.blogspot.com/2017/06/trik-curang-main-bandarq.html
    http://agendominocamar.blogspot.com/2017/06/mengetahui-warnet-di-jepang-yang.html
    http://agendominocamarqq.blogspot.com/2017/06/cara-mendaftar-di-shioqq-situs-agen.html
    http://www.jakartatercinta.com/2017/05/mengenal-situs-shioqq-agen-bandarq.html
    http://www.jakartatercinta.com/2017/05/shioqqnet-agen-bandarq-yang-memberi.html

    ReplyDelete

  3. NAGAQQ | AGEN BANDARQ | BANDARQ ONLINE | ADUQ ONLINE | DOMINOQQ TERBAIK

    Yang Merupakan Agen Bandarq, Domino 99, Dan Bandar Poker Online Terpercaya di asia hadir untuk anda semua dengan permainan permainan menarik dan bonus menarik untuk anda semua

    Bonus yang diberikan NagaQQ :
    * Bonus rollingan 0.5%,setiap senin di bagikannya
    * Bonus Refferal 10% + 10%,seumur hidup
    * Bonus Jackpot, yang dapat anda dapatkan dengan mudah
    * Minimal Depo 15.000
    * Minimal WD 20.000

    Memegang Gelar atau title sebagai AGEN BANDARQ Terbaik di masanya

    Games Yang di Hadirkan NagaQQ :
    * Poker Online
    * BandarQ
    * Domino99
    * Bandar Poker
    * Bandar66(NEW GAMES)

    Info Lebih lanjut Kunjungi :
    Website : NAGAQQ
    WHATSAPP : +855967014811
    Line : Cs_nagaQQ
    TELEGRAM :+855967014811

    BACA JUGA BLOGSPORT KAMI YANG LAIN:
    berita nagaqq/
    agen bandarq online/
    Kemenangan NagaQQ/

    ReplyDelete