Using ColdFusion
Private info
Currently the coldfusion articles are available on RH only. This is a Windows only product, however, Eric thinks that it's probably not used anywhere outside of RH. If doc requests arise on other properties, we will make the doc available there as well.What is ColdFusion MX
ColdFusion, a product from Macromedia, is a popular and sophisticated set of products for building web sites and for serving pages to the users. With ColdFusion, a you can build a content database using input templates and combine these with application programs to create a web site in which pages are developed dynamically as they are served. ColdFusion consists of ColdFusion Studio, which is an IDE used to build a site, and ColdFusion Server, which is a deployment platform used to serve the pages to the users.
Supported ColdFusion version
'We support ColdFusion MX 7.0. For information about this version, visit the Macromedia ColdFusion MX 7 product page. '
ColdFusion scheduling support
ReadyHosting does not support scheduling in ColdFusion.
Find more help for ColdFusion
'To find expert ColdFusion help, visit the Macromedia Support & Training area at http://www.macromedia.com/support/. 'Set a mail server in ColdFusion to send email
'Within your scripts, set the mail server in the server attribute of the cfmail to one of the following values:- localhost
- 127.0.0.1
Example
from="#form.email#" to="info@example.com" subject="Email Subject" server="localhost">Review Macromedia's documentation on sending email messages for more information. '
Create Verity collections in ColdFusion
'ColdFusion is bundled with a custom implementation of the Verity97 search engine, which gives you the ability to perform searches on database and file content. Before it can search, Verity must first index data into a collection, which is a set of files (including the files plus a set of metadata about those files) that is optimized for searching.Files with the following extensions will be indexed: .htm, .html, .xls, .txt, .mif, .doc, .cfm, .cfml, .dbm, .dbml.
To add a Verity collection:
- If you haven't already done so, create a directory under your home directory with the data to be indexed
- Log into your control panel. From Website section, go to FileManager
- Create your data directory, and note the path to this directory
- Log into your control panel. From Website section, go to FileManager
- Log into the ColdFusion Administration page
- In the Verity Collections section, enter the name of the collection
- Enter the path to your data directory, exactly as it appears in FileManager
In this example the path is /SiteData
The system will automatically index all subdirectories within the specified directory.- To index all directories, leave the Path field blank.
- Click Add Mapping.
A message will display to indicate whether the initial creation of the collection was successful. Full setup of the collection can take up to 4 hours.
Find all supported ColdFusion tags
'ReadyHosting supports all tags except: CFRegistry, CFExecute and CFObject, which are disabled as a security precaution.You can view the full up-to-date list of registered CFX tags in two ways:
Direct
- Go to http://members.readyhosting.com/controlpanel/registeredCFTags.bml
- If you aren't already logged in, enter your plan username and password to display the Registered CFX Tags page.
- Log into your Control Panel.
- In the Web Site Management section, click ColdFusion 7 to go to the ColdFusion Administration page.
- Click the link in the Registered CFX Tags section to display the list.
Use ColdFusion Administration tool
'The ColdFusion Administration tool enables you to view and modify user-configurable ColdFusion settings.
- Log into your control panel
- In the Scripting and Add-Ons section, click ColdFusion 7 to go to the ColdFusion Administration page.
- To expand a section, click the + button on the right side of each section bar.
- View and modify settings as needed.
Data Sources
You can add, delete or verify your data source connections (DSNs) in this section.
- To add a DSN, enter the name, and then select the driver.
- Click Add DSN to go to the Create DSN page.
- Enter the path to the database within your home directory.
- Click Create DSN to complete the setup.
Verity Collections
You can create, refresh and delete Verity collections in this section.
- To update the collection (recreate the index), click Refresh to the right of the collection name.
- To delete the collection, click Delete to the right of the collection name.
- Create a new collection
Registered CFX Tags
From this section, you can view the up-to-date list of CFX tags.