[Webgenerator-x-devs] Cool collectionadmin
Brought to you by:
gregni
|
From: Slava M. <sm...@in...> - 2002-04-19 08:35:16
|
I have to inform you about my cool results on collectionadmin. I did a great work, mainly on categories. Now the module can : 1.Display all categories in a selectboxes as a tree with its options shifted by $spacer. 2.Display IText (or abbrev) in the selectboxes and in the Paths too. 3.Change parent category of any category and of any item too. 4.Delete any category correctly, and it's well tested. All above was implemented via a new field "pcatid" (parentcategoryID) which properties are equal to "catid". Field "pathto" is not in use now. Two recursive functions are created. Therefore a platform to display all categories in a tree is created. We can use it in the collection.php. I am go to do it. Also I changed some code: 1.to make work with module more easy, understandable (eg display "Path to current category" everywhere, comments to user, similar terminology, etc), 2.to make code reusable to be called many times from different functions. Say what do you think. May be I lost my time in vain on it? |