|
From: Nick S. <ni...@te...> - 2002-08-29 17:03:56
|
Hi all, I'm currently writing a little package to deliver cascading stylesheets according to the theme in use. I noticed that OI has different "display modes", like main or simple. Until now these two modes are hardcoded in OI::UI::Main and the respective entries in server.ini below [template_names] aren't read in, as a comment states. Question: I think of using these "modes" to present different versions of *one* theme, like print- or wap-version... is this the way I should do it? If this is the right way, it would be cool to have more than 2 modes (Reading the comments in the source I think Chris is already working on that...). Another idea is to have more attributes for one mode - not only the pseudo name of the main template, but also stuff like the stylesheet to use etc. What do you think? Something else: I can't figure out how to return a static page from the website html directory in a content handler. Help!! Nick __________________________________________ nick sutterer cb&h productions ni...@te... the computer helps us solving problems which we wouldn't have without it. |