Another Flexy question
| From: | Tony Bibbs | Date: | Mon, 11 Aug 2003 21:15:24 +0000 |
| Subject: | Another Flexy question | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7151@lists.php.net to get a copy of this message | ||
Is there a way to turn gettext support off? I get this error:
Call to undefined function: gettext()
--Tony
Alan Knowles wrote:
Tony Bibbs wrote:I'm very impressed with Flexy (kudos to Alan). As expected with a beta package the documentation is lacking a bit. I'd sure like to see a couple of working examples of: 1) use of nested templateshttp://devel.akbkhome.com/livedocs/livedoc.php?q=package.html.html-template-flexy.tag.method this relies on methods - and you deciding the behaviour.. of variables, caching etc.. Include is such a complex beast that I gave up in the end trying to find anything close to a logic answer to it..2) using foreach control structure to show records from a DB.http://devel.akbkhome.com/livedocs/livedoc.php?q=package.html.html-template-flexy.attribute.foreach In flexy it is assumed that you preload the data into an array and just loop through it in the template.Admitted I haven't disected the code yet to figure it out myself but if anybody has such examples I sure would appreciate seeing some.Heavily under development at present (as hopefully the code has stabalized at last..) Regards AlanThanks, --Tony