DotNetNuke ASCX Skinning for Professional Skinners - issue 46
Last Post 10/18/2009 6:26 PM by Lee Sykes. 31 Replies.
Author Messages
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
06/29/2009 2:40 PM
    Add any comments or questions regarding the DotNetNuke ASCX Skinning for Professional Skinners tutorial from issue 46
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    thanhdien
    Nuke Newbie
    Nuke Newbie
    Posts:1


    --
    06/30/2009 11:09 PM
    please give me tutorials dotnetnuke
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    07/01/2009 2:32 AM

    Hello,

    To access the tutorials you need to subscribe to the website, you can do this here:
    http://www.dnncreative.com/Subscrib...fault.aspx 

    and this will then give you access to all of the videos on the website, thanks,

     

    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    LeeWebDev
    Nuke Newbie
    Nuke Newbie
    Posts:3


    --
    07/01/2009 3:43 PM
    Hi Lee, I just watched my first video tutorial (issue #46) and all I can say is WOW...what a great resource! Your style of teaching is perfect for me...not too fast and not too assuming. Great job! I can't wait to watch the previous videos.

    One question about this tutorial: I have Visual Studio 2008 Standard Edition and would have thought that the pop-up elements would have appeared like they do with VWD Express, but they don't. Is there something that needs to be turned on in VS to see the elements available to me when editing the ASCX files?

    Thanks again for this hard work you're doing.

    David
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    07/01/2009 4:41 PM
    hello,

    Glad to hear you have found the tutorials useful, that's always good to hear!

    I would also assume that visual studio 2008 Standard Edition would do this instantly, but I do not have a copy to test. Did you open the website at the root of your DotNetNuke installation files? - if you open it for example in your skins folder it will not work.

    Thanks,
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Shidler College of Business
    Nuke Newbie
    Nuke Newbie
    Posts:7


    --
    07/08/2009 2:53 AM
    Just wanted to drop a line to mention how excited I was to see this month's lead topic was on skinning with the ASCX method! I was just thinking it was about time for me to get into it as well. So anyhow I devoured those vids and am hungry for more. Will there perhaps be a continuation on the subject?

    - Loren in Honolulu
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    07/08/2009 9:15 AM
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    David Good
    Nuke Newbie
    Nuke Newbie
    Posts:2


    --
    07/09/2009 7:53 PM
    When building the skin, you register the skinobject controls once for each time you use the skinobject in your ascx file e.g. in the tutorial you register the dnn menu twice for two instances of the menu. Is it possible to just register the menu once and then use it twice by changing giving the second instance a different id only e.g. dnnMenu1, dnnMenu2.
    Shidler College of Business
    Nuke Newbie
    Nuke Newbie
    Posts:7


    --
    07/09/2009 8:19 PM
    Yes, I have seen almost all of those videos actually. I originally signed up to DNN Creative to learn more about skinning in particular, and your videos have been an invaluable resource! I believe these were the first ones to specifically focus on ASXC skinning though, no?

    I suppose anything that falls under the category of "advanced skinning techniques" would be of interest to me. Just off the top of my head I might like to learn more about:

    The DNNMenuNavigationProvider
    I get the feeling I don't know the full capabilities of the default DNNMenuNavigationProvider. I know you like the HouseMenu (I've used it on a couple projects too -- it is nice), but nonetheless would be interested in doing some fancy things with the default menu. Isn't it a bit better than the SolPartMenu was? And maybe it can do some things the HouseMenu can't do?

    jQuery
    Maybe something about using jQuery to make photo slideshows or tabbed content within the text/html module?

    Well anyway I'm what you'd call a 'satisfied' customer. I really do appreciate all your hard work and look forward to each issue. Thanks.
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    07/10/2009 11:40 AM
    Posted By Libertytec on 09 Jul 2009 7:53 PM
    When building the skin, you register the skinobject controls once for each time you use the skinobject in your ascx file e.g. in the tutorial you register the dnn menu twice for two instances of the menu. Is it possible to just register the menu once and then use it twice by changing giving the second instance a different id only e.g. dnnMenu1, dnnMenu2.

    Hello,

    I've just checked that out and yes you can as long as you have a different id.

    Thanks,
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    07/10/2009 11:42 AM
    Posted By shidlercollegeofbusiness on 09 Jul 2009 8:19 PM


    I'm looking at the NavMenu for issue 47 ;-)
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    CrizTizzy
    Nuker
    Nuker
    Posts:16


    --
    07/13/2009 11:45 AM
    I thank you BIG TIME for the PDF version, I think I would have lost the will to learn about aspx if it wasn't for that option.

    It wasn't a good surprise to see that I had to download all the videos in one file (over 334 MB Flash format zipped) and encounter 84 MBs of files for Video 1. Downloading the WMF files is smaller but still over 115MB. That seems to be about 3 times the file size of earlier files. If it's at all possible, please go back to one video per tutorial and reduce the file size.
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    07/13/2009 12:51 PM
    Its not possible to reduce the file size, but I would suggest you download wmvs because they are much smaller. I placed all of the videos into 1 zip file as other people have requested that they find it frustrating extracting all of the zips. Why don't you like downloading larger files I thought this would save you time?

     I guess I could go back to the single download per video, but I would welcome anyone else's thoughts first, thanks,
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    ORBID
    Nuke Newbie
    Nuke Newbie
    Posts:6


    --
    07/27/2009 10:56 AM
    Hi,

    i use the navmenu on top and on the left side. I found how to link the topmenu with the leftmenu as child.
    But how can i force the menu on the left to show all menu items.

    current situation

    On top
                             MenuItem1  MenuItem2 MenuItem3  MenuItem4

    menusubitem1a - subsub1 (Expand if you the cursor moves over menusubitem1a)
                              - subsub2
    menusubitem1b
    menusubitem1c
    menusubitem1d


    situation i want

    On top
                             MenuItem1  MenuItem2 MenuItem3  MenuItem4

    menusubitem1a
        - subsub1
        - subsub2
    menusubitem1b
        - subsub1
        - subsub2
        - subsub3
        - subsub4
    menusubitem1c
        - subsub1
    menusubitem1d

    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    07/31/2009 5:26 AM
    hello try this:

    <!--[if gte mso 9]> Normal 0 unctuationKerning/> false false false oNotPromoteQF/> EN-GB X-NONE X-NONE ontGrowAutofit/> ontVertAlignCellWithSp/> ontBreakConstrainedForcedTables/> ontVertAlignInTxbx/> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 415 0;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1593833729 1073750107 16 0 415 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; mso-bidi-font-size:12.0pt; font-family:"Verdana","sans-serif"; mso-fareast-font-family:"Times New Roman"; mso-bidi-font-family:"Times New Roman";} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; mso-ascii-font-family:Verdana; mso-hansi-font-family:Verdana; mso-ansi-language:EN-US; mso-fareast-language:EN-US;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} --> <!--[if gte mso 10]> ForceDownLevel="True"
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    ORBID
    Nuke Newbie
    Nuke Newbie
    Posts:6


    --
    08/03/2009 2:06 AM
    That doesn't work with DNNMenuNavigatorProvider.
    See: DNN Navigation controls - page 19
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    08/03/2009 2:22 AM
    Did you try the setting out? It works in my menu, there are a couple of attributes in that doc which appear to be not correctly documented.
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    ORBID
    Nuke Newbie
    Nuke Newbie
    Posts:6


    --
    08/03/2009 2:31 AM
    i already tried it. But it doesn't do anything.

    This is my head menu:

                    <dnn:nav runat="server" id="NAV_Top" providername="DNNMenuNavigationProvider" indicatechildren="false">
                        ControlOrientation="Horizontal" CSSControl="mainMenu" CSSNodeSelectedRoot="MenuRootItemSelected"

                        ExpandDepth="0" StartTabId="-1" PopulateNodesFromClient="false" ForceDownLevel="false"

                        ForceCrawlerDisplay="false" />
               

    and this is the child menu:
     
                    <dnn:nav runat="server" id="NAV_Left" providername="DNNMenuNavigationProvider" indicatechildren="false">
                        ControlOrientation="Vertical" CSSNodeSelectedSub="MenuSubItemSelected" CSSControl="childMenu"

                        Level="Child" ForceCrawlerDisplay="true" PopulateNodesFromClient="true">
                       
                            
                       

                   
               

    if i click on a childmenu my menu disappear (span is not visible i think)
    see: www.placidus.be

    ORBID
    Nuke Newbie
    Nuke Newbie
    Posts:6


    --
    08/03/2009 3:16 AM
    Any idea why the child menu disappear when i click on one item (from the submenu)?
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    08/03/2009 11:03 AM
    You may want to check out this tutorial which is in the next issue 47:

    DotNetNuke NAV Menu

    In particular Videos 10 and 11 which deal with 2 menus on a page.
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    webPainter
    Nuke Newbie
    Nuke Newbie
    Posts:2


    --
    08/06/2009 12:39 PM
    1Pane_main.ascx  I have viewed video 4 twice now. I have not done the tutorial yet so that may answer my question.

    How does 1pane_main.ascx know that it is hooked up to 1pane_main.css? Is it the naming convention

    Thanks
    Dennis
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    08/06/2009 1:06 PM
    Hello,

    Yes that is correct, if you add in a CSS file that is the same name as the skin.ascx or skin.htm file, DotNetNuke will then call in that CSS file only for that skin.

    We covered how to do this in an earlier tutorial here:
    Multiple skin layouts using skinname.css

    Thanks,
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Rick Anderson
    Nuke Newbie
    Nuke Newbie
    Posts:6


    --
    08/07/2009 7:36 PM
    wow, please don't go back to 1 video per zip.  It is so much easier to download once.  I suppose if one had a very slow connection it might be a problem but down loading each file independently is exceptionally time consuming and labor intensive.

    BTW - I loved this issue.
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    08/10/2009 2:45 AM
    Thanks for the feedback Rick,
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    tango
    Nuke Newbie
    Nuke Newbie
    Posts:9


    --
    08/17/2009 11:33 PM
    Hi Lee, Im trying to work out how to change the color of the background down the left & right sides of the 1024 width skin? Am using 05.01.00 (773)Community Edition. Is this covered in one of your tutorials? Keep up the great work!
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    08/18/2009 7:45 AM
    Do you want to change the background color outside of the content panes, or in them?  Which skin?

    Basically, you'll want to locate the object, and then change it's color in the CSS.  Have you taken a look at Troubleshooting DotNetNuke Skins?  The Web Developer's Toolbar is a handy tool you can use to identify parts of the page.

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    tango
    Nuke Newbie
    Nuke Newbie
    Posts:9


    --
    08/18/2009 5:01 PM
    Hi & Thanks for your post. Outside the contents panes. Im using dnn 5 & the 1024 standard skin that I have modified.
    tango
    Nuke Newbie
    Nuke Newbie
    Posts:9


    --
    08/18/2009 5:33 PM
    Hi, Turns out is #Body { background: #cad2d4 repeat-x top left; height: 100%; margin: 0; padding: 0; } in the skin.css file. in my case i removed the url link to the image & chnaged the color & BINGO !! I wouldnt have been able to go close to working this out had it not been for Lee's skinning & nav menu tutorials. Thanks so much DNN Creative
    Fred
    Nuke Newbie
    Nuke Newbie
    Posts:8


    --
    09/21/2009 4:33 PM
    Hi,

    I am also having trouble using the pop-up feature only with Visual Web Developer 2008 Express Edition. This feature works on the HTML tags but not on the skin objects.

    Folders such as Admin and Portal are at the first level in the VWD explorer, so I must have opened up the web at the DNN root. I am using standard IIS 5.1.

    Where does VWD find the references to the skin object attributes?

    By the way, I love your videos! Thanks.
    Fred Larson
    www.projcomplete.com
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    09/22/2009 8:54 AM
    Could you ask the question differently?  I'm not sure what the pop-up feature you are asking about is.

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    Fred
    Nuke Newbie
    Nuke Newbie
    Posts:8


    --
    09/22/2009 10:29 AM
    <!--[if gte mso 9]> fficeDocumentSettings> oNotRelyOnCSS/> ixelsPerInch>72ixelsPerInch> 1920x1200 fficeDocumentSettings> <!--[if gte mso 9]> Normal 0 unctuationKerning/> false false false oNotPromoteQF/> EN-US X-NONE X-NONE ontGrowAutofit/> ontVertAlignCellWithSp/> ontBreakConstrainedForcedTables/> ontVertAlignInTxbx/> oNotOptimizeForBrowser/> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} span.EmailStyle15 {mso-style-type:personal; mso-style-noshow:yes; mso-style-unhide:no; mso-ansi-font-size:11.0pt; mso-bidi-font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> <!--[if gte mso 10]> Joseph,

    I guess I wasn't that clear.  I'll start over:

    I generally use Dreamweaver to create my skins but based on Lee's video, I decided to try Visual Web Developer Express 2008. I did this because of its Intellisense feature that supports skin objects. I followed his instructions and opened a web site at my local DNN root.

     

    The problem is that even though I have Intellisense for the html tags, I have no Intellisense for the skin objects.

     

    I can’t remember where VWD references the Intellisense data to support the skin objects. Do I have to install the source version of DotNetNuke for this feature to work or are the references at the top of the skin page all that is needed? I used the install version of DotNetNuke. Thanks.

     

    Regards,

    Fred




    Fred Larson
    www.projcomplete.com
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    10/18/2009 6:26 PM
    Hello,

    I used an install version of DotNetNuke for the tutorial, not the source version, so it should work.

    As long as you open the website at the root of your installation and then open the .ascx skin files intellisense should work.

    Thanks,
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile


    ---