PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_Template_Flexy » Bug #1247

Some new feature request (Docs missing - toJavascript etc.)

Details

Request #1247Some new feature request (Docs missing - toJavascript etc.)
Submitted2004-04-20 22:19 UTC
Fromboci at dravanet dot hu
Assignedalan_k
StatusAssigned
PackageHTML_Template_Flexy
PHP VersionIrrelevant
OSLinux
Roadmaps(Not assigned)

Comments

[2004-04-20 22:19 UTC] boci at dravanet dot hu

Description:
------------
Hi!

I think flexy needed some feature.
1. not in class method call (example global functions)
2. not in class variable insert ($GLOBALS, $_POST, $_SESSION) I think the right way this: {globals:variablename} or {post:variablename}
3. normal for support
4. if with validation set example: {if:value:othervalue=newvalue}
5. More-more-more documentation (more example, how to use the GetText support, toJavaScript usage, create own tags)

Question: how to use an external function (example sizeof()) in if?

I know this is a bug report but I don't know how can I ask.

Cow (ICQ: 73963523, MSN: boci13@hotmail.com)

Cow

[2004-04-21 08:19 UTC] boci at dravanet dot hu

Hi!

Thanx the answers

3. {loop:i=5} -> for($i=0;$i<5;$i++)
or flexy:loop=5 or flexy:loop="internalvar:5"

Cow

[2005-05-23 17:02 UTC] john at curioussymbols dot com

Hi Alan

I'd just like to second the request for some documentation, especially of the 'tojavascript' thing. It's been a major source of problems for me when installing my codebase on different systems, so a few clearly-expressed words about what are the options for inserting {tags} into <script> blocks would be really helpful.

Cheers
JP