Book Image

SharePoint 2013 WCM Advanced Cookbook

By : JOHN CHAPMAN
Book Image

SharePoint 2013 WCM Advanced Cookbook

By: JOHN CHAPMAN

Overview of this book

Table of Contents (19 chapters)
SharePoint 2013 WCM Advanced Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Displaying specific content only to authenticated users


When working with public-facing SharePoint sites, it is common to display content only to users who have logged in. In this recipe, we will add some content to our customized master page that only authenticated users can see.

To see the results of this recipe, you will need to be able to access the SharePoint site both anonymously and logged in.

How to do it...

Follow these steps to display specific content only to authenticated users:

  1. Open SharePoint Designer.

  2. Select Open Site. Enter the complete URL to the SharePoint site and select Open.

  3. From the Navigation pane, select Master Pages.

  4. In the list of files in the Master Pages library, make a copy of seattle.master (for our example, we have renamed it Seattle_DisplayAuthenticatedContent.master).

  5. Check out the new Seattle_DisplayAuthenticatedContent.master master page.

  6. Open the Seattle_DisplayAuthenticatedContent.master master page.

  7. Locate the element with the ID_SuiteBarBrandingDelegate ID.

  8. After...