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 8 matches
Smarty Forum Index
Author Message
  Topic: Upgrading to 3.1.28 woes
dleffler

Replies: 5
Views: 6325

PostForum: General   Posted: Tue Dec 22, 2015 11:35 am   Subject: Upgrading to 3.1.28 woes
Problem still exists in 3.1.29, the Smarty->_realpath() method still only checks for a '/' slash in line #1181, therefore it adds the cwd to the 'full' path it was passed since the passed $path was ...
  Topic: Upgrading to 3.1.28 woes
dleffler

Replies: 5
Views: 6325

PostForum: General   Posted: Sat Dec 19, 2015 11:34 am   Subject: Upgrading to 3.1.28 woes
Some issues/quirks I've noted when upgrading to v3.1.28 (from 3.1.27), at least on a windows based system:

The new _realpath function tends to add a full path onto a passed full path setPluginsDir( ...
  Topic: Smarty 3.1.13 is not php v5.5 compliant
dleffler

Replies: 1
Views: 5840

PostForum: Bugs   Posted: Wed Jun 26, 2013 7:46 pm   Subject: Smarty 3.1.13 is not php v5.5 compliant
Some things deprecated in php v5.5 such as preg_replace /e option which is used in capitalize system modifer
  Topic: Smarty 3 should be more php compliant
dleffler

Replies: 1
Views: 5506

PostForum: Bugs   Posted: Thu May 10, 2012 3:35 pm   Subject: Smarty 3 should be more php compliant
In php 'notice' warnings are displayed for things like referencing an uninitialized array/object, etc... In turn, the smarty compiler outputs some unclean code. e.g.,
{if $permissions.create = ...
  Topic: Menu and Submenu creation problem
dleffler

Replies: 5
Views: 38625

PostForum: Tips and Tricks   Posted: Mon Dec 19, 2011 4:54 pm   Subject: Inaccurate looping logic
I won't call myself an expert in php, but your 'logic' in getting the submenus is flawed as the $res2 variable is reinitialized in each pass of the while statement so that it would only contain the la ...
  Topic: Bug compiling object property as variable - 3.1.x
dleffler

Replies: 2
Views: 5458

PostForum: Bugs   Posted: Tue Sep 27, 2011 6:01 pm   Subject: Bug compiling object property as variable - 3.1.x
Superb response!
  Topic: Bug compiling object property as variable - 3.1.x
dleffler

Replies: 2
Views: 5458

PostForum: Bugs   Posted: Tue Sep 27, 2011 3:58 pm   Subject: Bug compiling object property as variable - 3.1.x
Though it works in 2.6.x & 3.0.x, both 3.1.0 & 3.1.1 break w/ Parse error: syntax error, unexpected T_STRING, expecting ']' in C:\xampp\htdocs\exp2\tmp\views_c\a5d9b5425bf63347b468 ...
  Topic: Upgrade 2.x -> 3.x helper
dleffler

Replies: 6
Views: 15617

PostForum: Smarty 3   Posted: Tue Sep 20, 2011 3:18 pm   Subject: Some additional considerations
(I'm using 3.0.9 & 3.1)
- $smarty->_tpl_vars is deprecated (without notice), but can be replaced by $smarty->getTemplatevars('name_of_var').
- v3 doesn't seem to like back-ticks and tends ...
 
Page 1 of 1
All times are GMT
Jump to:  


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