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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...How to add a form to DNN HTML Control?How to add a form to DNN HTML Control?
Previous
 
Next
New Post
2/11/2010 6:43 PM
 

 I use Mals-e shopping cart... is there a way to use this on DNN via the HTML module?

(The Store module requires a major overhaul to do what i need but Mals-e already handles this... I'm still trying to figure out how to open the store project so this will take a long time...)

The form has an action to another site for cart management.

any ideas?

 
New Post
2/11/2010 7:35 PM
 

 I found the solution while waiting for this to post...

If people search for this in the future the fix can be found here: http://blogs.snapsis.com/PermaLink,guid,94277650-bd4c-445f-badf-b84646ecc8eb.aspx

and a recap is this:

 

<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="image"
   onClick="this.form.action='https://www.paypal.com/cgi-bin/webscr';this.form.submit();"
src="https://www.paypal.com/en_US/i/btn/x-..." border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
 
Step 1. Remove the <Form> </Form> tags from your PayPal "Buy Now" code. 

Step 2. Add 
          onClick="this.form.action='https://www.paypal.com/cgi-bin/webscr';   
                      this.form.submit();" 

      to the buy now input button. 

Step 3. Paste what is left into the html module
 
This was taken from the Blog of John Mitchell's.
 
It would be nice for a non JavaScript method, but this will do for now. =D
 

 

 
New Post
2/14/2010 8:28 PM
 

 I just found a bug with this approach...

Apparently after you do this fix, any javascript function below the above mentioned javascript throws an exception... (Bad if your trying to edit controls below...)

Any ideas on how to overcome this?

 

 
New Post
2/14/2010 8:45 PM
 

 I have this fix now too...

if you new submit buttons has a name of 'submit' then this will occur... change it to name='Submit' (note the case) and it works...

Also, for some reason, putting the code into a function fails... Don't know why...

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...How to add a form to DNN HTML Control?How to add a form to DNN HTML Control?


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