HTML_Template_Flexy + QuickForm
| From: | Lubos Kmetko | Date: | Tue, 15 Jul 2003 16:00:31 +0000 |
| Subject: | HTML_Template_Flexy + QuickForm | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-6611@lists.php.net to get a copy of this message | ||
Hi,
I'd like to learn to use QuickForm with Flexy or Xipe. I didn´t find any
QuickForm rendered for Xipe, but I found QuickForm Wrapper for Flexy in
Flexy dir. Can you give me short advice how to use it or references to some
docs or examples?
My other problem is that when I tried to use HTML_Template_Flexy (0.4.2) I
got: Fatal error: Undefined class name 'pear' in ...
\pear\PEAR\HTML\Template\Flexy.php on line 126. I installed Flexy manually
as I don´t see the package among other packages when using PEAR Installer
on Windows but I suppose I copied Flexy to corret directories.
Then, when I add require_once 'PEAR.php' to beginnig of Flexy.php, it runs
further but I got another Fatal error: Call to undefined function: gettext()
in ... \pear\PEAR\HTML\Template\Flexy\Token\Text.php on line 98. Finally
when I comment those gettext() function calls in Text.php, Flexy works. (I
use Flexy examples from PEAR Manual)
Why this happens? Is something wrong with my instalation or with Flexy?
Thanks for advice,
Lubos Kmetko