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, ...Forms In a SkinForms In a Skin
Previous
 
Next
New Post
6/25/2008 1:28 AM
 

I am trying to create a new skin and noticed that dnn does not like forms in the skin. I would like to include a simple form to gather an email address for our newsletter. The form code that I am using was provided by our third party email marketing company. This is the only way that I can gather emails and have it automatically saved on my email hosting company's server.

Any suggestions how to get this form working?

 
New Post
6/25/2008 5:36 AM
 

The way you want to solve this issue, is not the way dnn works. You don't add this to the skin. You should add a forms module (e.g. feedback module) on a page through the content management features of dnn.

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
6/25/2008 8:17 AM
 

That's not entirely true.  The ASP.Net technology does not like to have more than 1 form on the page.  The page itself is for all intensive purposes already a form - a web form.  However, that does not mean that there are not ways around it.  For instance, you could generate the HTML form dynamically using JavaScript.  That is a bit more complicated, but your skin, DNN, and ASP.Net would all be happy with it.

There is plenty of information out there on how to generate a form at runtime using JavaScript.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
6/25/2008 12:19 PM
 

There's an easy way...

Just add a closing /form tag prior to the opening tag for your form.

 

 
New Post
6/25/2008 5:38 PM
 

I like the idea of just closing the form, but I am a little worried that it would mess up dnn some how. Are you sure it won't cause other problems?

 

Also, just to comment on a previous post, I would like to keep this form in the skin because I want it to show up on every page. I would prefer not having to add this form to every page that I create.

Dan

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Forms In a SkinForms In a 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