|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Tue Mar 08, 2005 9:47 pm Post subject: How do I return the template content instead of display it? |
|
|
Instead of:
[php:1:6bf1c00486]$smarty->display('index.tpl');[/php:1:6bf1c00486]
use:
[php:1:6bf1c00486]$output = $smarty->fetch('index.tpl');[/php:1:6bf1c00486] |
|
Back to top |
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|