Author Topic: Problem with including Templates  (Read 1670 times)

0 Members and 1 Guest are viewing this topic.

DerOlli

  • Guest
Problem with including Templates
on: Fri, 19. March 2004 - 20:06:36
Hi,
I am new to vLib and I am trying to redo a project with templates. It used to be a website that includes other php files depending on what site you want to see. My problem is that I don't know how to do that with Templates because <tmpl_include="{tmpl_var name='file'}"> does not work and a dynamic template like <tmpl_include="<?= $file ?>"> does not work either. Does that mean that I will need many <tmpl_if> tags to include the correct template and moreover that I will have to change the template every time I want to add a php file?
Kind regards,
Oliver

Offline ClausVB

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
    • Homepage: clausvb.de
Problem with including Templates
Reply #1 on: Sun, 21. March 2004 - 08:58:32
Please take a look at this post:

/forum/index.php/topic,174