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, ...ShowSite=�False� instead of = "False"ShowSite=�False� instead of = "False"
Previous
 
Next
New Post
8/12/2007 3:18 AM
 

Hi all,

A recently bought skin is behaving weirdly after uploading. When i chose the skin i liked it gave me the following error: "Cannot create an object of type 'System.Boolean' from its string representation '�False�' for the 'ShowSite' property." This error message is comming from the ascx file i chose.

After looking in the ascx file i found out that showsite property for the new search option actually had a '�' instead of a '=' around the false statement. In the same line this was also the case with the Showweb property. The weirdest part (for me ) was when i found out that in the actual source which i uploaded to DNN 4.5.5 it was all correct (no � signs in there).

I manually corrected the file in my DNN installation and had no problems after this anymore but i'm wondering why this occured in the first place.  It doesn't look like a problem with the skin since it was allright in the ascx which i uploaded. Could it have have got something todo with the parsing of the skin package?

Thanks in advance,

Marc


Regards,
Marc

www.biservices.eu for free nl-NL resourcepacks.
 
New Post
8/12/2007 1:27 PM
 

Bad editor.  Somewhere along the line, a double quote was replaced by a left double quote and a right double quote.  The low ASCII double quote looks like two straight line marks, the left/right double quote pair is the "prettier" curved double quotes.  Many programs replace these, notable word processors like Microsoft Word.  But even Microsoft's Expression Web has an annoying habit of changing these.  A reason all editing should be done with a decent code editor and not a wrod processor.

For more in fo, take a look at:

http://www.joelonsoftware.com/articles/Unicode.html

Jeff

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...ShowSite=�False� instead of = "False"ShowSite=�False� instead of = "False"


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