config
folder of your CFWheels application. In general, most of your settings will go in config/settings.cfm
.development
mode or production
mode. See the chapter on Switching Environments for more details.Application.cfc
, you can normally set values for your application's properties in the this
scope. CFWheels still provides these options to you in the file at config/app.cfm
.config/app.cfm
:config/environment.cfm
and should look something like this:"Off"
.index.cfm
.perPage
value for every single call to findAll() if you have a different requirement than the CFWheels default of 10 records.blog_
but didn't want to include that at the beginning of model names, we would do this:post
model will map to the blog_posts
table, comment
model will map to the blog_comments
table, etc.development
mode so there aren't any deployment issues in production
, testing
, and maintenance
modes. (At that point, your plugin should be properly packaged in a zip file.)config/development/settings.cfm
:disabled
instead of disabled="disabled"
). You can also pass in true
(all attributes will be boolean) or false
(no boolean attributes allowed, like in XHTML).session
or cookie
.
Choosing session
requires no additional configuration.
Choosing cookie
for this requires additional configuration listed below.session
storage. See your CF engine's documentation for the Encrypt()
function for more information.csrfCookieEncryptionAlgorithm
setting if you're using cookie
storage. This value is ignored if you're using session
storage. See your CF engine's documentation for the Encrypt()
function for more information.session
storage. See your CF engine's documentation for the Encrypt()
function for more information.session
storage.cfcookie
for more information.cfcookie
for more information.HTTPOnly
. See your CF engine's documentation for cfcookie
for more information.cfcookie
for more information.cfcookie
for more information.cfcookie
for more information.true
if you don't want CFWheels to block you from using older CFML engines (such as ColdFusion 9, Railo etc).false
to completely disable the migrator component which will prevent any Database migrationsfalse
to completely disable the plugins component which will prevent any plugin loading, and not load the entire plugins systemfalse
to completely disable the public component which will disable the GUI even in development mode