Re: Smarty syntax for require?
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Mon, 29 Dec 2008 12:28:47 -0500
laredotornado@xxxxxxxxxxx wrote:
Hi,
I'm using PHP 5. I'm trying to modify a TPL file by adding this
line ...
{ require("../util_fns.php"); }
and I'm getting this error
Fatal error: Smarty error: [in easyorder/header.tpl line 1]: syntax
error: unrecognized tag: require("../util_fns.php");
(Smarty_Compiler.class.php, line 439) in /usr/local/apache2/htdocs/
super_admin_rs/whmcs/libs/Smarty.class.php on line 1095
So I'm new to Smarty but assume its related to PHP in some way. What
is the proper syntax for require/include?
Thanks, - Dave
Try the Smarty support groups. They know how Smarty works, better than anyone in this newsgroup.
When working with tools and products, the support structure for that tool/product is almost always the place to start.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- References:
- Smarty syntax for require?
- From: laredotornado@xxxxxxxxxxx
- Smarty syntax for require?
- Prev by Date: Re: Query String
- Next by Date: Re: identify $handles in $resource ?
- Previous by thread: Smarty syntax for require?
- Next by thread: Re: Smarty syntax for require?
- Index(es):
Relevant Pages
|