Author |
Message |
Topic: only one change to get Smarty 3.1.2 |
httpete
Replies: 1
Views: 4518
|
Forum: Bugs Posted: Tue Oct 04, 2011 4:18 pm Subject: only one change to get Smarty 3.1.2 |
Uwe,
After upgrade, my math plugin started dying all over. Apparently , we were calling the plugin with a string "1" (assuming cast conversion to the intval) but it barked about "mat ... |
Topic: Problem: relative filepaths in {include} in extended file |
httpete
Replies: 6
Views: 8799
|
Forum: General Posted: Fri Sep 23, 2011 8:40 pm Subject: You are the man. |
U.Tews - thank you very much. I updated to trunk and it worked just as you said.
Your work has helped make our product better. You are the man. |
Topic: Problem: relative filepaths in {include} in extended file |
httpete
Replies: 6
Views: 8799
|
Forum: General Posted: Fri Sep 23, 2011 6:30 pm Subject: Problem: relative filepaths in {include} in extended file |
I have the same issue. This used to work:
{include file="../GqWfWholeGenomeAnalysis/sample_information.tpl"}
but now I get:
Template '../GqWfWholeGenomeAnalysis/sample_information.t ... |
Topic: Smarty 3.1 RC |
httpete
Replies: 0
Views: 4664
|
Forum: Smarty 3 Posted: Mon Jul 25, 2011 6:29 pm Subject: Smarty 3.1 RC |
Just got the new Smarty 3.1 in, seems fast! Have there been any syntax changes in the template lang that I should be aware of? |
Topic: <b>Fatal error</b>: Call to undefined function |
httpete
Replies: 8
Views: 32520
|
Forum: Smarty 3 Posted: Thu Feb 10, 2011 5:01 pm Subject: <b>Fatal error</b>: Call to undefined function |
Gents,
<b>Fatal error</b>: Call to undefined function mb_split() in <b>/home/smith/Gt/trunk/src/web/external_lib/Smarty/plugins/shared.mb_str_replace.php</b> on line <b& ... |
Topic: Array assignment not working on array key |
httpete
Replies: 2
Views: 5665
|
Forum: Smarty 3 Posted: Mon Aug 02, 2010 5:14 pm Subject: Array assignment not working on array key |
Ah, your right. Foreach loops operate on copies. I bet the for loop will work. |
Topic: Array assignment not working on array key |
httpete
Replies: 2
Views: 5665
|
Forum: Smarty 3 Posted: Thu Jul 29, 2010 5:21 pm Subject: Array assignment not working on array key |
Example:
{$workflow_cats.uncat = []}
{foreach $arrayOfHashes as $hash}
{$workflow_cats.uncat[] = "poop"}
{/foreach}
... |
Topic: Smarty 3 Beta 8 Released |
httpete
Replies: 38
Views: 102909
|
Forum: Smarty 3 Posted: Wed Mar 17, 2010 3:46 pm Subject: cooking in production |
Beta 8 is working on our production app, with thousands of lines of old smarty 2 syntax, just fine. Thanks guys, I think this is close. People notice it is faster. |
Topic: Smarty 3 Beta 7 Released |
httpete
Replies: 19
Views: 62689
|
Forum: Smarty 3 Posted: Thu Mar 04, 2010 5:05 pm Subject: includes with "scope" variable doesn't work anymor |
example:
{include file=$filename scope="MYSCOPE"}
and in included file
{$scope} will be empty
any quick fix? |
Topic: Smarty 3 Beta 7 Released |
httpete
Replies: 19
Views: 62689
|
Forum: Smarty 3 Posted: Thu Feb 25, 2010 11:05 pm Subject: Good Results |
Gents,
Just reporting in about the latest version from SVN, today we discovered that smarty 3 beta 3 would not do e.g.:
{$array.$key1.$key2}
and my boss freaked and almost threw me out the wi ... |
Topic: Smarty 3 Beta 7 Released |
httpete
Replies: 19
Views: 62689
|
Forum: Smarty 3 Posted: Mon Feb 15, 2010 2:46 pm Subject: Still Stuck on Beta 3 |
Gents,
For now I have no choice but to stick to Beta 3, as it is the only Beta release that is compatible with Smarty 2 syntax. I hope this is suitable for production, because we are going with it. ... |
Topic: Smarty 3 Beta 7 Released |
httpete
Replies: 19
Views: 62689
|
Forum: Smarty 3 Posted: Mon Jan 18, 2010 8:36 pm Subject: Smarty 3 Beta 7 Released |
Thank you mohrt, it is NP I can wait until the final release that fixes this, my site is humming just fine on the first beta before this section got changed.
Pete |
Topic: Smarty 3 Beta 7 Released |
httpete
Replies: 19
Views: 62689
|
Forum: Smarty 3 Posted: Mon Jan 18, 2010 6:16 pm Subject: Modifier Handling |
- changed back modifer handling in parser. Some restrictions still apply:
if modifiers are used in side {if...} expression or in mathematical expressions
parentheses must be used.
Uwe ... |
Topic: Smarty 3 beta 6 released |
httpete
Replies: 9
Views: 34354
|
Forum: Smarty 3 Posted: Tue Jan 12, 2010 5:32 pm Subject: Smarty 3 beta 6 released |
Thank you very, very much. I am stabilizing against beta 5 behavior right now. |
Topic: Smarty 3 beta 6 released |
httpete
Replies: 9
Views: 34354
|
Forum: Smarty 3 Posted: Tue Jan 12, 2010 5:09 pm Subject: Difference between smarty 3 beta 5 and beta 6 |
In beta 5 this worked:
{if $smarty.request.showonlynew|strtolower eq 'on'}
In beta 6 it needed:
{if strtolower($smarty.request.showonlynew) eq 'on'}
This is a major factor for us, as it ... |
|