Wrox Programmer Forums
|
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 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 November 15th, 2010, 02:32 PM
Registered User
 
Join Date: Nov 2010
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default Adding a skin object to a skin

I am on page 231 of the book. I have created my skin object, and am trying to add it to a skin.

The book says to look at the file /portals/_default/skins/extropy/portal.ascx. However:

I don't have an Extropy directory. I do have a MinimalExtropy directory so I'm assuming that is where I need to look. However there is no portal.ascx file in that location. Actually there isn't a portal.ascx anywhere in my portals directory.

From my settings for the site, I think I should be putting the specified code in index 1280.ascx. The book doesn't get specific about where should the control declarations should be placed, I've tried different locations but nothing appears on when the pages are rendered.

Any clues?

Thanks in advance,
Lou
 
Old November 15th, 2010, 02:43 PM
Wrox Author
 
Join Date: Jul 2008
Posts: 74
Thanks: 1
Thanked 8 Times in 8 Posts
Send a message via MSN to msellers
Default

There was a change in the name of the default file path in recent revisions of DNN.

You can use any .ascx in the MinalExtropy file.
__________________
Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

My blog for .NET and DotNetNuke info

Author of "Professional DotNetNuke Module Programming"

Tech Editor on "Visual Studio 2010 six-in-one" and "Pro C# 4.0"
The Following User Says Thank You to msellers For This Useful Post:
LSyracuse (November 15th, 2010)
 
Old November 15th, 2010, 03:22 PM
Registered User
 
Join Date: Nov 2010
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Wow, that was fast! I just came back from getting a cup of coffee and already there was a reply. :)

I thought it might be something like that, and I was able to determine that I am working with the correct aspx file by purposly misspelling the Src value in the Register line. But no matter where I put the control declaration code nothing appears. Nor does it generate an error in the event log.

I took a look at my project again, in the ViewCurrentTimeSkinObject.ascx file I do get a warning of "Namespace or type specified in the Imports "System.Web.UI.WebControls/Expressions' doesn't contain any public member or cannot be found....". Thinking that could be the problem, but everything looks right. We are still blanking out the Root Namespece textbox in the projects application settings, right?

Thanks for your assistance!
Lou
 
Old November 15th, 2010, 04:43 PM
Registered User
 
Join Date: Nov 2010
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Found the problem in my code. Something I overlooked, now that I see it it makes perfect sense.

Thanks again!
Lou





Similar Threads
Thread Thread Starter Forum Replies Last Post
Inheriting IE skin into C# toolbar arif134 C# 0 July 31st, 2007 11:50 AM
create owner skin angelboy C# 2005 2 July 6th, 2007 02:19 AM
customized skin parag.nikhal Classic ASP Basics 0 December 19th, 2005 10:19 AM
skin like Winamp yuhq VS.NET 2002/2003 1 January 10th, 2005 03:50 AM
want to make skin class??? simsimlhr C# 0 March 31st, 2004 06:33 AM





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