Date: 04/22/01
- Next message: Prasad RL: "[phplib] prepend.php3 / php4.0.1"
- Previous message: Jens Benecke: "Re: [phplib] (a bit off topic ) Apache's virtual hosts in standalone-Win98 machine"
- Next in thread: Jens Benecke: "Re: [phplib] tree_sql, tree_template question"
- Reply: Jens Benecke: "Re: [phplib] tree_sql, tree_template question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I am experimenting with tree_sql and tree_template ATM and have a few
questions:
- Is it really necessary to give _all_ of the tree to the tree_template
class in order for it to render the stuff? I have about 30,000 elements
here and if I request them all out of the SQL database PHP just dies with
"out of memory".
What I'd like is for tree_template to request only the elements that are
needed for display, e.g. all root elements and all parents (and perhaps
equals) and direct children, of the "currently selected" element (which
might be determined by a session or GET variable).
In short, I need some kind of cross between spruce_tree and
tree_template/tree_sql.
- I didn't find functions or hooks for "expand/collapse tree" in the
source. Am I blind, or where do I put this in?
- Has anybody perhaps already done this sort of thing with the PHPLIB tree
stuff?
Thank you ! :)
--
Jens Benecke "Und deshalb sollte man ja auch immer _alle_
Editoren installieren: XEmacs _und_ Vim."
-- Sven Guckes
http://www.hitchhikers.de/ - Die kostenlose Mitfahrzentrale für ganz Europa
- application/pgp-signature attachment: stored
- Next message: Prasad RL: "[phplib] prepend.php3 / php4.0.1"
- Previous message: Jens Benecke: "Re: [phplib] (a bit off topic ) Apache's virtual hosts in standalone-Win98 machine"
- Next in thread: Jens Benecke: "Re: [phplib] tree_sql, tree_template question"
- Reply: Jens Benecke: "Re: [phplib] tree_sql, tree_template question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

