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, ...Problems Customizing a Catalyst 2 SkinProblems Customizing a Catalyst 2 Skin
Previous
 
Next
New Post
10/7/2010 7:17 PM
 
Hello,

Timo has given me lots of help on a skin being chopped up once it goes live.  This turned out to be the doctype.xml file not being renamed as well as the skin .ascx file.  It appeared to work locally but won't work on the live server.  We're on Go Daddy, if that helps.

The full issue is, I can't simply copy/rename a Catalyst .ascx file, also copy/rename it's associated doctype.xml file and have it work live.  The css classes remain unchanged in the Catalyst skin file, so the skin css files probably are not the issue.

Just as a simple test, I copied/renamed anything with the skinfile.ascx name and naturally it didn't work but I thought it might be a good guess.

So, here's what I've done:

1.  Copied the Catalyst 2 Template-Boxed-Flash-900x183-01.ascx file and renamed it to TMP-Template-Boxed-Flash-900x183-01.ascx
2.  Copied the Catalyst 2 Template-Boxed-Flash-900x183-01.doctype.xml file and renamed it to TMP-Template-Boxed-Flash-900x183-01.doctype.xml

I refreshed the screen, set the skin in Admin | Site Settings | Appearance and clicked "Preview" -- no joy.  So, I tried a real stretch here, found all files with the prefix of Template-Boxed-Flash-900x183-01, copied and renamed these.  I didn't count on it working but figured I may as well give it a shot.  Naturally, it did not.

Looking at some javascript in the file, I found in the renamed file this line:
var params = { wmode: "transparent", FlashVars: "XMLpath=<%= SkinPath %>Template-Boxed-Flash-900x183-01.images.xml" };

OK, just to be consistent, knowing I'd already copied any file with the prefix above and renamed it, so the images.xml file was also copied, edited the js to read:
var params = { wmode: "transparent", FlashVars: "XMLpath=<%= SkinPath %>TMP-Template-Boxed-Flash-900x183-01.images.xml" };

This looks like a style sheet issue but again, none of the class names changed.  What I've had to do is edit the actual file and keep careful record of changes.

I'm sure this is something easy that I've overlooked but I'm missing it.  Any ideas?

Thanks,

Mike
 
New Post
10/8/2010 8:07 AM
Accepted Answer 
Howdy All!,

Got the answer straight from the doctor himself, Dr. Nuke.

Here it is, quoting the Good Doctor:

"Yes, you also need to copy the doctype.xml file but you often need to restart DNN under Host > Host Settings for this change to take effect if you’ve previously loaded the template without it.

The set of files you would need to duplicate are:

Template-Boxed-Flash-900x183-01.ascx

Template-Boxed-Flash-900x183-01.css

Template-Boxed-Flash-900x183-01.doctype.xml

Template-Boxed-Flash-900x183-01.emsettings.xml

Template-Boxed-Flash-900x183-01.images.xml

Template-Boxed-Flash-900x183-01.jpg

 

Please let me know if we can help further.

You need to feed the flash movie with your new “Template-Boxed-Flash-900x183-01.images.xml“ which you have also duplicated.

So you need to edit your copy of “Template-Boxed-Flash-900x183-01.ascx” and change the line:

var params = { wmode: "transparent", FlashVars: "XMLpath=<%= SkinPath %>Template-Boxed-Flash-900x183-01.images.xml" };

to

var params = { wmode: "transparent", FlashVars: "XMLpath=<%= SkinPath %>WhateverYouCalledThisFile.images.xml" };"

Kind regards

James Godbold

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Problems Customizing a Catalyst 2 SkinProblems Customizing a Catalyst 2 Skin


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