FCKeditor Module Plug-In: PayPal ButtonFor WebsiteBaker -
www.websitebaker.or gAttached is a plugin for FCKEditor which adds a Paypal "Buy Now" button to the FCKToolbar in websitebaker. The following information is also included as a readme.txt file in the ZIP attachment.
___________________
______________
IMPORANT NOTES
* Always be sure to do your own testing as your configuration and requirements may not match those of the developers... especially when it comes to financial components of your website.
* This is not a standard WebsiteBaker Module. The installation must be completed manually. Once completed, you will need to remember to re-apply these changes anytime you upgrade to a new version WebsiteBaker in the future.
___________________
_________________
CREDITS
v1.2 - by Michael Milette (
www.TNGConsulting.c a) - September 5, 2010
- Item Number is now optional
- Added Tax Rate field (optional)
- Added Shipping Amount field (optional)
- Added Product Type field
- Added option to select button size (large or small)
- Added indicator to show which fields are required.
- Updated HTML code to current PayPal standards.
- New documentation for Website Baker
v1.1 - QL Studio of
http://studio.quintalinda.com/help/downloads/fckeditor-plugins/- Modified
v1.0 - Scott Jibben
- Initial Release
___________________
______________
INSTALLATION - For websitebaker
**** Step 1
Upload the paypal folder and all of its contents into the following folder:
modules/fckeditor/fckeditor/editor/plugins/
**** Step 2
Using a text editor like PSPad, Notepad++ or Windows Notepad, edit the file called:
modules/fckeditor/wb_config/wb_fckconfig.js
Add following line near the top of the file:
FCKConfig.Plugins.Add( 'paypal' );
Add a new variable called paypal to the FCKConfig.ToolbarSe
ts["Original"]
section - for example:
['Image','Flash','video','audio','Smiley','paypal']
Repeat the above step in the FCKConfig.ToolbarSe
ts["WBToolbar"] section.
Save the file.
**** Step 3
Don't forget to read the customization section below.
___________________
______________
CUSTOMIZATION
All of the modifications listed below are to be applied to the file called paypal\paypal.html
**** Website Language
If you are not using English, modify the following line:
To control the language of the button:
'<INPUT type="image" alt="Buy Now" src="
https://www.paypal.com/en_US/i/btn/txtPayPalBtnType" border="0" name="submit">' +
Change the en_US to your prefered language. For example, fr_FR for french, es_ES for spanish, etc. Always be sure to test your buttons when you create them.
To Control Language in which Paypal will appear to the user:
'<INPUT type="hidden" name="lc" value="EN">' +
Change the EN for your prefered language. MUST BE IN UPPERCASE. For a list of language codes, visit
http://www.mathguide.de/info/tools/languagecode.html**** Add Support for Currency
If you are not using one of the following currencies, you will need to modify this section:
<select id="txtPayPalItemCurren
cy" onkeyup="btnStat(this.form)" style="width: 90px" tabIndex="3">
<option value="CAD" />Canadian
<option value="EUR" />Euros
<option value="GBP" />GB Pounds
<option value="USD" />US Dollars
</select>
**** Backend Language
You can customize the backend language by copying and editing the files in the paypal/lang folder.
Note: es.js currently contains a copy of the English text.