Author |
Message |
Topic: Rechnen ohne Ausgabe |
ZakMc
Replies: 3
Views: 5767
|
Forum: Language: German Posted: Mon Feb 21, 2011 1:02 pm Subject: Rechnen ohne Ausgabe |
Auch wenn ovnn recht hat geht es trotzdem
Smarty3
{for ...}
{$count=$count+1}
{/for}
{$count} |
Topic: Wrong documentation on Smarty 3 Clear Cache docs |
ZakMc
Replies: 2
Views: 7076
|
Forum: Smarty 3 Posted: Mon Nov 29, 2010 10:49 am Subject: Wrong documentation on Smarty 3 Clear Cache docs |
to late
http://www.smarty.net/forums/viewtopic.php?t=18348&sid=fb1b0a4595f67f2fb773a8a112145c5b |
Topic: error with date_format |
ZakMc
Replies: 1
Views: 4489
|
Forum: Smarty 3 Posted: Tue Nov 16, 2010 3:46 pm Subject: error with date_format |
I use the svn version and have a problem with date_format
tpl:
{$smarty.now|date_format:Y}
templates_c:
<?php echo
smarty_modifier_date_format((isset(time( ... |
Topic: docu |
ZakMc
Replies: 1
Views: 4426
|
Forum: Smarty 3 Posted: Tue Nov 16, 2010 2:48 pm Subject: docu |
I read the docu and found a possible mistake on the page
http://www.smarty.net/docs/en/api.clear.cache
In the example
$smarty->cache->clear('index.tpl');
correctly it should be
$s ... |
Topic: space before php open tag in svn version |
ZakMc
Replies: 0
Views: 4430
|
Forum: Smarty 3 Posted: Tue Nov 16, 2010 2:15 pm Subject: space before php open tag in svn version |
i use the svn version and on the file smarty_internal_compile_private_block_plugin.php is a space at line 1 char 1. php open tag begins at char 2.
it breaks sending headers to client |
Topic: Object in session fails |
ZakMc
Replies: 6
Views: 15701
|
Forum: Smarty 3 Posted: Tue Nov 16, 2010 10:08 am Subject: Object in session fails |
@mohrt
Thx for explaining.
We save the user object in the session because we use the actuall user object in many subtemplates. We think it is better to save it in session so we dont need to build th ... |
Topic: Object in session fails |
ZakMc
Replies: 6
Views: 15701
|
Forum: Smarty 3 Posted: Mon Nov 15, 2010 8:22 am Subject: Object in session fails |
we had build our templates with that. Now i must change about 300 templates.
I think that's a bad change from RC4 to Release. In RC version i dont expected so serious changes.
It is so rare that ... |
Topic: Object in session fails |
ZakMc
Replies: 6
Views: 15701
|
Forum: Smarty 3 Posted: Fri Nov 12, 2010 1:40 pm Subject: Object in session fails |
I have the problem that this code dont work anymore
{$smarty.session.user->getId()}
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in ...
I ... |
Topic: Smarty 3.0 Released! |
ZakMc
Replies: 9
Views: 32963
|
Forum: Smarty 3 Posted: Fri Nov 12, 2010 1:17 pm Subject: Smarty 3.0 Released! |
[move to own thread] |
Topic: Smarty 3.0 Released! |
ZakMc
Replies: 9
Views: 32963
|
Forum: Smarty 3 Posted: Fri Nov 12, 2010 12:44 pm Subject: Smarty 3.0 Released! |
[move to own thread] |
Topic: String+$var in array key does not supported yet :( |
ZakMc
Replies: 4
Views: 14516
|
Forum: Smarty 3 Posted: Wed Oct 13, 2010 11:11 am Subject: String+$var in array key does not supported yet :( |
test this
"key_{$keyPattern}"
damn to late |
Topic: foreach continue and break? |
ZakMc
Replies: 6
Views: 32064
|
Forum: Smarty 3 Posted: Fri Oct 01, 2010 2:57 pm Subject: foreach continue and break? |
{break} and {continue} tags for flow control of {foreach},{section},{for} and {while} loops have been added today to the Smarty3 SVN version.
What changed your mind? |
Topic: Question about current in Template |
ZakMc
Replies: 1
Views: 8106
|
Forum: Smarty 3 Posted: Fri Oct 01, 2010 8:02 am Subject: Question about current in Template |
Hello all,
I create an array of objects in php and assign it to smarty.
I want to use current in my tpl like this
tpl:
{current( $aNodes )->getName}
but this does n ... |
Topic: foreach continue and break? |
ZakMc
Replies: 6
Views: 32064
|
Forum: Smarty 3 Posted: Thu Sep 30, 2010 8:41 pm Subject: foreach continue and break? |
Please use search.
This question was asked several times.
For example here
http://www.smarty.net/forums/viewtopic.php?t=17416&highlight=break+continue |
Topic: block |
ZakMc
Replies: 4
Views: 6216
|
Forum: Smarty 3 Posted: Wed Sep 22, 2010 8:11 am Subject: block |
ok thx |
|