I’m trying to create a module and i can’t get it to route over to the module handler instead of the main app handler. cbdebugger shows i have the CBormHelper module loaded (among others like cborm) but when i click the link for entrypoint it goes to URL: http://server/app/index_cb.cfm/CBormHelper which i would expect to run CBormHelper’s Main.index event. but it’s running the main app’s Main.index event
debug info:
`
Current Event:
main.index
Current Layout:
Main.cfm (Module: )
Current View:
main/index
Current Route:
CBormHelper/
Routed URL:
CBormHelper/
`
directory structure:
`
app/
CONFIG/
HANDLERS/
LAYOUTS/
MODELS/
MODULES/
CBormHelper/
ModuleConfig.cfc
handlers/
models/
TESTS/
VIEWS/
Application.cfc
coldbox/
www/
`
I have in my Application.cfc:
`
`
in my CONFIG/Coldbox.cfc:
`
conventions = {
handlersLocation = “HANDLERS”,
pluginsLocation = “PLUGINS”,
viewsLocation = “VIEWS”,
layoutsLocation = “LAYOUTS”,
modelsLocation = “MODELS”,
eventAction = “index”,
modulesLocation = “MODULES”
};
`
my app/MODULES/CBormHelper/ModuleConfig.cfc:
`
/**