Author |
Message |
Topic: Hyphenated function parameters |
eithe
Replies: 2
Views: 9725
|
Forum: Smarty 3 Posted: Fri Nov 08, 2013 8:30 am Subject: Hyphenated function parameters |
Oh, cheers! I'm using version 3.0.7, so there's the reason for it not working. Good to know there's a solution - now it's only the matter of convincing higher-ups to upgrade smarty version |
Topic: Hyphenated function parameters |
eithe
Replies: 2
Views: 9725
|
Forum: Smarty 3 Posted: Wed Nov 06, 2013 12:39 pm Subject: Hyphenated function parameters |
Hi there,
Recently I need to add hyphenated parameters to my function arguments, ie: for function displayImage, which is used like this:
{displayImage src="[url_to_img]" a ... |
Topic: Get list of included template (.tpl) file names |
eithe
Replies: 3
Views: 9827
|
Forum: General Posted: Tue Aug 16, 2011 9:07 am Subject: Get list of included template (.tpl) file names |
As I needed this as well here's the solution - all the templates are created using $Smarty->createTemplate function and stored in the $Smarty->template_objects array indexed by sha'd key. But, t ... |
Topic: smarty_internal_templatelexer bug |
eithe
Replies: 4
Views: 8275
|
Forum: Bugs Posted: Thu May 19, 2011 1:08 pm Subject: smarty_internal_templatelexer bug |
True enough - I couldn't find why I was getting this error and debugging was a small nightmare. But on the other hand PCRE can happen to fail silently / output a wrong result, so probably what's happe ... |
Topic: smarty_internal_templatelexer bug |
eithe
Replies: 4
Views: 8275
|
Forum: Bugs Posted: Thu May 19, 2011 8:11 am Subject: smarty_internal_templatelexer bug |
setting it to -1 did the trick, though I would suspect that now the content is not being validated, as I've had similar problem with PCRE seg faulting when backtrack limit was set too high (which isn' ... |
Topic: smarty_internal_templatelexer bug |
eithe
Replies: 4
Views: 8275
|
Forum: Bugs Posted: Wed May 18, 2011 5:07 pm Subject: smarty_internal_templatelexer bug |
Hi there,
I've encountered a fatal flaw with smarty_internal_templatelexer functionality. For a given xml document where content lies in one line and exceeds some magical length (dependant upon amm ... |
|