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 6:20 PM
 

dkirsche wrote

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?



Its not so easy to include an aweber (or similar) form in DNN because the whole DNN page is a form, and you can not have a form inside a form.  The two just dont work well together.

I've done it in a couple of different ways, the method depends on if you want the form to show on every page vs only on selected pages..  let us know which one you want..  There are advantages and drawbacks of each method, there is no perfect method for including aweber in DNN ...

JK


You know your website is cool, so why not let your users help you by spreading the word on social networking sites - get the DotNetNuke Social Bookmarks Module with 57 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
New Post
6/25/2008 6:22 PM
 

Sam Tanner wrote

There's an easy way...

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

 



Yikes .. surely that would kill your site?? Nothing below the 2nd form would work...

JK


You know your website is cool, so why not let your users help you by spreading the word on social networking sites - get the DotNetNuke Social Bookmarks Module with 57 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
New Post
6/25/2008 9:03 PM
 

dkirsche wrote

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?

There's only one way to find out...  ;)


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 9:37 PM
 

dkirsche wrote

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



Thats easy to do ... if you have only one portal and if you have no plans to add other portals ... just change the (root)/Default.aspx file and add your form .js link:

<body id="Body" runat="server" >
    <noscript></noscript>
    <dnn:Form id="Form" runat="server" ENCTYPE="multipart/form-data" style="height: 100%;" autocomplete="off">
        <asp:Label ID="SkinError" runat="server" CssClass="NormalRed" Visible="False"></asp:Label>
        <asp:PlaceHolder ID="SkinPlaceHolder" runat="server" />
        <input id="ScrollTop" runat="server" name="ScrollTop" type="hidden" />
        <input id="__dnnVariable" runat="server" name="__dnnVariable" type="hidden" />
    </dnn:Form>
    <script type="text/javascript" src="http://forms.aweber.com/form/nn/nnnnnnnnn.js"></script>
</body>
</html>
 
Note that a skin goes inside the <form> tags above, so you cant use a skin (because of the form in a form problem).

JK


You know your website is cool, so why not let your users help you by spreading the word on social networking sites - get the DotNetNuke Social Bookmarks Module with 57 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
New Post
6/25/2008 11:35 PM
 

I would like the email form to be shown on selected pages. Basically I will be creating two or three skins, and will want the form on all pages with a certain skin. How would you suggest I do it?

 
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