[dev] category help
Chuck Hagenbuch
chuck at horde.org
Thu Dec 18 12:38:22 PST 2003
Quoting Ben Chavet <ben at chavet.net>:
> I've been studying the category system so I can start on the new ansel
> backend. I'm having a difficult time figuring out how to specify either the
> parent category or the child category when creating the categoryobject
> instance.
You can't specify a child when creating a new category. You specify the parent
by adding the parent's category_name onto the beginning of the new name and
putting in a colon, like so: parent_name:child_name. (see line 80 of
admin/perms/addchild.php).
> Am I right to try to extend CategoryObject with the Ansel_Image
> class?
Yes, I think that's right.
-chuck
--
Charles Hagenbuch, <chuck at horde.org>
"I'm really... I'm not too fascinated by green food." - Average Joe
More information about the dev
mailing list