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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...C# template doesnC# template doesn't appear using starter kit
Previous
 
Next
New Post
9/12/2006 3:04 AM
 
I've just installed DNN using starter kit 4.3.4. But when I open Visual Web Developer it is only the VB-version that appears in the 'New web site' menu. When I choose C# from dropdown, the 'My templates' menu is empty.
 
New Post
9/12/2006 6:49 PM
 
There is no Skin template for C#.  Only a mod template.
 
New Post
9/19/2006 2:15 PM
 
Note that if you use the c# module starter kit the new module doesn't actually compile.. their release process for starter kits must not be all that in-depth :rolleyes:

Fortunately it's a trivial fix, line 136 of View[ModuleName].ascx.cs uses '&' instead of '+' for string concatenation.

After that hurdle if you then add the module to a page, you will get a module load error whenever you try to view it.
This is because on line 131 of the same file they do:
strContent = (string)Settings["template"];

The Settings hash table is empty so strContent is null, so it throws when it tries to use the string a few lines lower. You should just make it something like:
strContent = ((string)Settings["template"] != null) ? (string)Settings["template"] : strTemplate;

Then you can actually compile and use the module, yay :)
 
New Post
9/19/2006 3:15 PM
 

FYI : this was spotted and fixed for the 4.3.5 release.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
9/19/2006 3:17 PM
 
cathal wrote

FYI : this was spotted and fixed for the 4.3.5 release.

Cathal



It isn't in my copy of the 4.3.5 release.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...C# template doesnC# template doesn't appear using starter kit


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