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, ...Development Environment Best PracticesDevelopment Environment Best Practices
Previous
 
Next
New Post
4/4/2008 12:56 AM
 

I really do apologize if this has been asked before.  I did a few searches through the forums and never really found a good answer.

I'm somewhat new to DNN development, but not to development in general.  I recently switched from VS2005 to VS2008.  I have a couple of clients that have asked me to enhance their DNN based sites, starting with skin development.  I've created a few of my own skins and get the general idea of working with the DNN tokens or User Controls.  But...

Via a Visual Studio start kit for DNN skins, I've tried starting a few new projects.  It seems to me that when the environment generates the folders and default files, the organization of the skin directory under the development installation gets all messed up.  Also, for just creating a skin, it seems like having the entire DNN source library open is a bit overkill. 

Can anyone describe to me a (relatively) simple Visual Studio environment setup for skin development?  Even better would be a setup that includes support for module development.  The requirements would be to include only those projects or libraries required to make full use of the Visual Studio environment (ie Intellisense) and being able to build/debug the project as you work.  (My previous skin attempts were debugged via a tedious "change, save, ftp upload, choose new skin" process that was really time consuming for little changes).

Any help or redirection to available resources would be appreciated.

 
New Post
4/4/2008 9:39 AM
 

Using sql server express and visual studio with .net 2.0 +installed you can set up a local host installation of DNN on your computer. Then you can simply open the files from the /portals/#/Skins folder and make changes to the local installation. If it seems a bit much work then do what I do what you have been doing but the ftp process seems unnessecary. For example I make a change on my desktop save it in the webpage / site  choose upload new skin and it will overwrite the exsisting files. Takes about 1 second to do. Granted I click a bunch. I tried the local host install for a while its nice when building a completely new skin module cause it saves time, but when it comes to small client site tweaks I find its faster to just save and upload.

 
New Post
4/4/2008 10:48 AM
 

I use VS2005 as well and I am in the process of moving to vista/2008, but that is another discussion.

Here is wat I do. 
I have a simple DNN install on my local machine. I use virtual directories so: http://localhost/dnn481/. When I need to develop a new skin, I usually make a new child portal in this install so: http://localhost/dnn481/newclient, then in DNN I upload a skin from which I start developping the new custom skin. NextI start VS and open the website. Next I browse to the skin/container ascx file (and the skin/container.css of course) in the solution explorer and start skinning. After saving a file (ascx) , I simply refresh my browser. One immediately sees the changes and one never needs to do building or whatever in VS2005. Quite a simple proces actually.

When the skin is done, I package it, and move it over to some staging environment.

Peter

 


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
4/4/2008 11:33 AM
 

Hifi:

Allow me to clarify something in case you haven't realized it yet.  If your intent is to develop skins and modules, you DO NOT need the source version of the DNN core.  You can do development just fine with the "Install" version.  In that way, and taking advantage of the new VS2005 way of doing things, you can just compile your module without having to compile the whole core every time. 

Does this help to alleviate your concern?

Carlos

 

 
New Post
4/10/2008 4:28 PM
 

I personally have never needed to use an IDE like VS to skin, I just get the general code together in HTML with tokens, upload it then just edit the CSS on the site using the Webdeveloper extension for FF and several other tools. Now, as far as module development, I'm sure VS is the way to go, however I'm only a rookie when it comes to OOP so most my work stays in the realm of HTML / CSS / XML.

~SB


Wells Doty Jr
Online Content Development
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Development Environment Best PracticesDevelopment Environment Best Practices


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