Re: How to build a tree on the page?

2006-08-16 Thread Russell Hay
I just realized that it isn't the entire picture needed to build the tree. Also look at the "tree" function in: http://code.b0b.net/rep/GameDB/trunk/gamedb/driver/views.py -Russell On Wed, Aug 16, 2006 at 06:48:13AM -0700, ? wrote: > > I have a table like this > > id | name | paren

Re: How to build a tree on the page?

2006-08-16 Thread Russell Hay
Mine probably isn't terribly efficient (I'm just learning) but, http://code.b0b.net/rep/GameDB/trunk/gamedb/driver/controller.py I use a third-party tree javascript library that I found here: http://www.dhtmlgoodies.com -Russell On Wed, Aug 16, 2006 at 06:48:13AM -0700, ? wrote: > >

Re: Site-Wide views

2006-08-15 Thread Russell Hay
Seth, I have something similiar on a website I'm developing where there is a navigation tree that is built from a database. The way I do it is I created a view that builds the tree and then I just use an "ajax" function to load that into a div on the site at page load. -Russell On Tue, Aug