On Wed, 17 Nov 2004 06:47:11 -0500, Shane <sh...@lo...> wrote:
> Has any of you taken a look at using the Topic-selection code in
> anything other then admin.pl?
>
> Say, for instance, a plugin? (heh, as if you didn't know where I was
> leading this... )
>
> The ability to associate a plugin's object w/ one or more topics is
> something that I've wanted for a while. But I've not had time to rip
> apart the admin plugin and find out how it was done. It'd be sweet if
> admin's code/forms could be reused easily.
>
> Any thoughts?
I'm currently trying to extract part of the Javascript that does all
that into a more generic tool that I can use for ordering other things
in Slash. Right now it's tied tightly to the selection and ordering of
topics, so you may have better luck doing this than I. Much of the
stuff looks to be fairly reusable, but the problem is that for it to
be reusable, you'd need to use the routines in Slash::Admin::PopupTree
(for admin use only), or redesign it for more general use.
- Cliff
|