Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 7 matches
Smarty Forum Index
Author Message
  Topic: Please update Requirements sections of Smarty Documentation
XPSystemServices

Replies: 0
Views: 5765

PostForum: Documentation   Posted: Sat Feb 16, 2019 3:45 pm   Subject: Please update Requirements sections of Smarty Documentation
According to this thread:
https://www.smarty.net/forums/viewtopic.php?t=27744

Smarty compiler generates a code that is not supported by PHP 5.2

Please update your documentation:
https://www.sm ...
  Topic: Smarty bugged on PHP 5.2
XPSystemServices

Replies: 1
Views: 4366

PostForum: Bugs   Posted: Sat Feb 16, 2019 12:54 pm   Subject: Smarty bugged on PHP 5.2
According smarty documentation:
https://www.smarty.net/docs/en/installation.tpl

Smarty requires a web server running PHP 5.2 or greater.

But you are using code constructions that is not compat ...
  Topic: Inaccurate Lexer/Compiler - TRAILING NEWLINE Issue
XPSystemServices

Replies: 10
Views: 6243

PostForum: General   Posted: Tue Dec 19, 2017 1:05 pm   Subject: Inaccurate Lexer/Compiler - TRAILING NEWLINE Issue
Thanks for answer!

OK!

Can you please add these rules and behaviors as Smarty Standards and describe them in Smarty Documentation?

I think, these rules should be strict and standard!

We ne ...
  Topic: Inaccurate Lexer/Compiler - TRAILING NEWLINE Issue
XPSystemServices

Replies: 10
Views: 6243

PostForum: General   Posted: Fri Apr 21, 2017 10:34 pm   Subject: Inaccurate Lexer/Compiler - TRAILING NEWLINE Issue
Please be more specific, than "several".
I can imagine certain sequence of blocks being merged due to compilation and caching reasons, but specific examples would help to better understand ...
  Topic: Inaccurate Lexer/Compiler - TRAILING NEWLINE Issue
XPSystemServices

Replies: 10
Views: 6243

PostForum: General   Posted: Fri Apr 21, 2017 6:36 pm   Subject: Inaccurate Lexer/Compiler - TRAILING NEWLINE Issue
While it is rare to see Smarty used to construct binary data, it is not uncommon.

We are not talking about binary data. You can't ignore, that output inside <pre></pre> is always broken ...
  Topic: Inaccurate Lexer/Compiler - TRAILING NEWLINE Issue
XPSystemServices

Replies: 10
Views: 6243

PostForum: General   Posted: Fri Apr 21, 2017 7:20 am   Subject: Inaccurate Lexer/Compiler - TRAILING NEWLINE Issue
Ok, this is documented feature in PHP, and this behavior will newer change.

What is the cause of the problem? And why you can't fix it?

Is it possible to add extra "newline" after &quo ...
  Topic: Inaccurate Lexer/Compiler - TRAILING NEWLINE Issue
XPSystemServices

Replies: 10
Views: 6243

PostForum: General   Posted: Thu Apr 20, 2017 11:46 am   Subject: Inaccurate Lexer/Compiler - TRAILING NEWLINE Issue
Why Template Compiler removes trailing NEWLINE-s in some cases?
This will produce an inaccurate HTML-code.
Please look at the examples shown below:

Example 1
SOURCE TEMPLATE:
============= ...
 
Page 1 of 1
All times are GMT
Jump to:  


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