debugging->true with class extending smarty...?

From: Date: Thu, 31 Oct 2002 01:47:43 +0000
Subject: debugging->true with class extending smarty...?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6279@lists.php.net to get a copy of this message
hi there - I just made a class "pSmarty" extending Smarty like written in the manual : define(SMARTY_DIR,'/usr/local/lib/php/Smarty/'); require(SMARTY_DIR.'Smarty.class.php'); class Smarty_GuestBook extends Smarty { function Smarty_GuestBook() { $this->template_dir = ... blah . . . // ****************************************** // AND HERE IS MY PROBLEM $this->debugging=true; // HAS NO EFFECT!!! // ****************************************** $this->caching = true; $this->assign('app_name','Guest Book'); } } ...but now debugging does not work anymore! if I create an instance of my class with $smarty = new Smarty_GuestBook; $smarty->debugging= true $smarty->assign('name','Ned'); $smarty->display('index.tpl'); I also get the debugging window. no error message - just nothing. Even if I write {debug} directly in my templates I still don't get any result. can anybody help me out of this. thx & greets, andi

« previous php.smarty.general (#6279) next »