Hex
发表于 2011-9-7 15:06:28
jianzhong5137 发表于 2011-9-7 14:31 static/image/common/back.gif
Smarty.php里面
$CI =& get_instance();
$CI->output->final_output = $this->fetch($template);
output类有相应的public的方法来操作 final_output。
鸭梨山大
发表于 2011-9-8 23:46:12
{:soso_e162:}
daijy
发表于 2011-10-7 17:32:52
谢谢好文章啊
zxw5052
发表于 2011-10-10 15:58:05
这个配置的太复杂了,新手看不懂,我配置了个简单的,谁想要的啊?
嘟嘟返利
发表于 2011-10-12 15:06:52
以前我也整合过,不过这是新版本了,学习了
hzl126
发表于 2011-10-18 09:21:17
不错啊。 ci越来越好用了
sswowo
发表于 2011-10-31 00:31:43
jianzhong5137 发表于 2011-9-7 14:36 static/image/common/back.gif
问题已解决
怎么解决的,我也是这个问题。郁闷
sswowo
发表于 2011-10-31 01:39:47
本帖最后由 sswowo 于 2011-10-31 01:40 编辑
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "D:/www/newway/newway/views/templates/example.tpl" on line 13 "{ci_config name="base_url"}" unknown tag "ci_config"' in D:\www\newway\system\libs\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php:617 Stack trace: #0 D:\www\newway\system\libs\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php(402): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "ci...', 13) #1 D:\www\newway\system\libs\smarty\libs\sysplugins\smarty_internal_templateparser.php(2366): Smarty_Internal_TemplateCompilerBase->compileTag('ci_config', Array) #2 D:\www\newway\system\libs\smarty\libs\sysplugins\smarty_internal_templateparser.php(3064): Smarty_Internal_Templateparser->yy_r35() #3 D:\www\newway\system\libs\smarty\libs\sysplugins\smarty_internal_templateparser.php(3164): Smarty_Internal_Templateparser->yy_reduce(35) #4 D:\www\newway\system\libs\smarty\libs\sysplugins\smarty_internal_smartytemp in D:\www\newway\system\libs\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 617
smarty可以工作了,但示例程序里,有个这个语法错误是怎么回事呢?会影响正常使用smarty么?
zacking
发表于 2011-11-22 16:31:09
哇
正是我需要的呢
十分的谢谢啦
oraclelee
发表于 2011-12-29 09:54:11
吖晋 发表于 2011-8-26 19:34 static/image/common/back.gif
不错..虽然我不知道smart是啥.哈哈!!!!!!!
不是smart 是smarty