Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Forms In a Skin
Previous Previous
 
Next Next
New Post 6/25/2008 3:20 PM
User is offline JK
247 posts
www.bestwebsites.co.nz
9th Ranked


Re: forms In a Skin 

 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 BestWebSites SEO Social Bookmarks Module with 42 different ways to add social bookmarks to your site, from Snowcovered ... click here to download the FREE demo right now

Get web hosting from DotNetNuke experts:
2gb total disk space/10gb traffic: $EUR 5.56/mth.
 
New Post 6/25/2008 3:22 PM
User is offline JK
247 posts
www.bestwebsites.co.nz
9th Ranked


Re: forms In a Skin 

 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 BestWebSites SEO Social Bookmarks Module with 42 different ways to add social bookmarks to your site, from Snowcovered ... click here to download the FREE demo right now

Get web hosting from DotNetNuke experts:
2gb total disk space/10gb traffic: $EUR 5.56/mth.
 
New Post 6/25/2008 6:03 PM
User is offline Will Strohl
1331 posts
Orlando.DotNetNukeUG.Net/
6th Ranked




Re: forms In a Skin 

 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 LinkedIn profile
StrohlSiteDesign.com | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
New Post 6/25/2008 6:37 PM
User is offline JK
247 posts
www.bestwebsites.co.nz
9th Ranked


Re: forms In a Skin 

 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 BestWebSites SEO Social Bookmarks Module with 42 different ways to add social bookmarks to your site, from Snowcovered ... click here to download the FREE demo right now

Get web hosting from DotNetNuke experts:
2gb total disk space/10gb traffic: $EUR 5.56/mth.
 
New Post 6/25/2008 8:35 PM
User is offline dkirsche
8 posts
10th Ranked


Re: forms In a Skin 

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 Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Forms In a Skin
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNNCovered.com - Your Offshore Dotnetnuke Partner
Dnncovered.com is the only Dotnetnuke offshore outsourcing center specializes in DNN skinning and module development with lowest pricing and quality service. Our staff is dedicated to websites based on DNN and our graphic designers are creative and imaginative well enough to provide customers the complete set of skinning solutions and packages
www.dnncovered.com
PointClick.Net DNN Solutions
DotNetNuke Hosting Platform for Business and personal use.
PointClick.Net Hosted Solutions
Advanced Web Portals by Infoscaler
Infoscaler is a California based company that provides advanced Web Portals, E-commerce Sites, Database Applications and Intranet Solutions on the DotNetNuke and Microsoft.NET platforms.
www.infoscaler.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP