p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Real World SharePoint 2007 (SharePoint MVP) ISBN 978-0-470-16835-6 (http://p2p.wrox.com/forumdisplay.php?f=346)
-   -   Chap 6 Customizing and Branding (http://p2p.wrox.com/showthread.php?t=62266)

CRSCoder September 23rd, 2007 04:02 PM

Chap 6 Customizing and Branding
 
Hi,

A couple quick questions:
1. What is the path to the _catalogs/masterpage library ?
2. Where is the "resource location"? e.g.: where do we obtain the MVP.MASTER file referred to in step 5?
(It does not appear to be at the URL provided http://msdn2.microsoft.com/en-us/library/aa660698.aspx and its not in the code download.)

thanks in advance.

CRSCoder September 23rd, 2007 04:07 PM

OK.. I found the /_catalogs/masterpage library.[:I]

Now, I just need to know where the file MVP.MASTER is or can be found.

Thanks

CRSCoder September 23rd, 2007 05:27 PM

...and now I've found the MVP.MASTER! I stumbled across something I never read "ERRATA". The MVP.MASTER is actually the CUSTOM.MASTER file:
Here's the link to the errata site... enjoy!
http://www.wiley.com/WileyCDA/WileyT...tml?print=true

Paul

jminatel September 23rd, 2007 06:28 PM

Hi Paul, glad you worked it out and found the answers. FYI, they're the same information but the direct link to the errata page for this book on wrox.com is:
http://www.wrox.com/WileyCDA/WroxTit...ew_errata.html

and yes, we do that for all of our books.

Jim Minatel
Acquisitions Director
Wiley Technology Publishing
WROX Press

CRSCoder September 25th, 2007 10:21 PM

Hi,

On page 154 are a series of steps 1-14 that are supposed to change the site's master page. I've followed them, twice now, and both times I end up with a "page not found" error. (yep, I also read the errata for Chapter 6).

I'm seeing three errors on the mvpone.master after pasting the contents of the custom.master into the master page created in step 4.
1. Error creating control - explitLogout. The control with the virtual path 'controlTemplates - welcome.ascx' is not in the safe controls list for web at http://mysitelocation.

2. Error Creating Control - PublishingSiteAction:SiteActionMenu
The control with the virtual path 'controlTemplates/PublishingactionMenu' is not in the safe controls list for web at http://mysitelocation.

3. Error Creating Control - authoringcontrols
The control with the virtual path 'controlTemplates/PublishingColsole' is not in the safe controls list for web at http://mysitelocation.

I used the content of the custom.master included in the download and pasted its contents in the place of the untitled_1.master created during step 4.

I can't tell if these are the reason for the mvpone.master page not being found, or not. I cannot get to the site at all now. Any help would be appreciated.

Thanks,
Paul

CRSCoder September 27th, 2007 09:36 PM

OK, To resolve the above issue I opened the Welcome.ascx file, copied this string:
<SafeControl Assembly="Microsoft.SharePoint.WebControls.Welcome , Version=12.0.0.0,Culture=neutral,PublicKeyToken=71 e9bce111e9429c" TypeName="*" Safe="True" />
from the register tag (added TypeName="*" Safe="True" ), saved and refreshed the page.

I no longer see the errors 1-3 from the previous post.

This brought me to the next error, which was that the Robots tag: <SharePoint:RobotsMetaTag runat="server"></SharePoint:RobotsMetaTag>, could not be rendered, and the "the webpart could not be deserialized from the markup".

I have no idea if this is the solution... but I moved the RobotsMetaTag inside the <head > ... </head> tags. The error disappeared. No other errors appear.

I saved the page. Right-clicked and selected - Set as default Master Page.

Still the site does not display. I continue to get the error "Page not found".
Here's the page it appears on:
http://myservername:25955/Pages/Default.aspx

Any help would be appreciated,
Paul

infoworkertrainer November 30th, 2007 03:45 PM

Two related issues:

Page 158:
Using a MOSS 2007 collaboration portal site on a virtual PC image of Windows Server 2003, my Developer Toolbar button does not produce the Developer Toolbar (yet it works fine on Windows XP SP2).

Page 159
My .ms-siteaction class in the custom.css file does not change the Site Actions button (or anything else) to gray. Was it supposed to?

Thanks,

Jason


spatnaik December 19th, 2007 01:25 PM

Hi Paul,

Please follow this blog to solve your master page problem.

http://www.heathersolomon.com/blog/a...sterPages.aspx.

Thanks,
Sanjay

spatnaik December 19th, 2007 02:15 PM

The custom.master(mvp.master) file provided in chapter 6, gives the following error:
================================================== ===========
Parser Error Message: Duplicate ContentPlaceHolder 'head' were found. ContentPlaceHolders require unique IDs.

Source Error:


Line 22: <%-- The head section includes a content placeholder for the page title and links to CSS and JavaScript files that run on the server. --%>
Line 23: <head runat="server">
Line 24: <asp:ContentPlaceHolder runat="server" id="head">
Line 25: <title>
Line 26: <asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server" />
================================================== ===========

if you change the id from "head" to something else it works fine

--Sanjay


All times are GMT -4. The time now is 10:51 AM.

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