Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
SteadyRain
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  TIP - Pane Names for Newbies
Previous Previous
 
Next Next
New Post 1/10/2007 6:22 AM
User is offline Jeff Cochran
1629 posts
5th Ranked


TIP - Pane Names for Newbies 

I just finished explaining this to a client, and I've probably explained this a dozen times in the last few months to new Skinners, so here's an attempt to head off problems for some of the newer folk:

The naming of panes in DNN skins is important.  The documentation and most tutorials or books say you MUST have a ContentPane.  That's not exactly true, it's just that without one, you'll break DNN.  The default location for DNN controls, especially admin controls, is the ContentPane.  So if you do not have a pane named ContentPane, then you won't be able to admin your portal, login, or just about anything else useful, INCLUDING CHANGE THE SKIN.

But let's extend this a little further.  The pane names ( the id="..." part of each tag ), for DNN's default skins, besides ContentPane, are TopPane, BottomPane, LeftPane and RightPane.  When starting out skinning, stick to these names.  Sure, you're going to put a Feedback module in the right pane, but don't name it FeedbackPane.  First you might not always want the Feedback module and then it gets confusing, but more important to beginners is that it won't match the default DNN template you get on a basic install.  If you name your panes differently, the modules in the default DNN template won't display.  If you leave the names the same, the module content already exists in those panes and it's much easier to check what your new skin will look like.

You're going to run into enough skinning problems when you start out.  So start by duplicating the existing working skins as much as possible.  Then when you know a little more about what you're doing, and why to do it, branch off in your own direction.  And by the way, if you're going to sell or give away your skins, keep the same naming conventions so you don't get innundated with support emails.

Hope it helps...

Jeff

 
New Post 1/10/2007 7:22 AM
User is offline John Mitchell
3911 posts
www.snapsis.com
4th Ranked




Re: TIP - Pane Names for Newbies 

That's good advice Jeff.  Thanks for sharing.

One minor thing I would add is that if you change your skin and you already have the modules assigned to a SkinPane that is no longer there, they will still show up for you in the ContentPane.

 


DotNetNuke Modules from Snapsis.com
 
New Post 11/8/2007 3:08 PM
User is offline PMI PowerCoder
4 posts
www.powermonitors.com
10th Ranked


Re: TIP - Pane Names for Newbies 

That's Good Stuff,

Now here's a question that I don't see answered anywhere.  If you are creating an .ascx based skin, how does DNN know which of your elements are content panes.  Of course it knows to look for an allowable element type (div, p, td and span) with an id of "ContentPane".  But how does it know what other elements are also content panes (such as TopPane, TopPane2, BottomPane, BottomPane2, etc.).  Does it key of off the id?  Does DNN consider all allowable elements (p, td, span, div) with an ID as a content pane, or does the id have to have the word "pane" in it or what?

Thanks,

 
New Post 11/8/2007 3:44 PM
Online now... Timo Breumelhof
1916 posts
5th Ranked




Re: TIP - Pane Names for Newbies's the runat="server" 

It's the runat="server" and there is no need for "pane" in the id


Timo Breumelhof -- DNN Skinning Team Lead -- DNN Custom Skinning
www.searchdotnetnuke.com -- Extended DNN (forum) search
 
New Post 11/9/2007 7:29 AM
User is offline PMI PowerCoder
4 posts
www.powermonitors.com
10th Ranked


Re: TIP - Pane Names for Newbies's the runat="server" 

D'Oh ,

Of course, that makes perfect sense.  Thanks for the clarification.  That just doesn't seem to be documented anywhere.  But it does make sense.

Thanks Again.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  TIP - Pane Names for Newbies
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting
Glanton: Enterprise Intranet Specialists Using DNN
Glanton Solutions are a premier provider of sevices for large corporates lloking to outsource Intranet sites.
www.glanton.com
Jetkey Smart Map
Smart Map is an AJAX powered Google Map module that displays driving directions, proximity search results and data from your own databases. Smart Map reads GPX (GPS data) files, GeoRSS feeds, and KML data. You can pass any querystring parameter to Smart Map and into your own custom queries to control what data displays on the map.
smartmap.jetkey.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP