Author |
Message |
Topic: Smarty 3.1.2 + registerPlugin with type block |
artvolk
Replies: 3
Views: 6814
|
Forum: Bugs Posted: Thu Oct 06, 2011 9:50 am Subject: Smarty 3.1.2 + registerPlugin with type block |
That bug was fixed yesterday. Have a look at the SVN trunk.
Thanks, it will be included in 3.1.3? |
Topic: Smarty 3.1.2 + registerPlugin with type block |
artvolk
Replies: 3
Views: 6814
|
Forum: Bugs Posted: Thu Oct 06, 2011 8:23 am Subject: Smarty 3.1.2 + registerPlugin with type block |
Good day!
Smarty 3.1.2
PHP/5.3.5, win32 (dev machine)
Here is a test case:
PHP:
<?php
require('smarty/Smarty.class.php');
$smarty = new Smarty();
$smarty->regis ... |
Topic: $error_reporting is not processed in 3.0-Release |
artvolk
Replies: 11
Views: 17169
|
Forum: Smarty 3 Posted: Fri Nov 12, 2010 4:01 pm Subject: $error_reporting is not processed in 3.0-Release |
Thanks, this change will be in release available for download or in SVN? |
Topic: $error_reporting is not processed in 3.0-Release |
artvolk
Replies: 11
Views: 17169
|
Forum: Smarty 3 Posted: Fri Nov 12, 2010 2:40 pm Subject: $error_reporting is not processed in 3.0-Release |
Is this the same behaviour as in /trunk before release? |
Topic: $error_reporting is not processed in 3.0-Release |
artvolk
Replies: 11
Views: 17169
|
Forum: Smarty 3 Posted: Fri Nov 12, 2010 2:28 pm Subject: $error_reporting is not processed in 3.0-Release |
Here are some thoughts:
- My code is developed with all possible error reporting, but templates are ported from 2.0 (where checking for variable in the way {if $variable}) was really common).
- ... |
Topic: $error_reporting is not processed in 3.0-Release |
artvolk
Replies: 11
Views: 17169
|
Forum: Smarty 3 Posted: Fri Nov 12, 2010 10:18 am Subject: $error_reporting is not processed in 3.0-Release |
Hallo!
I used to use latest /trunk of Smarty 3.0 and I use this:
// When set, smarty does uses this value as error_reporting-level.
public $error_reporting = null;
It seems that in ... |
Topic: Latest trunk bug report (with test case) |
artvolk
Replies: 4
Views: 6497
|
Forum: Smarty 3 Posted: Tue Oct 26, 2010 8:46 am Subject: Latest trunk bug report (with test case) |
Thank you, it works for me too. |
Topic: Latest trunk bug report (with test case) |
artvolk
Replies: 4
Views: 6497
|
Forum: Smarty 3 Posted: Mon Oct 25, 2010 2:57 pm Subject: Latest trunk bug report (with test case) |
Good day, here comes the bug report:
Version of Smarty: latest trunk of 3.0 from SVN (rev. 3685)
Custom modifier:
function smarty_modifier_datetime_format($date, $format)
{
... |
Topic: Template functions in parent template not working after 3581 |
artvolk
Replies: 4
Views: 7336
|
Forum: Smarty 3 Posted: Thu Jun 03, 2010 2:41 pm Subject: Template functions in parent template not working after 3581 |
Thanks, it works now! |
Topic: Template functions in parent template not working after 3581 |
artvolk
Replies: 4
Views: 7336
|
Forum: Smarty 3 Posted: Thu Jun 03, 2010 2:15 pm Subject: Template functions in parent template not working after 3581 |
I use latest /trunk version and I wipe all compiled templates before tests.
Here is a test case
Parent template:
Parent 1
{function name='make_list'}{foreach $list as $item& ... |
Topic: Template functions in parent template not working after 3581 |
artvolk
Replies: 4
Views: 7336
|
Forum: Smarty 3 Posted: Thu Jun 03, 2010 12:22 pm Subject: Template functions in parent template not working after 3581 |
Good day!
rev. 3582 and latest throws error ('make_list' is my function):
Unable to load template file 'make_list'
Function is defined and used in parent template. Do you need a test case ... |
Topic: Calling template functions by name vs {call} |
artvolk
Replies: 4
Views: 7698
|
Forum: Smarty 3 Posted: Tue May 11, 2010 6:44 pm Subject: Calling template functions by name vs {call} |
Thank you!
I believe community (and me for sure ) really appriciate your attitude! |
Topic: use template functions from included templates |
artvolk
Replies: 13
Views: 22380
|
Forum: Smarty 3 Posted: Tue May 11, 2010 6:37 pm Subject: Re: use template functions from included templates |
Hi,
Say table.tpl defines a function:
{function name="table"}
...
{/function}
Now, I want to use that function in another template foo.tpl:
{include file=&q ... |
Topic: Calling template functions by name vs {call} |
artvolk
Replies: 4
Views: 7698
|
Forum: Smarty 3 Posted: Tue May 11, 2010 2:37 pm Subject: Calling template functions by name vs {call} |
Thanks, please let me know via this thread if you need any tests from me... |
Topic: Calling template functions by name vs {call} |
artvolk
Replies: 4
Views: 7698
|
Forum: Smarty 3 Posted: Tue May 11, 2010 1:26 pm Subject: Calling template functions by name vs {call} |
Good day!
I follow /trunk version of Smarty (according to forum, a lot of people already using Smarty 3). It seems that with commit
3564
- fix to make calling of template functions unambiguo ... |
|