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  |  

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


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Forms In a Skin
Previous Previous
 
Next Next
New Post 6/24/2008 10:28 PM
User is offline dkirsche
8 posts
10th Ranked


forms In a Skin 

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 2:36 AM
User is offline peter schotman
298 posts
www.dotnetnuke-websites.nl
9th Ranked




Re: forms In a Skin 

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 5:17 AM
User is offline Will Strohl
1331 posts
Orlando.DotNetNukeUG.Net/
6th Ranked




Re: forms In a Skin 
Modified By Will Strohl  on 6/25/2008 8:17:46 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 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 9:19 AM
User is offline Sam Tanner
472 posts
www.EasyTemplateSkins.com
8th Ranked


Re: forms In a Skin 

There's an easy way...

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

 



Easy Template Skins for dotNetNuke~ Sam Tanner ~
Web Templates and HTML ported to skins for DNN
 
New Post 6/25/2008 2:38 PM
User is offline dkirsche
8 posts
10th Ranked


Re: forms In a Skin 

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 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.

 


SSL Enabled and Amazingly FAST...
SSL enable your DNN web site with SSLRedirect, compress your DNN web site HTTP data flow by up to 75%-90% with HttpCompressionAgent, and monitor your DNN web site's performance with WebKeepAlive...
www.sanibellogic.com
Ultra Media Gallery & Video Gallery
The most popular photo gallery and video gallery module. with Flash interface.
www.bizmodules.net
WDK Solutions
Quality modules for the DotNetNuke community. Check out our 'wild' modules!
wdkns.com

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