Jump to content



Latest News: (loading..)

- - - - -

Problem Inserting HTML Code in FCK Editor


  • Please log in to reply
4 replies to this topic

#1   Mort-lemur

Mort-lemur
  • Members
  • 1,195 posts
  • Real Name:Heather
  • Gender:Female
  • Location:UK

Posted 10 July 2012 - 08:53 PM

Hi,

I use FCK editor on my 2.2 sites and it works well.

However, I have come across a bit of a problem as follows:

Im trying to add some Paypal HTML code to a product page (Paypal Gift voucher button code).

As usual when adding code I click the "source" tab on FCK Editor and paste in the code.

When I click Preview the Paypal Button is there and looks as it should.

But for some reason I cannot click on the update button to save the change. If I remove the code I can update as per usual.

The code im trying to insert looks like this:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="somerandomletters">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_giftCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>

I have tried opening Html tag to no effect

any Ideas?

Thanks
Now my store is the way I want it - Secure, working well, and good Google Ranks - Thanks to all for the help given.

If you want to see the mods I have installed, then see my profile.

#2   Mort-lemur

Mort-lemur
  • Members
  • 1,195 posts
  • Real Name:Heather
  • Gender:Female
  • Location:UK

Posted 11 July 2012 - 12:14 PM

OK still struggling with this one - looking at it a little differently, is there a way to insert the above code on a single product info page (by identifying the product number), maybe instead of the add to cart button?

Thanks
Now my store is the way I want it - Secure, working well, and good Google Ranks - Thanks to all for the help given.

If you want to see the mods I have installed, then see my profile.

#3   multimixer

multimixer

    Lemons or Melons ?

  • Partner
  • 4,384 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 11 July 2012 - 12:51 PM

You try to insert a form within an other form.

The other form is the form of product_info.php, hat include the product description

You can't nest forms

If you want to add anything like that you have to do it on product_info.php

#4   Mort-lemur

Mort-lemur
  • Members
  • 1,195 posts
  • Real Name:Heather
  • Gender:Female
  • Location:UK

Posted 11 July 2012 - 01:18 PM

@multimixer

Thanks george - I will try to work that out...
Now my store is the way I want it - Secure, working well, and good Google Ranks - Thanks to all for the help given.

If you want to see the mods I have installed, then see my profile.

#5   Mort-lemur

Mort-lemur
  • Members
  • 1,195 posts
  • Real Name:Heather
  • Gender:Female
  • Location:UK

Posted 11 July 2012 - 04:11 PM

OK sorted it out - as the stores are 2.2 I created a new box in column left and added the code into that :shifty:
Now my store is the way I want it - Secure, working well, and good Google Ranks - Thanks to all for the help given.

If you want to see the mods I have installed, then see my profile.