Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Editing a skin in ASCX vs. html Editing a skin in ASCX vs. html
Previous
 
Next
New Post
8/14/2008 2:24 PM
 

I used to see a lot of posts discussing the merits of html vs. ascx skinning but not so much anymore.  Has everyone just decided to do work in html?  There are many very good resources for html skinning, my favorite is the DNNCreative site.  I have never seen a tutorial on ascx skinning.  I know you cannot just open the ascx file in visual web developer and I have seen posts saying that you have to have a working site to work on but I have never seen a list of the steps you need to do to setup skinning that way.  Sometimes the html method just seems a little cumbersome and I was hoping for something a little more streamlined.

Any thoughts?

Thanks,
Bill

 
New Post
8/14/2008 3:01 PM
 

Sorry but I meant aspx in all of the places that I said ascx in my last post. 

I skipped lunch and wasn't thinking clearly.

Bill

 
New Post
8/14/2008 3:14 PM
 

Please ignore my last post referencing aspx file extensions.  Low blood sugar...

While reading the skinning document again, I noticed a feature that may be able to speed up the html process.  Can anyone expand on this from the skinning doc file?  It says to copy the package to the appropriate application directory.  Does this mean the install/skin folder?
 

XCOPY Deployment
In DotNetNuke 3.0, a new feature was added which allows you to deploy a skin or
container at the host level without having to login to the application. This is useful in
scenarios where you are a Hoster and wish to provision a client account with a new skin,
or possibly you would like to upload your skin via FTP rather than through the user
interface, or perhaps you are developing a new skin and wish to test it locally. In order to
use this feature, must copy your skin or container package file ( *.zip ) to the appropriate
application directory. The application will immediately recognize the file and execute the
necessary installation routine.

 
New Post
8/15/2008 1:58 PM
 

Bill Mason wrote
 

I know you cannot just open the ascx file in visual web developer...

Crap!  You mean what I've been doing for the last two years hasn't actually been working?  :)

Opening the ASCX file and editing it works fine.  I don't use a separate site to test, but I do make sure I have a default skin in place for when mine breaks.  The beauty of editing ASCX skins is there is no XML to deal with, just the ASCX file and a CSS file.  You don't need to install a new skin, just edit the file and refresh the browser window.

I used to do a fair amount of creating the skin in HTML, installing it and then tweaking the resulting ASCX file, but now I pretty much edit in ASCX only.  I don't remember offhand if DNNCreative has any ASCX skinning tutorials, I know Nina Meiers did at one time.

Jeff

 
New Post
8/16/2008 5:54 AM
 

The main reason for doing skinning in HTML is to ensure that what you finish up with is easily upgradable. So as you move to DNN5, DNN6 and so on, the parser translates it intelligently based on the DNN version. We still have some DNN 2 skins that work more or less well in DNN5 beta. This cannot be said about Ascx skinning. I appreciate that it may be easier for a coder to do it in ASCX, I hear that they keep telling me that we just press F5 to see the changes - true but for us the best application is still Dreamweaver. Point it to your portal running IIS so you see it in local host - do your changes in html in dreamweaver, You need two browsers looking at the site. one you are logged in as admin another as user. the one you are logged in as admin - open admin/skin and you can parse then seethe result of your changes in the browser that you are not logged in as admin. This approach is still one step more than just F5 but the result is much more robust than an ASCX skin in the long run.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Editing a skin in ASCX vs. html Editing a skin in ASCX vs. html


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out