Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SharePoint > SharePoint Development
|
SharePoint Development Programming and development for SharePoint Portal Server and Windows SharePoint Services
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SharePoint Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 1st, 2010, 05:02 PM
Registered User
 
Join Date: Nov 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up Creating Fully Branded Master Page

I'm working in Chapter 8 of Professional SharePoint 2010 Branding and User Interface Design.

I'm on Page 232 at step 5.

I used Drisgill's publishing starter Master Page to create a custom master page. At Step 5 he begins the process of changing the User Login button. He shows the following code in the book:

Code:
<div class="customTop customPagePadding">
<asp:LoginView id="LoginView" runat="server">
In Step 4, he has you copy and paste your already formed html document under the
Code:
<div id="MSO_ContentDiv" runat="server">
.

Does anyone know where the code for Step 5 goes in the custom Master Page?

Thanks.
 
Old December 2nd, 2010, 01:26 PM
Wrox Author
 
Join Date: Dec 2010
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default

This section was difficult to explain exactly what has to happen (a lot of steps that need to happen in one giant file). This is why I recommend downloading the finished code from the Wrox site and taking a look at it.

Essentially what happens here is:
  1. You added the HTML that was created in Chapter 3
  2. You are then finding parts of that HTML and replacing parts with SharePoint code... in this case you are changing this part that was pasted from the HTML: <a href="#" class="customLogin">User Login</a> with the the <asp:LoginView>

Does that help?

-Randy
 
Old December 2nd, 2010, 02:06 PM
Registered User
 
Join Date: Nov 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Yes, Randy, thank you

I was looking for somewhere to place it outside of that pasted html.

Honestly, though, I was attempting to follow your steps with code from one of our simpler corporate sites, and that is why I got lost, there was no correspondence for me with what you wrote in the book. Sorry about that.

I have reconfigured my virtual machine and created a separate web application for your code and my code. I'm going to do your out of the book and mine as well, hopefully I'll be able to bridge what i am doing.

One other area that I think would be good to address, is the planning for navigation when you have an existing site that has separate divisions of content. How do you decide when you should create a new site for a division or use a separate site collection within the same web application?

I'm thinking now in terms of different categories of products that break down into types, that break down into brands, that finally break down into models. How do you use SharePoint navigation structures to mimic existing navigation in an ASP.NET website?

Thanks,

Randy





Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting the Master page hoses site... Page 92... richv BOOK: Beginning SharePoint 2010 Development 19 December 30th, 2010 10:21 AM
problems creating a master page in ASP 3.5 bagellady ASP.NET 3.5 Basics 2 July 3rd, 2010 08:42 AM
Master Page Method: Code-Behind for Content Page kwilliams ASP.NET 2.0 Professional 3 June 2nd, 2008 12:57 PM
Creating a Master Page and Importing a CSS rubends BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 6 March 14th, 2008 03:56 AM
Creating a Master Page and Importing a CSS rubends BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 April 19th, 2006 03:43 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.