Re: [libdb-develop] Don't Look At This Demo
Status: Inactive
Brought to you by:
morbus
From: Morbus I. <mo...@di...> - 2004-02-20 05:37:59
|
Still plenty more to do (I've yet to address Bruce's Safari thing, and I believe I've licked the mod_perl problems but have yet to implement them), but another update of half-working code tonight. The "add film" page hasn't changed in coding whatsoever: http://disobey.com/noos/LibDB/dev/index.cgi?tmpl=add_film But, I've started work on making "locations" actually do something from a database integration point of view. You can see the list of current locations here: http://disobey.com/noos/LibDB/dev/index.cgi?tmpl=locations Nothing too surprising. That's the happy browsing interface. The administrative interface, however, adds editing buttons: http://disobey.com/noos/LibDB/dev/admin.cgi?tmpl=locations Clicking the little pencil icon thing will bring you to an editing form, which actually works. You can go and edit existing locations all you want, and you'll be informed of your success, as well as be given the opportunity to re-edit your edits <g>. I don't have a magic button (yet) for adding a new location, but you can do that too at the following URL (slightly diff): http://disobey.com/noos/LibDB/dev/admin.cgi?tmpl=locations&edit=1 Go ahead and add one, and you'll be told your changes have been saved, as well as given a chance to re-edit your changes or what have you. You'll also notice that all these edits and additions will apply to the "add_film" page above - once you're down fiddling with locations, reload the "add_film" page, and you should see your changes reflected in the "where is this item located" drop-down. Still need to add a delete button too (though, that causes some database integrity problems, so I may hold off on that for now). -- Morbus Iff ( tomorrow never comes until it's too late ) Technical: http://www.oreillynet.com/pub/au/779 Culture: http://www.disobey.com/ and http://www.gamegrene.com/ icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus |