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 5 matches
Smarty Forum Index
Author Message
  Topic: Unexpected input at line x smarty_internal_templatelexer.php
cmanley

Replies: 10
Views: 41042

PostForum: Bugs   Posted: Mon Apr 01, 2019 8:42 am   Subject: My solution
FWIW and in case it helps you or somebody: I had the same issue with Smarty 3.1.33 while working on someone elses template and found that it was triggered by an { include file="... } line in whic ...
  Topic: How to get current template from modifier (w dirty solution)
cmanley

Replies: 3
Views: 8628

PostForum: General   Posted: Thu May 28, 2015 9:56 pm   Subject: How to get current template from modifier (w dirty solution)
Just checking... any update on this since 2013?

Another question:
Is there a way to determine from within the modifier method, which object in $this->template_objects is the one belonging to t ...
  Topic: How to get current template from modifier (w dirty solution)
cmanley

Replies: 3
Views: 8628

PostForum: General   Posted: Mon Oct 21, 2013 1:17 pm   Subject: How to get current template from modifier (w dirty solution)
Thanks, that's a viable alternative. I hope it will become easier in future Smary versions.
  Topic: How to get current template from modifier (w dirty solution)
cmanley

Replies: 3
Views: 8628

PostForum: General   Posted: Wed Oct 16, 2013 6:42 am   Subject: How to get current template from modifier (w dirty solution)
I wrote a text translation modifier, that requires the name of the template file in which in was called.

Is there a proper way to access this information via $this or perhaps some global smarty va ...
  Topic: SmartyException shouldn't output (html)encoded text
cmanley

Replies: 1
Views: 6206

PostForum: Bugs   Posted: Sun Jan 13, 2013 1:13 am   Subject: SmartyException shouldn't output (html)encoded text
...or at least make it user configurable via a define (keeps it backwards compatible if fixed).

Smarty shouldn't just assume HTML is being used as the presentation layer. In fact I'm not. This is w ...
 
Page 1 of 1
All times are GMT
Jump to:  


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