Integrates with the CloudFlare Host API (http://www.cloudflare.com/docs/host-api.html) to create CloudFlare accounts and Zones. Implements all of the exposed methods except host_key_regen.
This module offers a full CloudFlare Host API class that can be extended as well as a UI for managing CloudFlare hosting accounts.
Installation:
* Install the module
* Visit /admin/config/cloudflare-host
* Enter your CloudFlare Host API Key
* Visit /cloudflare-host
* If you have existing accounts, click "Sync Accounts"
Create a CloudFlare Hosting Account:
* Click "Add Account"
* Enter a customer email address and password
Create a CloudFlare Domain Zone:
* View an existing Hosting Account
* Click "Create a new domain record"
* Enter the zone (ie: example.com)
* Enter the 1st cname (ie: www.example.com)
* Enter the resolvable A record (ie: cloudflare.example.com => should resolve to the actual IP for www.example.com)
* Save the Domain Zone
DNS & Web Configuration (at your DNS and Web Host)
* Create an A Record for your resolvable subdomain (ie: cloudflare.example.com = xxx.xxx.xxx.xxx)
* Create a CNAME record to match the "CNAME Value" of the record on the account view page (ie: www.example.com = www.example.cdn.cloudflare.net)
* Update you .htaccess to forward requests to www.example.com
This module provides support for the money.js currency conversion script from http://josscrowcroft.github.io/money.js/ along with support for the Open Exchange Rate currency conversion data.
If you have Libraries module, copy money.js and accounting.js to sites/all/libraries/moneyjs/. If not, just put them in the folder for this module.
Run cron to pull in latest conversion rates. Link to do this is on admin page. If nothing populates check the logs.
Now how to you get it to work on your site. Right now, that is done via a full HTML block:
Add something like the following to a custom block:
<div id="moneyjs"><fieldset style="margin:auto;width:225px"><legend>How much is $999.99 in your currency?</legend>
<select name="currency" id="currency" style="width:200px;"></select><h2 id="price" style="text-align:center">999.99</h2>
</fieldset> </div>