Wrox Programmer 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 Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
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
Reply With Quote
  #2 (permalink)  
Old November 15th, 2010, 02:43 PM
Wrox Author
 
Join Date: Jul 2008
Location: Des Moines, IA, USA.
Posts: 74
Thanks: 1
Thanked 8 Times in 8 Posts
Send a message via MSN to msellers Send a message via Skype™ 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"
Reply With Quote
The Following User Says Thank You to msellers For This Useful Post:
LSyracuse (November 15th, 2010)
  #3 (permalink)  
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
Reply With Quote
  #4 (permalink)  
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
Reply With Quote
Reply


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inheriting IE skin into C# toolbar arif134 C# 0 July 31st, 2007 12:50 PM
create owner skin angelboy C# 2005 2 July 6th, 2007 03: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



All times are GMT -4. The time now is 11:56 PM.


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