Overwrite DefaultLayout in environments.xml.cfm

0 views
Skip to first unread message

Giancarlo Gomez

unread,
Nov 30, 2009, 3:26:30 PM11/30/09
to ColdBox Platform
Is there a way to overwrite the DefaultLayout in the
environments.xml.cfm?

I tried the following but no luck.

<Setting name="Layouts" value="{'DefaultLayout':
'layout.main.v3.cfm'" />

Giancarlo Gomez

unread,
Nov 30, 2009, 5:34:24 PM11/30/09
to ColdBox Platform
Forget it I figured it out .........

This is how you do the default layout
<Setting name="DefaultLayout" value="yourFile.cfm" />

This is how you do a folder layout
<Setting name="FolderLayouts.theFolderValue" value="yourFile.cfm" />

And like they say in the docs just do a dump on the follwing and you
will see how you can override.

controller.getConfigSettings()
Reply all
Reply to author
Forward
0 new messages