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 9 matches
Smarty Forum Index
Author Message
  Topic: Invalid compiled template error message for empty conf file
Borgtex

Replies: 1
Views: 6826

PostForum: Bugs   Posted: Tue Sep 29, 2015 11:24 am   Subject: Invalid compiled template error message for empty conf file
There seems to be a problem with how smarty handles empty (0 bytes) conf files.
On a new project I was using version 3.1.8 and all was working fine, but when I changed to the latest (3.1.27) a error ...
  Topic: Surround each label of html_checkboxes with a custom tag
Borgtex

Replies: 1
Views: 19515

PostForum: Feature Requests   Posted: Tue Jul 17, 2012 10:00 am   Subject: Surround each label of html_checkboxes with a custom tag
As the separator option did'nt gives the flexibility I need to apply css styles, I've added a new option "tag" to the html_radios and html_checkboxes functions to surround each label with wh ...
  Topic: Problem replacing modifiercompiler plugins
Borgtex

Replies: 1
Views: 5355

PostForum: Bugs   Posted: Wed Mar 28, 2012 12:24 pm   Subject: Problem replacing modifiercompiler plugins
I've made some minor modifications to the strip_tags plugin and saved it with the same name (modifiercompiler.strip_tags.php) in my external_plugins folder. Problem is that it only gets loaded if I de ...
  Topic: Compile Error - xml Block tags display a wrong margin-top
Borgtex

Replies: 6
Views: 10946

PostForum: Bugs   Posted: Wed Apr 27, 2011 11:17 am   Subject: Compile Error - xml Block tags display a wrong margin-top
It works fine for me. Check the codification of all the pages involved, maybe one of them is UTF8 with BOM and the space you see is the BOM
  Topic: Problems with triple quotes in the config files parser
Borgtex

Replies: 2
Views: 5977

PostForum: Bugs   Posted: Tue Mar 29, 2011 11:35 am   Subject: Problems with triple quotes in the config files parser
I think the problem may be in smarty_internal_configfilelexer.php, there's something wrong with the regular expression on $yyy_global_pattern that cuts the string in the wrong place so it gives $this- ...
  Topic: capitalize and quotes problem (smarty 3)
Borgtex

Replies: 5
Views: 8581

PostForum: Bugs   Posted: Mon Mar 28, 2011 2:41 pm   Subject: capitalize and quotes problem (smarty 3)
Yes. I think it has to do with the e modifier used in preg_replace. From the php reference:

When using the e modifier, this function escapes some characters (namely ', ", \ and NULL) in the st ...
  Topic: capitalize and quotes problem (smarty 3)
Borgtex

Replies: 5
Views: 8581

PostForum: Bugs   Posted: Mon Mar 28, 2011 2:12 pm   Subject: capitalize and quotes problem (smarty 3)
Nope, It's off
  Topic: capitalize and quotes problem (smarty 3)
Borgtex

Replies: 5
Views: 8581

PostForum: Bugs   Posted: Mon Mar 28, 2011 10:18 am   Subject: capitalize and quotes problem (smarty 3)
When I assign a string with quotes to a variable in a config file or php, i.e.
$text='johny "the smart"';

{$text|capitalize} returns

Johny \"The Smart"
  Topic: Problems with triple quotes in the config files parser
Borgtex

Replies: 2
Views: 5977

PostForum: Bugs   Posted: Mon Mar 28, 2011 10:05 am   Subject: Problems with triple quotes in the config files parser
using test.conf in the demo:

this works:
title = Welcome to Smarty "reloaded"!

this does not work:

title = """Welcome to Smarty "reloaded"! ""&qu ...
 
Page 1 of 1
All times are GMT
Jump to:  


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