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, ...Noob alertNoob alert
Previous
 
Next
New Post
1/22/2008 5:36 AM
 

Hi,

 

I am an totally noob to dotnetnuke although I have worked with other cms lika jooma, dowebadmin, polopoly and such..

I am currently trying to work out how to use skins and how to configurate them and eventhough browsing trough the net looking at tutorials and such I cant seem to manage it in a good way. for example I have downloaded a free skin and installed it, but cant get it to work with its containers or get rid of the top menu, www.yeahmag.se if you want to know what I mean. Modules seems easier to install and to use, but skins and how to make pages within the site to link too and so seems difficult for a noob like me.

Anybody that knows a straight forward help?

Thanks in advance!

 

Cheers,

 

Sebbe Gustin

 
New Post
1/22/2008 7:02 AM
 

Not too sure by what you mean with the top menu. If it is the blue bar with the web, site and search then load the ascx file for the skin into frontpage,dreamweaver or visual studio and then edit the html - it will most probably sit between a <td></td> tag - delete the whole tag and its gone.

Care should be taken with front page when you edit a ascx page with front page it can sneek a html and body tag in ie try to turn it into a aspx.

Not too sure of what your site does - my swedish is non existant.

The best way to learn skinning is to pick up a skin that has the html file rather then the ascx - check the skinning documentation ( available on the dotnetnuke site) for the skin tags that are available ie [currentdate] [usrer] etc - if you work on the html rather then the ascx it is much easier and when you install the skin dnn will generate the ascx file for you.

The skin you appear to be using is dnn blue -comes with dnn. in the Portals\_default\Skins\DNN-Blue directly you will find the htm for this skin.  Copy the htm,css,xml and the gtraphics to another directory  and work on them - then when you change the skins zip all to a zip file and install it using the admin/host menu.

 

 
New Post
1/22/2008 1:42 PM
 

thanks for the reply!

yes that was what I was meaning!

I managed to get rid of it and fix some thing by editing the acx files and the css file, but I only manage to upload them trough ftp, when I zipp the catalog and upload it as a new skin it says no skins are avaible:( and the solution by ftp was not good since when removing that bar with the search and so on I was removing something within the hostadmin and admin because the host and admin menu where no where to find:(

Fortunate and as you suggested i had the originalfiles left so I could upload them again.. what it seems now is that it won accept my modifiled skins zip and if I use ftp i crash the host/admin menue.. I imagine that you can in some way aply different skin to the backend and the frontend (the site).. now i am even more lost than before i am sorry to say:(

Regards,

Sebbe

 
New Post
1/22/2008 6:09 PM
 

I'm also a bit unsure of what's going on with all that, but you might find it easier to avoid the skins upload page altogether when developing a skin. It's fine for uploading and applying a fully tested skin package, but it only complicates things when you're trying to build a new skin.

You'll know most of this already, but I'm going to touch briefly on a basic skin editing prodecure because it would have helped me at the time.

  • Examine the skins and containers folder structure on a fresh install so that you know where things go.
  • Take note of how Host skins reside in the _default folder, but portal skins reside in the respective portal folders.
  • The DNN default skins are host skins.
  • Then also learn the difference between the files in the skin package so that you know why you're going to edit the ascx files rather than the HTML/XML files
  • DNN combines HTML and XML files and builds ASCX files from them.
  • ASCX files are the actual skins and any edits to them are shown in real time on the site
  • You can create folders for skins and containers following the structure of the default skins
  • Upload skin and container files to the folders
  • Go to the Admin Site Settings page and apply a portal skin and portal container
  • You can also apply an Admin skin and Admin container (answering one of your questions)
  • Use a wysiwyg editor (Frontpage, ExpressionWeb, Dreamweaver etc) to view and edit the skin's ASCX files directly on the server.
  • View the results in a browser.
  • You can undo changes immediately in your editor so long as you keep the file open - this should help you with those crashing problems.

If you have already learned the difference between HTML/XML and ASCX skin files then you may decide you want to edit the HTML/XML files instead of the ASCX. The main reason for doing this is if you are creating a skin for sale, as people like to have those files in the package. If you do edit the HTML and XML files live on the server, then you must take the extra step of parsing the skin (there's a button on the skins page) before you will see the results. This creates new ASCX files.

If you want to save the skin offline for distribution, just ensure that you place the skin and container files in the exact same structure as they are in a working skin package.

Also, check out this cool helper app: http://www.codeproject.com/KB/dotnet/SkinCreatorForDotNetNuke.aspx

Rob

 
New Post
1/22/2008 7:18 PM
 

>it says no skins are avaible:( and the solution by ftp was not good since when removing that bar with the search and so on I was removing >something within the hostadmin and admin because the host and admin menu where no where to find:(

ok the best practice with skins is always work on the htm not the ascx files. When you deleted the top bar it also deleted the [menu] tag I assume however on your first skin there did not appear to be a menu present. When you tried to install the zip file and it told you that there were no skins I assume that you had the ascx files in the zip not the htm files. best practice to mod the standard skins is to setup a directory on your in house computer and copy the htm,css,xml and graphics only from the standard skin. using this offline copy then edit the htm files using front page or the like - once edited then rezip and then install using dnn - best practice is to install to host unless you have a multi client site where clients can change the skins.

with ascx skin files you must ftp them you cannot install them. When you go to test the skin on the server use the preview button rather then just setting the skin to the page - this way if there is any problems you will see them without creating a problem to the live site. If you want to email the htm file for the skin ( zip it first) to admin@feralsoftware.com and I will have a look at it for you.

>I imagine that you can in some way aply different skin to the backend and the frontend (the site).. now i am even more lost than before i am >sorry to say:(

you can have a different skin for the general site and the admin part of the site - this is done via the admin/site settings menu. You can of course also have a different skin for each page and this is done via the page settings in the control panel. The same applies for containers

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Noob alertNoob alert


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