|
|
#1 |
|
Member
Join Date: Aug 2008
Posts: 64
Rep Power: 4 ![]() |
Hi,
If I want to call a template file from within a template file, how would I do that? For example, if I have a test.php file which calls test.tpl (byt assigning the $body variable to test.tpl), I then want to call another tpl file, say test2.tpl from within test.tpl. Thanks in advance !!!
__________________
Many Thanks, Nagrap2 Developer Version 4.1 |
|
|
|
|
|
#2 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,792
Rep Power: 110 ![]() |
This should work:
Code:
{include file='test2.tpl'}
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| file extensions | Grebogreen | v3.1 Questions & Support | 5 | 05-06-2007 04:37 PM |
| External file.php into 68c - way to do it? | darek | v3.1 Modules & Modifications | 7 | 12-18-2006 02:55 PM |
| php ini file | PilotPete | v3.1 Questions & Support | 10 | 10-06-2006 09:26 PM |
| Maximum File Size for File Upload | sporthorsebreeder | v3.1 Questions & Support | 2 | 09-02-2006 04:18 PM |
| Where do I find the file that contains ... | Winnie | v3.0 Questions & Support | 3 | 04-01-2006 10:17 PM |