Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 6 matches
Smarty Forum Index
Author Message
  Topic: Upgrading to 3.1.8 problem
yuzaosong

Replies: 3
Views: 9862

PostForum: Smarty 3   Posted: Sun May 13, 2012 1:56 am   Subject: Upgrading to 3.1.8 problem
Because of some speed optimization in Smarty 3.1 you can not assign addition variables as you have done in your function.

A workaround is to create a template object and work on this.
<?php
re ...
  Topic: Upgrading to 3.1.8 problem
yuzaosong

Replies: 3
Views: 9862

PostForum: Smarty 3   Posted: Sat May 12, 2012 5:05 pm   Subject: Upgrading to 3.1.8 problem
I can not be modified like this function, because the support great as my system reform:

PHP:

function my_template_function(){

...

return array($page,$list_data); ...
  Topic: Upgrading to 3.1.8 problem
yuzaosong

Replies: 3
Views: 9862

PostForum: Smarty 3   Posted: Sat May 12, 2012 4:58 pm   Subject: Upgrading to 3.1.8 problem
The standard of English is poor, he will be able to see to understand..


PHP:
<?php
require('../libs/Smarty.class.php');
$smarty = new Smarty;
function my_template_function() ...
  Topic: PHP 5.1 problem error
yuzaosong

Replies: 1
Views: 4180

PostForum: Bugs   Posted: Wed Sep 08, 2010 2:28 am   Subject: PHP 5.1 problem error
http://www.smarty.net/forums/viewtopic.php?t=17249
  Topic: PHP 5.1 problem error
yuzaosong

Replies: 1
Views: 4180

PostForum: Bugs   Posted: Wed Sep 08, 2010 2:27 am   Subject: PHP 5.1 problem error
1, the following portion of multiple versions of php 5.2 the following error, I also mentioned that similar problems among the several versions of modified, CR3 You emergence of this issue.

if ( ...
  Topic: substr_compare()
yuzaosong

Replies: 3
Views: 8250

PostForum: Bugs   Posted: Fri Apr 30, 2010 4:39 am   Subject: substr_compare()
I come from China, the level of bad English
2.65 to 3.0 RC1 in PHP 5.1.4 and below versions of a difficult problem, PHP 5.1.5+ is not the error
/ / Smarty_internal_templatecompilerbase.php
if (strl ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP