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 8 matches
Smarty Forum Index
Author Message
  Topic: More informations in SmartyCompilerException
Lillilotte

Replies: 1
Views: 17742

PostForum: Feature Requests   Posted: Thu Jan 24, 2013 6:35 pm   Subject: More informations in SmartyCompilerException
What are you thinking about the extension of the SmartyCompilerException for the following properties?

* line of error
* template file
* the invalid token
* the expected token
* maybe the lexer ...
  Topic: Verwechselung von PLUGIN_BLOCK mit PLUGIN_COMPILER?
Lillilotte

Replies: 1
Views: 6153

PostForum: Language: German   Posted: Thu Jan 24, 2013 6:12 pm   Subject: Verwechselung von PLUGIN_BLOCK mit PLUGIN_COMPILER?
Ich verwende Smarty 3.1.13 von der Smarty Website. Kann es sein, dass in der Datei smarty_internal_templatecompilerbase.php in Zeile 334 (Smarty_Internal_TemplateCompilerBase::compileTag()) die Konsta ...
  Topic: Array Perfomance im Loop
Lillilotte

Replies: 11
Views: 22479

PostForum: Language: German   Posted: Thu Jan 24, 2013 5:34 pm   Subject: Re: Array Perfomance im Loop


$abfrage = "SELECT * FROM TABELLE WHERE `id` = 1";
$RESULT = mysql_query($abfrage);
while($row = mysql_fetch_assoc($RESULT)) {

$kartendata[] = ...
  Topic: Help with regex_replace
Lillilotte

Replies: 2
Views: 5041

PostForum: General   Posted: Thu Jan 24, 2013 4:17 pm   Subject: Help with regex_replace
The RegEx for 3. should do the job.

A possible RegEx for 1. and 2. should be:

'#[1-9][0-9]{,2}(?:[.][0-9]{3})*(?:[, ...
  Topic: Smarty 3.1.12: const compile failure
Lillilotte

Replies: 2
Views: 6488

PostForum: Bugs   Posted: Thu Jan 10, 2013 7:53 pm   Subject: Smarty 3.1.12: const compile failure
Super! Thanks
  Topic: Smarty3: missing doCompile() in compiler base class
Lillilotte

Replies: 2
Views: 8007

PostForum: Smarty Development   Posted: Thu Jan 10, 2013 7:52 pm   Subject: Smarty3: missing doCompile() in compiler base class
Thanks
  Topic: Smarty 3.1.12: const compile failure
Lillilotte

Replies: 2
Views: 6488

PostForum: Bugs   Posted: Wed Jan 09, 2013 10:49 pm   Subject: Smarty 3.1.12: const compile failure
If I tried something like

<?php
define('bar', 'foobar');
$smarty->assign('foo', 'bar');
?>

foobar.tpl:
{$smarty.const.$foo}
or
{$smarty.const.&# ...
  Topic: Smarty3: missing doCompile() in compiler base class
Lillilotte

Replies: 2
Views: 8007

PostForum: Smarty Development   Posted: Wed Jan 09, 2013 10:28 pm   Subject: Smarty3: missing doCompile() in compiler base class
I use Smarty 3.1.12. I would extend the Smarty Compiler (Smarty_Internal_TemplateCompilerBase) so i have a look at the code. I saw it extends from Smarty_Internal_TemplateCompilerBase and i ask myself ...
 
Page 1 of 1
All times are GMT
Jump to:  


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