On a somewhat related note ... I have been playing around with themes and I
got stuck on how to drop new templates into the server's template directory.
If I use my own SQLInstall module to update the theme and theme_prop tables to
have a new theme_id and that theme has a "main_template" of something I
created, say "foo_main_template", then how do I put that template in the
servers template directory when my theme (foo_theme) package is installed?
At first, I tried to just use the package's template directory, but
apparently you can't set the main_template to a package template file, like
setting 'main_template' to 'foo_theme::foo_main_template', I just get:
Content generator failed to execute: Template with name
[foo_theme::foo_main_template] not found.
Suggestions? Is it possible?
Thanks!
-Cory
On Saturday 11 June 2005 10:41 pm, Cory Bennett wrote:
> Still learning oi2, and now I am wondering what is the 'right' way to
> create a website of my own. I didnt see anything in the docs, so if I
> missed it, just let me know. I did the "oi2_manage create_website", and
> that creates the sample website. So to create one with a totally different
> look-and-feel, do I make a new package with html/index.html etc in it to
> overwrite the base_page package? Do I remove_package on base_page and
> install my own? Or do I update the existing html and templates in
> base_page to my desire and 'update_package' to create my own base_page
> package?
>
> Any suggestions?
>
> Thanks!
> -Cory
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you
> shotput a projector? How fast can you ride your desk chair down the office
> luge track? If you want to score the big prize, get to know the little guy.
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> _______________________________________________
> openinteract-help mailing list
> ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openinteract-help
|