asishd
05/23/2022, 3:22 PMbdw429s
05/23/2022, 5:34 PMjumpmaster
05/23/2022, 6:18 PMbdw429s
05/23/2022, 6:22 PMcfheader
tag can only run on a request for a .cfm
or .cfc
page.bdw429s
05/23/2022, 6:31 PMjumpmaster
05/23/2022, 6:33 PMbdw429s
05/23/2022, 6:34 PMjumpmaster
05/24/2022, 1:31 PMbdw429s
05/24/2022, 4:29 PMI can't believe I have not heard of forgebox before.@jumpmaster I can't believe you haven't either. ForgeBox has been around since probably 2010 🙂 I would recommend taking a good look at the entire Ortus suite of modern CFML tooling, which revolves around • ColdBox MVC • ForgeBox.io package repository • CommandBox CLI
The link provided seems to depend on coldbox?Yep, ColdBox was the first framework in CF to really be modular and as such, it's the only framework that's really built up a huge collection of drop-in functionality.
So in that case would you still not recommend using cfheader this wayWell, what I'd really recommend is using a modern framework when writing CFML code so you don't have to go and re-invent the wheel over again 😉