Advertisement:
NameCheap

Author Topic: Package dependencies  (Read 2184 times)

Offline Yoshi

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 9,434
  • Gender: Male
Package dependencies
« on: February 22, 2012, 05:17:09 AM »
Hi there :)

I hope I'm spelling it right, but package dependencies would be a nice feature to have :)
Basically, one package should be able to check if another one is installed before the package can be installed.

E.g. package Slider needs package jQuery. Package Slider would include this code into their installation XML:
Code: [Select]
<dependencies>
<package>jQuery</package>

The packages should be able to search for other ones per ID.

I think this feature is useful, to avoid multiple-code conflicts (e.g. two jQuery include codes).
This will also make API packs possible.

Can this be implemented into SMF? :)
My Mods / Mod Builder - A tool to easily create mods

Offline Illori

  • Doc Coordinator
  • SMF Master
  • *
  • Posts: 33,899

Offline Yoshi

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 9,434
  • Gender: Male
Re: Package dependencies
« Reply #2 on: February 22, 2012, 06:11:38 AM »
Oh excuse me, I couldn't find anything while searching :(

Anyway, solved.
My Mods / Mod Builder - A tool to easily create mods