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. TT4D | TOGEL TERPERCAYA | AGEN TOGEL ONLINE TERPERCAYA

    Dengan Fiture-fiture Terbaik sebagai berikut :
    • Hadiah Prize 4D dan 3D Semua Pasaran
    • BBFS 10 Digit Tanpa Batasan Line
    • Bonus Referral Sebesar 0,5% dari Semua Pemasangan Seumur Hidup
    • Tersedia Live Games dan Sbobet Bola atau Casino

    Hadiah & Diskon TT4D TOGEL TERPERCAYA :
    • HADIAH 4D x 3.000 ( 65% )
    • HADIAH 3D x 400 ( 59% )
    • HADIAH 2D x 70 ( 29% )

    Hadiah Hiburan Jackpot 4D & 3D Semua Pasaran :
    Prize I : x 3 Juta ( 4D ) | x 400 Ribu ( 3D )
    Prize II : 200 Ribu ( 4D ) | 20 Ribu ( 3D )
    Prize III : 100 Ribu ( 4D ) | 10 Ribu ( 3D )
    Started Prize : 55 Ribu ( Hanya 4D )
    Consolation : 25 Ribu ( Hanya 4D )

    Pasaran Tutup TerlamaTT4D Togel Terpercaya :
    • Vietnam Tutup Jam 11.00 WIB dan Result Jam 11.30 WIB
    • Sydney Tutup Jam 13.30 WIB dan Result Jam 13.50 WIB
    • Las Vegas Tutup Jam 15.30 WIB dan Result Jam 16.00 WIB
    • Singapore Tutup Jam 17.25 WIB dan Result Jam 17.45 WIB
    • Lemacau Tutup Jam 19.30 WIB dan Result Jam 20.00 WIB
    • Hongkong Tutup Jam 22.30 WIB dan Result Jam 23.00 WIB

    Website Login / Daftar :
    DAFTAR TT4D

    Kontak Official :
    - Pin BBM : TT4DOK
    - WA : +855963240368

    ReplyDelete