Author |
Message |
Topic: Smarty 3.1.34 Released |
mohrt
Replies: 0
Views: 43905
|
Forum: Announcements Posted: Fri Dec 13, 2019 1:04 am Subject: Smarty 3.1.34 Released |
Smarty 3.1.34 is released (Nov 5, 2019), containing new features, bug fixes, including PHP 7.3 and 7.4 compatibility.
change log https://github.com/smarty-php/smarty/blob/v3.1.34/change_log.txt
ne ... |
Topic: 3.1.34 soft release |
mohrt
Replies: 1
Views: 4786
|
Forum: General Posted: Tue Nov 05, 2019 9:07 pm Subject: 3.1.34 soft release |
I have made a new release, website and forum will be updated later today.
https://github.com/smarty-php/smarty/releases |
Topic: Is there some schedule for release smarty v3.1.34 ? |
mohrt
Replies: 2
Views: 5751
|
Forum: General Posted: Tue Sep 03, 2019 1:09 am Subject: Is there some schedule for release smarty v3.1.34 ? |
There will be a new release coming this month. Thanks for your patience! |
Topic: Smarty 3.1.33 Released |
mohrt
Replies: 0
Views: 38116
|
Forum: Announcements Posted: Tue Sep 18, 2018 1:33 am Subject: Smarty 3.1.33 Released |
Smarty 3.1.33 is released, containing new features, bug fixes, and security fixes.
Important: fixes [url=https://nvd.nist.gov/vuln/detail/CVE-2018-16831]CVE-2018-16831 concerning escape from truste ... |
Topic: Smarty and TinyMVC - One main template for all controllers |
mohrt
Replies: 4
Views: 18523
|
Forum: Frameworks Posted: Wed Apr 18, 2018 1:06 am Subject: Smarty and TinyMVC - One main template for all controllers |
Sure, add Smarty and use template inheritance. The docs show an example. |
Topic: Failing to understand Smarty::_realpath() |
mohrt
Replies: 8
Views: 9192
|
Forum: General Posted: Tue Jan 09, 2018 1:01 am Subject: Failing to understand Smarty::_realpath() |
It could probably be rewritten, at the risk of breaking something you don't realize you are breaking. I think this was written quite some time ago, when PHP and the OS's it ran on were quite a differe ... |
Topic: Failing to understand Smarty::_realpath() |
mohrt
Replies: 8
Views: 9192
|
Forum: General Posted: Thu Jan 04, 2018 7:08 pm Subject: Failing to understand Smarty::_realpath() |
What part of the header description is confusing?
* Normalize path
* - remove /./ and /../
* - make it absolute if required
*
* @param string $path file path
* ... |
Topic: Smarty 2.6.31 Released |
mohrt
Replies: 0
Views: 35904
|
Forum: Announcements Posted: Wed Nov 22, 2017 3:02 am Subject: Smarty 2.6.31 Released |
Some minor bug fixes and enhancements. Smarty is now compatible with PHP 7.2, as deprecated functions are removed!
change log https://github.com/smarty-php/smarty/blob/Smarty2/ChangeLog
download ... |
Topic: Internationalization. Best Practices? |
mohrt
Replies: 4
Views: 8169
|
Forum: General Posted: Sun Dec 18, 2016 8:51 pm Subject: Internationalization. Best Practices? |
Smarty is basically the "view" of your application. i18n is a bit out of scope for the template engine itself. As AnrDaemon mentioned, there have been some attempts at plugins for Smarty, al ... |
Topic: Smarty 3.1.30 Released |
mohrt
Replies: 0
Views: 36516
|
Forum: Announcements Posted: Mon Aug 15, 2016 2:25 am Subject: Smarty 3.1.30 Released |
Many minor bug fixes and enhancements. One {math} shell injection vulnerability patch provided by Tim Weber. Note this is only vulnerable to those with template write access using security features.
... |
Topic: Simplify autoloading. |
mohrt
Replies: 5
Views: 22525
|
Forum: Smarty Development Posted: Tue Jun 28, 2016 12:05 pm Subject: Simplify autoloading. |
I'm not terribly concerned with the intricacies of the autoloader, as this is not something a developer has to see or directly deal with. What is important is that it works for all intents and purpose ... |
Topic: Simplify autoloading. |
mohrt
Replies: 5
Views: 22525
|
Forum: Smarty Development Posted: Tue Jun 28, 2016 1:17 am Subject: Simplify autoloading. |
submit a PR? |
Topic: How can I use {counter) in breadcrumb.tpl |
mohrt
Replies: 3
Views: 8555
|
Forum: General Posted: Fri Jun 24, 2016 11:49 pm Subject: How can I use {counter) in breadcrumb.tpl |
You can't use a function inside a text string, it is just treated as text. If you do:
{counter assign="mycount"}
Then {$mycount} will contain the counter value and you can use $mycount ... |
Topic: Smarty v2.6.6 doesnt generate .php form template - Err 404 |
mohrt
Replies: 6
Views: 11481
|
Forum: General Posted: Mon Mar 21, 2016 2:36 pm Subject: Smarty v2.6.6 doesnt generate .php form template - Err 404 |
The files in templates_c are automatically created by Smarty when a template is loaded. So for example, if you have a template named new_users.tpl and in somewhere in your PHP code you load that templ ... |
Topic: Smarty v2.6.6 doesnt generate .php form template - Err 404 |
mohrt
Replies: 6
Views: 11481
|
Forum: General Posted: Fri Mar 18, 2016 2:15 pm Subject: Smarty v2.6.6 doesnt generate .php form template - Err 404 |
But when i open the web and try to open the URL new_users that should be linked to new_user.tpl.php, it shows me ERROR 404
Where does new_user.tpl.php come from? That is not something Smarty create ... |
|