Re: IT/ITX - I don't get it - long messages
| From: | Bertrand Mansion | Date: | Mon, 11 Feb 2002 14:37:20 +0000 |
| Subject: | Re: IT/ITX - I don't get it - long messages | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-830@lists.php.net to get a copy of this message | ||
le 11/02/02 15:04, Steen Rabol à srabol@mail.tele.dk a écrit :
> Yes, i know, and I would hate to leave PEAR, but about one year ago I also
> tried the IT/ITX but gave up, and now I have spent 2 weeks trying to make
> work
>
> But If I to 'merge' to different systems (PEAR and a template system) I
> would also use another(faster) DB layer or go back to plain MySQL/HTML
>
> One of the main reason that I use PEAR is all the goodies which means that I
> don't have to re-invent the wheel, but until now it have been a struggle to
> make it work One could say that I should have tested the template system
> before switching, but I have faith in the people behind PEAR and didn't
> think that I would get into troubles like this.
If this is just a warning you get, I believe line 661 in ITX.php should be
changed to :
if (isset($this->blockinner[$block])
&& is_array($this->blockinner[$block])
&& count($this->blockinner[$block]) > 0) {
instead of just :
if (is_array($this->blockinner[$block])
&& count($this->blockinner[$block]) > 0) {
The warning I get with your code is about a missing index, this removes the
warning. Tell me if it works with your other code.
About using Smarty : you need to have PEAR installed to use Smarty now.
Good Luck,
Bertrand Mansion
Mamasam