Contentbox 4.2.1+737
The site I’m attempting to build with Contentbox is a collection of “answers”. I have Contentbox’s entry point as /answers. (I initially had it as just “/” (or “”) and may go back to that.) I switched it to /answers (as in site.com/answers/my-page-slug) so that the editor could quickly add new content via the CMS, as expected. However, there are certain pages that kind of don’t match up:
-
I have an About Us page, but I don’t want it to be /answers/about, I just want /about. Maybe there’s a routing trick here? In addition, this means that I had to create a separate Nav/Menu with absolute URL’s, rather than link to “pages”. Feels like I’m making a mistake with this. I could, since there will be limited pages, use IIS web.config rewrites, but I’m working locally in Commandbox.
-
There are pages that are more complex (I had to build my own Lucee / Lucene search, CB’s is too “sql-y”), and I need to be able to perform my searches and display search results with my own CFML code. I’ve basically had to “dummy up” a “forced Coldbox theme” to get “outside the CMS” pages to utilize as much shared code as possible. This, however, has forced me to not use theme assets, but rather my theme is reaching outside to the root assets folder. I would like to be able to have a generic CMS page, somehow, possibly use all the meta data associated with a page or contentStore item, but force feed the actual primary content, based on an outside handler. If I could get the URL’s to rewrite to /answers/searchResults page, but have that page actually “go do other stuff” other than straight content, maybe some of those {{{ things }}}. (Which I can’t seem to find good docs for.) Maybe this is a feature suggestion, but it would be kind of cool if the page manager supported (like it does for SEO title, etc.) a forced “no, you link to this, forget all that entry point stuff”, to get a “Home” page to not be answers/(index), but rather just /(index).
In typical “Belden fashion”, I might be trying to do things that the system wasn’t intended for. I’m essentially trying to mix root URLs with /entryPoint/x URL’s. I’m trying to get CB to render layout / meta information, but with forced content from a root handler.