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 3 matches
Smarty Forum Index
Author Message
  Topic: Smarty takes my php function instead of my modifier !
Dertron

Replies: 1
Views: 10428

PostForum: Plugins   Posted: Mon Sep 30, 2013 3:54 pm   Subject: Smarty takes my php function instead of my modifier !
I found the problem...
From Smarty 3.1, you can't use $smarty->plugins_dir[] anymore, you have to use $smarty->setPluginsDir($plugins_dir) instead ! Very Happy
  Topic: Smarty takes my php function instead of my modifier !
Dertron

Replies: 1
Views: 10428

PostForum: Plugins   Posted: Mon Sep 30, 2013 3:25 pm   Subject: Smarty takes my php function instead of my modifier !
Hello,

I was using Smarty 2, and I am just beginning with Smarty 3. My problem is that I can't use my own modifiers anymore.
For example, I have a modifier called "smarty_modifier_my_test&qu ...
  Topic: problem with array in foreach {$openClaim.First Name}
Dertron

Replies: 1
Views: 4559

PostForum: General   Posted: Mon Mar 09, 2009 10:09 am   Subject: problem with array in foreach {$openClaim.First Name}
I think your problem comes from the space between First and Name. For your variables, you should use _ instead of space.
In php : $openClaim['First_Name']="Paul";
In TPL : $openClaim.First ...
 
Page 1 of 1
All times are GMT
Jump to:  


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