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: fixing Smarty_Compiler.class.php : two remarks
rdalverny

Replies: 10
Views: 19550

PostForum: Smarty Development   Posted: Thu Oct 23, 2003 7:08 pm   Subject: fixing Smarty_Compiler.class.php : two remarks
Yes, you are right ; I thought the regexp would have taken into account what was between PHP-like tags too : I have read the code a bit too fast. Actually, your correction is the correct one : replaci ...
  Topic: fixing Smarty_Compiler.class.php : two remarks
rdalverny

Replies: 10
Views: 19550

PostForum: Smarty Development   Posted: Thu Oct 23, 2003 2:24 pm   Subject: fixing Smarty_Compiler.class.php : two remarks
The problem may be some lines below instead (depends on what the function actually does, I am not sure) : you have a for() loop over $sp_match[0] array (that is, over every matching tag), but in the i ...
  Topic: fixing Smarty_Compiler.class.php : two remarks
rdalverny

Replies: 10
Views: 19550

PostForum: Smarty Development   Posted: Thu Oct 23, 2003 10:52 am   Subject: Just to be precise
The code I wrote above for _compile_include_php_tag() is a patched version (which understands 'once' and 'assign' as optional params) of the same function in Smarty 2.6.0. RC2 I use in production, not ...
  Topic: fixing Smarty_Compiler.class.php : two remarks
rdalverny

Replies: 10
Views: 19550

PostForum: Smarty Development   Posted: Thu Oct 23, 2003 10:09 am   Subject: fixing Smarty_Compiler.class.php : two remarks
Hi boots,

1. XML tags.

a) and b) I am using Smarty 2.6.0. RC2 too, with PHP v4.2.3, Apache 1.3.26.

c) Actually, XML tags should be closed, but that is a forum bug (I did not notice, but when ...
  Topic: fixing Smarty_Compiler.class.php : two remarks
rdalverny

Replies: 10
Views: 19550

PostForum: Smarty Development   Posted: Wed Oct 22, 2003 2:44 pm   Subject: fixing Smarty_Compiler.class.php : two remarks
Hi there,

while working on a small project, I got several 'notice' errors that I wanted to get fixed, and here are my comments about it.

First, handling xml tags ; I had these headers in my head ...
  Topic: undefined index : insert_tags in Smarty.class.php line 1243
rdalverny

Replies: 3
Views: 12022

PostForum: Bugs   Posted: Fri Oct 10, 2003 11:44 am   Subject: undefined index : insert_tags in Smarty.class.php line 1243
answer : I'm not sure ; I defined my own error handler, and set it up with set_error_handler() (see http://fr2.php.net/manual/en/function.set-error-handler.php ). error_reporting has no effect, nor do ...
  Topic: undefined index : insert_tags in Smarty.class.php line 1243
rdalverny

Replies: 3
Views: 12022

PostForum: Bugs   Posted: Fri Oct 10, 2003 10:44 am   Subject: undefined index : insert_tags in Smarty.class.php line 1243
Hey there,

when running a page using Smarty to be rendered, I always get this notice :

Undefined index: insert_tags in Smarty.class.php line 1243

The code I use is pretty common :
$s = n ...
  Topic: output problem
rdalverny

Replies: 0
Views: 3204

PostForum: General   Posted: Sun Oct 05, 2003 6:26 pm   Subject: output problem
Hi,

I have encoutered some problems with Smarty 2.6.0 RC1 : in short, HTTP headers sometimes appear on the rendered web page, at the beginning of the page, plus leading and ending 0's ; sometimes ( ...
 
Page 1 of 1
All times are GMT
Jump to:  


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