Topic: extensions dependencys

hi,

does manifest.xml allow some sort of extension dependencies?

i mean for example i'm craeting a verry simple extension called prototypejs which will add the prototype and script a coulus js librarys to punbb.

now i'm creating a bunch of other extensions that will require this extension to be installed, so is it possible to define this in manifest.xml, or should i just do the checks during the install?

althought it would be cool to have a < dependent > tag in the manifest file smile

~Cereal
I've finally learned what "upward compatible" means. It means we get to keep all our old mistakes.
The limits of language are the limits of one's world.

2 (edited by User33 2009-01-16 15:57)

Re: extensions dependencys

As far as I know, it does, but I've never used them. I'll check the XML parser and the rest of the code to see how they work.

Edit: Here you go:

<extension>
    <!-- extension info -->

    <dependencies>
        <dependency>extension_id</dependency>
    </dependencies>

    <!-- install/uninstall code -->

    <!-- extension hooks -->
</extension>

Re: extensions dependencys

I was just checking kierownik's extensions (http://kierownik.nl/downloads)
Lightbox extension is not working wink but dependences are smile

YonasH's repository + Extensions Directory = PunBB Extensions Online Library (in progress....)

Away. I will be back soon.

Re: extensions dependencys

Probably because it's for 1.3 Beta.