Home » HTML » HTML_TreeMenu
Provides an api to create a HTML tree
This package is unmaintained.
Download latest release 1.2.2 (archived versions might be outdated)
License: BSD
Description
PHP Based api creates a tree structure using a couple of
small PHP classes. This can then be converted to javascript
using the printMenu() method. The tree is dynamic in
IE 4 or higher, NN6/Mozilla and Opera 7, and maintains state
(the collapsed/expanded status of the branches) by using cookies.
Other browsers display the tree fully expanded. Each node can
have an optional link and icon. New API in 1.1 with many changes
(see CVS for changelog) and new features, of which most came
from Chip Chapin (http://www.chipchapin.com).
Documentation
Maintainers
- Richard Heyes (richard) — lead, inactive
- Chuck Burgess (ashnazg) — lead, active
- Ken Guest (kguest) — lead, active
Dependencies
Required
- PHP (>= 4.0.0)
- PEAR Installer (>= 1.4.0b1)
Releases
- 1.2.2 (stable, 2010-10-25)
Release notes
License: BSD
QA release
Bug #17696 Patch in order to allow minimization of JS code
Bug #7324 Problem using together with XMLRPC
Bug #13665 phpcs errors
Request #14941 Improve PHPCS results (javascript, tabs vs spaces)
Bug #15292 Unit test failure -Fatal error: Call to undefined method Tree::setup()
Request #15957 images dont "work" on dark(er) backgrounds
Doc Bug #16718 sample simple example fails - 1.2.1 (stable, 2008-04-13)
Release notes
License: BSD
Various bug fixes.
- 1.2.0 (stable, 2005-03-01)
- 1.1.9 (stable, 2003-12-20)
Release notes
License: BSD
Fix expanded image when nodes are expanded by default
- 1.1.8 (stable, 2003-12-20)
Release notes
License: BSD
Fix javascript detection issue
- 1.1.7 (stable, 2003-11-26)
Release notes
License: BSD
Bug fix in maxDepth feature
- 1.1.6 (stable, 2003-11-26)
Release notes
License: BSD
o Auto escapes ' in node text
o New maxDepth option HTML_TreeMenu_DHTML presentation class.
All nodes past this number of indentations are rendered as siblings. - 1.1.5 (stable, 2003-04-02)
Release notes
License: BSD
Updated browser detection to allow for Opera 7
- 1.1.4 (stable, 2003-02-21)
Release notes
License: BSD
Added a createFromXML() method for creating
treeMenu structures from XML. This feature
depends on the PEAR::XML_Tree package. - 1.1.3 (stable, 2003-02-20)
Release notes
License: BSD
Added expanded icon support. Added documentation in Word
and PDF formats. Moved structure import code to its own
static method createFromStructure(), and added support
for my own Tree class (http://phpguru.org/tree.html) as
well as Wolfram Kriesings Tree class. - 1.1.2 (stable, 2002-11-30)
Release notes
License: BSD
Updated example file
- 1.1.1 (stable, 2002-11-30)
Release notes
License: BSD
Added event support, and moved various options from the TreeMenu class to
the presentation classes. Added presentation base class. - 1.1.0 (stable, 2002-11-10)
Release notes
License: BSD
Many changes. See CVS for changelog
- 1.0.4 (stable, 2002-07-27)
Release notes
License: BSD
License change
- 1.0.3 (stable, 2002-07-05)
Release notes
License: PHP
Bugfixes:
o Persistence fixes
o Reference/copy fixes - 1.0.2 (stable, 2002-06-30)
Release notes
License: PHP
Change to use document.write() instead of layers and innerHTML for much speed increase.
Change to use onmousedown instead of onclick for cleaner more defined clicks.
Added the ability to define whether to use client side persistence.
Added the ability to define whether a node is dynamic
Added the ability to define whether a node is expanded - 1.0.1 (stable, 2002-06-18)
Release notes
License: PHP
Added support for Mozilla and NN6
- 1.0 (stable, 2002-06-15)
Release notes
License: PHP
Initial release
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #164 | Closed | Bug | 2003-10-29 | bug report with fix: "expanded" option not working on nodes | |
| #165 | Closed | Bug | 2003-10-29 | User Agent Identification for Opera 7 incorrect | |
| #331 | Closed | Bug | 2003-11-30 | Konqueror detection patch is wrong | |
| #360 | Bogus | Bug | 2003-12-05 | Javascript do not work with mozilla 1.5 | |
| #364 | No Feedback | Bug | 2003-12-05 | Client side persistence not working | |
| #379 | No Feedback | Bug | 2003-12-08 | Javascript errors on node expand in Safari | |
| #1015 | Bogus | Bug | 2004-03-15 | addItem divergent behavior | |
| #1382 | Bogus | Bug | 2004-05-11 | javascript as link in treenode doen'st work | |
| #1555 | Bogus | Bug | 2004-06-03 | Creating a HTML_TreeMenu instance from a XML source fails. | |
| #1776 | Closed | Bug | 2004-07-02 | [CDATA[ addition to javascript code | |
| #1782 | Bogus | Bug | 2004-07-03 | Call to undefined function: writeOutput() | |
| #1808 | Bogus | Bug | 2004-07-06 | Error with creating tree from XML | |
| #2058 | Bogus | Bug | 2004-08-04 | HTML_TreeMenu_DHTML->printMenu() produces no output | |
| #2259 | Bogus | Bug | 2004-08-31 | Two nodes (one empty) for only one node in the xml tree | |
| #2392 | Closed | Bug | 2004-09-24 | Nodes open expanded on mulitiple menus | |
| #2881 | Bogus | Bug | 2004-12-03 | TreeMenu not displayed in browser | |
| #2882 | Bogus | Bug | 2004-12-03 | TreeMenu not displayed in browser | |
| #3248 | Wont fix | Req | 2005-01-19 | Move picture to middle in tree view | |
| #3292 | Wont fix | Req | 2005-01-25 | Listbox compatibility with QuickForm | |
| #4309 | Bogus | Req | 2005-05-09 | sorry... double report | |
| #5595 | Closed | Req | 2005-10-03 | "language" attribute in <script> tag won't validate as XHTML strict | |
| #5596 | Open | Req | 2005-10-03 | <noscript> version of the tree in toHTML() | |
| #5833 | Closed | Req | 2005-10-31 | DHTML Menu icon size is fixed, so custom icons may not display correcly | |
| #7324 | Closed | Bug | 1.2.0 | 2006-04-06 | Problem using together with XMLRPC |
| #7435 | Closed | Req | 1.2.0 | 2006-04-20 | createFromXML comments |
| #8757 | Wont fix | Bug | 1.2.0 | 2006-09-21 | No node created using xml from file |
| #9615 | No Feedback | Bug | 1.2.0 | 2006-12-14 | Bug with collapsed icon |
| #9750 | Open | Bug | 1.2.0 | 2007-01-05 | Using "kriesing" tree type the "nodeOptions" paramether is not working. |
| #9751 | No Feedback | Doc | 1.2.0 | 2007-01-05 | version number on the file is 1.21 |
| #13609 | Duplicate | Req | 1.2.0 | 2008-04-06 | make javascript menu render html |
| #13665 | Closed | Bug | 1.2.1 | 2008-04-13 | phpcs errors |
| #14340 | Feedback | Bug | 1.2.1 | 2008-07-12 | treemenus break if prototype.js is loaded in safari |
| #14499 | Open | Bug | 1.2.1 | 2008-08-13 | working with AJAX |
| #14941 | Closed | Req | CVS | 2008-11-03 | Improve PHPCS results (javascript, tabs vs spaces) |
| #15292 | Closed | Bug | CVS | 2008-12-10 | Unit test failure -Fatal error: Call to undefined method Tree::setup() |
| #15957 | Closed | Req | 2009-02-27 | images dont "work" on dark(er) backgrounds | |
| #16718 | Closed | Doc | 1.2.1 | 2009-10-20 | sample simple example fails |
| #17696 | Closed | Bug | 1.2.1 | 2010-08-13 | Patch in order to allow minimization of JS code |
| #17852 | Bogus | Bug | 1.2.1 | 2010-09-08 | Deprecated: |
| #18310 | Open | Req | 1.2.2 | 2011-02-24 | Fixed width display and line wrapping. |
| #18311 | Closed | Bug | 1.2.2 | 2011-02-24 | nobr tags are deprecated |
| #19112 | Closed | Bug | SVN | 2011-12-07 | upgrade PHPUnit require statements (for PEAR QA Team) |
| #19113 | Closed | Bug | SVN | 2011-12-07 | have tests use MYSQL_TEST_* environment variables |
| #19115 | Closed | Bug | SVN | 2011-12-07 | warning in createFromStructure(): Invalid argument supplied for foreach() |
| #19116 | Open | Bug | SVN | 2011-12-07 | EXPECT section lacks expected output in testBug_9750.phpt |
| #19520 | Wont fix | Req | 1.2.2 | 2012-07-19 | Deprecated error |