p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5
This is the forum to discuss the Wrox book Professional DotNetNuke Module Programming by Mitchel Sellers and Shaun Walker - Wrox DotNetNuke Series Editor; ISBN: 978-0-470-17116-5

Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 6th, 2009, 01:16 PM
Registered User
Points: 13, Level: 1
Points: 13, Level: 1 Points: 13, Level: 1 Points: 13, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Guestbook DNN Manifest

On page 142 & 143, the tags that appear in listing 8-19 and 8-20 are slightly different than what is in the actual project file. For example, the book says that the new module definition starts with a <moduleDefinition> tag. The actual source file in the project contains a tag named <module>. Other examples are <moduleControl> vs. <control> and <controlType> vs. <type>.

I am building the sample project in VS 2008 with a DNN 5.0.1 installation. Maybe the difference is due to something that changed between DNN 4 and DNN 5.

Jim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old March 13th, 2009, 11:41 PM
Registered User
Points: 9, Level: 1
Points: 9, Level: 1 Points: 9, Level: 1 Points: 9, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default VB or CS?

Also, listing 8-20 (VB Manifest Module Addition) adds:

<controlSrc>DesktopModules/GuestbookCS/Settings.ascx</controlSrc>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old March 14th, 2009, 01:36 AM
Registered User
Points: 9, Level: 1
Points: 9, Level: 1 Points: 9, Level: 1 Points: 9, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Missed a step?

Go back to Listing 6-15. If you follow the instructions there and "entirely replace the text of the .dnn files generated by the templates," the issues with the tags will be cleared up.

Don't worry. I made the same mistake. There were a lot of code examples up to that point in chapter 6 that were meant only to be read, not copied into the project. Perhaps the authors should have told us more explicitly to stop reading and start typing. It is ironic that the first thing we are supposed to type into our sample project is the entire .dnn manifest, the most unfamiliar component of the whole process. No wonder we didn't do it.

Also, the instructions at 6-15 say to replace all occurrences of GuestbookCS with GuestbookVB to create the VB.NET manifest file. So, my previous post is also handled by following the instructions more thoroughly.

- Paul

Last edited by pgPlayer : March 14th, 2009 at 01:42 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #4 (permalink)  
Old March 31st, 2009, 01:41 AM
Wrox Author
Points: 201, Level: 4
Points: 201, Level: 4 Points: 201, Level: 4 Points: 201, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2008
Location: Des Moines, IA, USA.
Posts: 43
Thanks: 0
Thanked 6 Times in 6 Posts
Send a message via MSN to msellers Send a message via Skype™ to msellers
Default

Paul and others,

Sorry about that, in reviewing the book, there are a few inconsistencies between the book figures/text and the proper ones.

Paul's approach outlined in the previous post is a proper workaround for the issue.
__________________
Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

My blog for .NET and DotNetNuke info

Author of "Professional DotNetNuke Module Programming"

Author on "Visual Studio 2010 six-in-one" and "Pro C# 4.0"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Client Side Script not working in DNN rpdrake BOOK: Professional DotNetNuke ASP.NET Portals ISBN: 0-7645-9563-6 2 February 27th, 2009 03:06 PM
how to insert datatable data in mysql with dnn rizwanrizi SQL Server ASP 0 August 26th, 2008 06:36 AM
Getting a C# program with a manifest file to run i Bill_Thompson C# 2005 0 January 21st, 2008 06:27 PM
Guestbook in PHP karankapur_in Moderated Pro PHP 4 January 20th, 2008 06:03 AM
Guestbook in PHP karankapur_in PHP How-To 1 February 1st, 2006 05:51 AM



All times are GMT -4. The time now is 04:32 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc