Actions

Difference between revisions of "How do you add a PayPal button?"

From Joomla! Documentation

(add link)
Line 8: Line 8:
 
Note that you will need to repeat this any time you want to edit the code.
 
Note that you will need to repeat this any time you want to edit the code.
  
It is generally preferable to create a Custom HTML module instead of just pasting the code into an article. This way you can put the link in a module position on as many page as you like. You can also put the module inside an article using the {loadposition myposition} command.   
+
It is generally preferable to create a Custom HTML module instead of just pasting the code into an article. This way you can put the link in a module position on as many page as you like. You can also put the module inside an article using the [[How_do_you_put_a_module_inside_an_article%3F|{loadposition myposition}]] command.   
  
 
[[Category:FAQ]]
 
[[Category:FAQ]]
 
[[Category:Administration FAQ]]
 
[[Category:Administration FAQ]]
 
[[Category:Version 1.5 FAQ]]
 
[[Category:Version 1.5 FAQ]]

Revision as of 16:29, 10 August 2008

PayPal, Google, and other sites often provide HTML code that you can use to insert links into your website. You can insert this type of HTML code, including forms, either inside an Article or using a Custom HTML Module. However, the TinyMCE editor will normally strip out this type of HTML code. So if you try to paste in some types of HTML code using this editor, it will not work, since the editor will remove the code when you save the Article or Module.

To avoid this problem, do these steps:

  1. Go to the User Manager and change the User Editor to "No editor".
  2. Go to the article or Custom HTML module and paste in the desired HTML code.
  3. Go back to the User Manager and change the User Editor back to TinyMCE (or your normal editor).

Note that you will need to repeat this any time you want to edit the code.

It is generally preferable to create a Custom HTML module instead of just pasting the code into an article. This way you can put the link in a module position on as many page as you like. You can also put the module inside an article using the {loadposition myposition} command.