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  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


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
5 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
297 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
1327 posts
www.strohlsitedesign.com/
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
5 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.

 


Alliance Systems & Programming Inc
Alliance is not just our name... it's how we do business. We partner with our clients, learning their business processes and standards and then applying our expertise to help them improve their workflow and profitability.
www.Alliancesys.com
Customer Connect
Customer Connect provides cutting edge solutions that deliver sales, marketing and customer service results.
www.customer-connect.com
TechNexxus
Business process and technology sourcing solutions delivering superior people, process and value. We have used, and continue to use, DNN successfully in numerous client projects to deliver exceptional value. We are proud to support the DNN team and community.
www.technexxus.com

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