Re: [SMARTY] Smarty bug? or stupid coder?
| From: | Jason Dunbar | Date: | Wed, 13 Nov 2002 09:37:41 +0000 |
| Subject: | Re: [SMARTY] Smarty bug? or stupid coder? | ||
| References: | 1 2 3 4 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6410@lists.php.net to get a copy of this message | ||
I have tried removing the HTML headers as suggested, and it doesn't appear
to make much difference.
I have also tried using the smarty debugging console.
Now if this is any indication, on the page:
http://www.interactdev1.co.uk/smartyforum/forums_view.php
The debugging console shows up and works as expected.
However, should the forum title be clicked.. the debugging console is not
even called.
Makes me wonder WHAT exactly is going on :-/
"Manfred 'Dwerg' Stienstra" <manfred.stienstra@dwerg.net> wrote in message
news:200211131043.26204.manfred.stienstra@dwerg.net...
On Wednesday 13 November 2002 09:26, Jason Dunbar wrote:
> // time to clean up after ourselves
> unset($oReadPosts);
Php throws away the script enviroment after execution, so you don't have to
unset stuff.
> !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xml:lang="en" lang="en">
If you're using Mozilla as a browser (I don't know what other browsers do)
and
the html is not xhtml (strict) compliant, the browser won't display
anything.
Maybe for testing purposes it's better to exclude this header.
The template and the code looks fine to me, so I think this isn't smarty
related.
Manfred