From: Chris W. <ch...@cw...> - 2003-07-08 12:24:12
|
Greg Fenton wrote: > Maybe I'm missing the docs, but I have created a new HTML page that I'd > like to serve. I placed it in $OPENINTERACT2/html and now try to > create the page with OI2's "Page Actions" link. Actually, you can use the page scanner for this. Under 'Page Actions' you have an option 'Scan' which will find files under a directory tree that haven't yet been brought into OI and bring them in. But onto the problem... > Every time I fill out the create form, I get back the error: > > No template found in 'c_display_add_template' key. This template is > mandatory for the task to function. This is an action configuration error. If you add: c_display_add_template = base_page::page_form under [page] in base_page-x.xx/conf/action.ini you should get a little farther. I've committed this but haven't yet tested it. (day job and all that...) The base_page package is probably the one that will *internally* change the most before 2.0 is released. Externally it should work exactly the same but there are still a few OI 1.x-isms in OI2::Action::Page. It's probably the most complicated action in OI and it may be a good idea to split some of the functionality off into separate actions... > So, what are the steps to getting an existing HTML file served? Am I > missing a key manual page somewhere? Nope, just more bugs.... Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |