Results 1 to 4 of 4

Thread: Two Websites with different templates.

  1. #1
    New user
    Join Date
    09-24-09.
    Posts
    4

    Default Two Websites with different templates.

    Hi,
    it just happens, that I want to build two websites with typolight, which is on the surface no problem but I wanna have different templates.

    I want to have 2 different templates of each one:
    mod_navigation ( mod_tmn_navigation, mod_xc_navigation)
    mod_article ( see above )

    But how can I tell typolight to choose these templates explicitly?

  2. #2
    User
    Join Date
    06-19-09.
    Location
    Elbl?g, Poland
    Posts
    152

    Default Re: Two Websites with different templates.

    Quote Originally Posted by Viper
    I want to have 2 different templates of each one:
    mod_navigation ( mod_tmn_navigation, mod_xc_navigation)
    mod_article ( see above )
    I think you can't do that. And why mod_navigation.tpl instead nav_tmn.tpl or nav_xc.tpl? I have few multidomain installation and for each domain (site) navigation I have only different nav_*.tpl file. I think it's enough.
    Marcin

    http://www.contao.pl - Polish Support Site
    http://forum.contao.pl - Polish Contao community forum


    -----------------------
    Need custom template? Feel free to contact me by e-mail marcin@contao.pl

  3. #3
    New user
    Join Date
    09-16-09.
    Posts
    8

    Default Re: Two Websites with different templates.

    Quote Originally Posted by Viper
    But how can I tell typolight to choose these templates explicitly?
    My mov_navigation.tpl is always: [code=php:2rlah0vg]<span class="syntaxhtml"><?php*echo*$this->items;*?></span>[/code:2rlah0vg] so it won't add any markup and then I use nav_*.tpl per site/page/module to differ looks of navigation, just like qrczak said.
    www.zolnierze-hardkoru.pl powered by typolight

  4. #4
    New user
    Join Date
    09-24-09.
    Posts
    4

    Default Re: Two Websites with different templates.

    Thank you very much.
    It's not the solution I hoped for but it's an acceptable one.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •