vLIB
Welcome, Guest. Please login or register.
Did you miss your activation email?
Fri, 21. December 2007 - 08:54:15

Login with username, password and session length
Search:     Advanced search
Please register with your real name and do not post any SPAM! Violations: "Hk." and "Getagrip" => deleted
1.459 Posts in 346 Topics by 21 Members
Latest Member: Tim81
* Home Help Search Login Register
+  vLIB
|-+  English support
| |-+  vlibTemplate, vlibMimeMail, vlibDate
| | |-+  Problem with including Templates
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Problem with including Templates  (Read 789 times)
DerOlli
Guest
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
Logged
ClausVB
Administrator
Hero Member
*****
Offline Offline

Posts: 496



WWW
Reply #1 on: Sun, 21. March 2004 - 08:58:32

Please take a look at this post:

/forum/index.php/topic,174
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!