Author |
Message |
Topic: Warning on auto_literal and mbstring.func_overload |
djn
Replies: 3
Views: 11223
|
Forum: Bugs Posted: Tue Mar 18, 2014 12:26 am Subject: Warning on auto_literal and mbstring.func_overload |
|
Topic: Warning on auto_literal and mbstring.func_overload |
djn
Replies: 3
Views: 11223
|
Forum: Bugs Posted: Sun Mar 16, 2014 5:03 pm Subject: Warning on auto_literal and mbstring.func_overload |
Hello all.
I'm getting a repeated warning in Smarty 3.1.17/PHP 5.3.15. This only happens if $smarty->auto_literal is set to true and mbsting.func_overload is either 2, 6 or 7. The warning says:
... |
Topic: Question about compileAllTemplates() |
djn
Replies: 4
Views: 7149
|
Forum: Smarty 3 Posted: Wed Dec 01, 2010 5:22 am Subject: Question about compileAllTemplates() |
You are right on the spot, again. Thanks. |
Topic: Question about compileAllTemplates() |
djn
Replies: 4
Views: 7149
|
Forum: Smarty 3 Posted: Tue Nov 30, 2010 10:58 pm Subject: Question about compileAllTemplates() |
Sorry for being unclear: the template files stay the same, while the loaded config files change according to the global page language - a different config file for small projects, a different config_d ... |
Topic: Question about compileAllTemplates() |
djn
Replies: 4
Views: 7149
|
Forum: Smarty 3 Posted: Tue Nov 30, 2010 6:57 am Subject: Question about compileAllTemplates() |
Hello all.
I have a question about the correct way to pre-compile all templates AND config files when one uses config files to store language-specific text.
For some time I’ve used to load config ... |
Topic: strip as an output filter rather than inline |
djn
Replies: 7
Views: 25431
|
Forum: Plugins Posted: Wed Aug 25, 2010 11:01 pm Subject: A better way? |
I found a post on StackOverflow linking to this thread (outputfilter.trimwhitespace.php inserting the whitespace replacement function at line 51, taking advantage of the nice way the plugin saves and ... |
Topic: smarty-lint v2.0 released |
djn
Replies: 8
Views: 22599
|
Forum: Tips and Tricks Posted: Mon Aug 31, 2009 1:45 pm Subject: smarty-lint v2.0 released |
Yes, that one is exactly the plugin I've been using for years.
Don't get misled by the dummy code in my post; I used it just as a test to see how does this extension thing work (or if I can make it w ... |
Topic: smarty-lint v2.0 released |
djn
Replies: 8
Views: 22599
|
Forum: Tips and Tricks Posted: Thu Jul 30, 2009 3:07 am Subject: smarty-lint v2.0 released |
@lordreunion: it says "Call to undefined function smarty_modifier_markdown()" in the compiled template file and "[plugin] modifier 'markdown' is not implemented (core.load_plugins.php, ... |
Topic: smarty-lint v2.0 released |
djn
Replies: 8
Views: 22599
|
Forum: Tips and Tricks Posted: Tue Jun 23, 2009 1:51 am Subject: smarty-lint v2.0 released |
Very useful. I was already using the first version.
Could you explain me again how one is to declare an extension? I'm using a lot <?php
class markdown {
static public function markdown ... |
Topic: Autocomplete in Notepad++ |
djn
Replies: 3
Views: 12025
|
Forum: General Posted: Mon Jan 26, 2009 1:15 pm Subject: Autocomplete in Notepad++ |
Hello all NPP users.
I've just managed to cram support for Smarty syntax into Notepad++'s autocomplete functionality.
Link to the XML and more about this on the NPP forum: http://sourceforge.net/fo ... |
Topic: smarty-lint |
djn
Replies: 1
Views: 10170
|
Forum: Tips and Tricks Posted: Sun Jan 18, 2009 11:43 pm Subject: smarty-lint |
Thank you for this! It took me some time to understand the errors I was getting on Windows, but now I have it running straight out of Notepad++. Simply great. |
Topic: Can't assign html select options from database query result |
djn
Replies: 2
Views: 6684
|
Forum: General Posted: Sun Jan 18, 2009 11:23 pm Subject: Can't assign html select options from database query result |
I've never used html_options - always used to put down the html myself. What about this:
<select name="somename">
{ foreach from=$myassignedresults item=current }
... |
Topic: Using markdown plugin with escape |
djn
Replies: 0
Views: 17394
|
Forum: Tips and Tricks Posted: Wed Oct 01, 2008 5:59 pm Subject: Using markdown plugin with escape |
Hello all.
I've used for some time the PHP Markdown syntax (http://michelf.com/projects/php-markdown/) to allow some formatting in stored data while filtering eve ... |
|