Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 6 matches
Smarty Forum Index
Author Message
  Topic: Smarty 3 RC4 released
newbie78

Replies: 26
Views: 121295

PostForum: Smarty 3   Posted: Mon Nov 01, 2010 3:03 pm   Subject: Smarty 3 RC4 released
The lexer/parser of Smarty needs to treat isset() and empty() in a special way as this are PHP language elements and no real functions. It's smarty currently looking only for lowercase writing.
okay ...
  Topic: Smarty 3 RC4 released
newbie78

Replies: 26
Views: 121295

PostForum: Smarty 3   Posted: Sun Oct 31, 2010 8:29 pm   Subject: Smarty 3 RC4 released
not a bug, isset() is a php function
why does it work in lowercase, but in CaMeL it doesn't work?
  Topic: Smarty 3 RC4 released
newbie78

Replies: 26
Views: 121295

PostForum: Smarty 3   Posted: Fri Oct 29, 2010 10:08 pm   Subject: Smarty 3 RC4 released
when i write {if !isSet( $arrSelect[$v.sys_name] )}
then i take error: unknown function "isSet"
located in: library\Smarty\sysplugins\smarty_internal_templatecomp ...
  Topic: Smarty 3 RC4 released
newbie78

Replies: 26
Views: 121295

PostForum: Smarty 3   Posted: Mon Oct 11, 2010 3:12 pm   Subject: Smarty 3 RC4 released
auto literal won't work for <style> definition like

<style>
.popupList{float:left; border:1px solid #C9DCA6; width:585px; margin:0 0 10px 0;} .table{bord ...
  Topic: Smarty 3 RC4 released
newbie78

Replies: 26
Views: 121295

PostForum: Smarty 3   Posted: Mon Oct 11, 2010 2:09 pm   Subject: Smarty 3 RC4 released
you can't have the space before the "}" tag. Remove that space, or disable auto literal.
i'm found $smarty->auto_literal. great feature - i didn't know about it. thanks
  Topic: Smarty 3 RC4 released
newbie78

Replies: 26
Views: 121295

PostForum: Smarty 3   Posted: Mon Oct 11, 2010 12:24 pm   Subject: Smarty 3 RC4 released
hi! thanks for great job!

i migrate from ver2 to ver3
if after condition in the if tag we have space symbol we get an error

smarty-code

{if $arrPrj.flg_status>=$arrStatus.pending &# ...
 
Page 1 of 1
All times are GMT
Jump to:  


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