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 11 matches
Smarty Forum Index
Author Message
  Topic: endif, endfor, endforeach
looka

Replies: 0
Views: 9686

PostForum: Feature Requests   Posted: Sun Jun 29, 2008 4:18 pm   Subject: endif, endfor, endforeach
[url=http://www.phpinsider.com/smarty-forum/viewtopic.php?p=51055#51055]here i suggested that closing a closable tag could be done also in the "endif" way, instead only "/if".

i ...
  Topic: endif, endfereach etc
looka

Replies: 3
Views: 5988

PostForum: General   Posted: Sun Jun 29, 2008 3:59 pm   Subject: endif, endfereach etc
indeed.

but still, in many languagues is a practice to open a tag with a command end end a tag with end+command, not with /+command.

it would not affect neither performance (because needs only 4 ...
  Topic: endif, endfereach etc
looka

Replies: 3
Views: 5988

PostForum: General   Posted: Sun Jun 29, 2008 11:41 am   Subject: endif, endfereach etc
hi!

i wonder, why this synax is not supported:
[if sth]do blah[endif]

it would take really no effort at all to include some case clauses into smarty compiler...
  Topic: default behavior on searching for {these}
looka

Replies: 9
Views: 11671

PostForum: General   Posted: Mon Jun 02, 2008 9:39 am   Subject: default behavior on searching for {these}
i was still a bit stupborn about this including files and for php files it works, i had to a bit modify a few files - but it works! when i find a place to put modified code (and perhaps some interes) ...
  Topic: default behavior on searching for {these}
looka

Replies: 9
Views: 11671

PostForum: General   Posted: Fri May 30, 2008 1:46 pm   Subject: default behavior on searching for {these}
huh... in fact this function is already written - include_php. it says it is obsolete, but still, it is in the core of smarty...


still, i found it would be an easy way to add functionality for di ...
  Topic: default behavior on searching for {these}
looka

Replies: 9
Views: 11671

PostForum: General   Posted: Wed May 28, 2008 8:17 pm   Subject: default behavior on searching for {these}
it would. i'lle be back with plugin in a few days, since then, thanks for help Smile
  Topic: Eval instead of include
looka

Replies: 1
Views: 10302

PostForum: Feature Requests   Posted: Wed May 28, 2008 4:59 pm   Subject: Eval instead of include
i have one better idea. php to include about 100rows file (.tpl files are parsed into ordinary php code) takes a few miliseconds.
evaluating anything takes at least 10 times more... so (my opinion): ...
  Topic: default behavior on searching for {these}
looka

Replies: 9
Views: 11671

PostForum: General   Posted: Wed May 28, 2008 2:31 pm   Subject: default behavior on searching for {these}
a) there would never be an outdated file problem, since php files would be included via native php include() function (in that vile would be any php code!)

b) thanks for remember me to {include} .. ...
  Topic: default behavior on searching for {these}
looka

Replies: 9
Views: 11671

PostForum: General   Posted: Wed May 28, 2008 6:14 am   Subject: default behavior on searching for {these}
any answer? rtfm maybee?
  Topic: default behavior on searching for {these}
looka

Replies: 9
Views: 11671

PostForum: General   Posted: Sat May 24, 2008 2:49 pm   Subject: default behavior on searching for {these}
as i see the problem, only somewhere should be additional check if function exists (or file exists) and if it not, name of the function (in my case my_name) and all optional parameters should be passe ...
  Topic: default behavior on searching for {these}
looka

Replies: 9
Views: 11671

PostForum: General   Posted: Sat May 24, 2008 2:26 pm   Subject: default behavior on searching for {these}
i wonder, where (in the php code) smarty decidec to throw error if module not found and if this behavior can be changed (is this function implemented yet)


what i would like is build some simple p ...
 
Page 1 of 1
All times are GMT
Jump to:  


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