In reading about the Drupal site I noted somewhere that ERP is dependent on the Ecommerce Store module is that correct? And then all of the submodules in ERP would be dependent on the core ERP module, correct? Are there other dependencies withing the submodules? How about the PDF module? I want to send you another patch for the info files but want to get it correct the first time. :)

Comments

singularo’s picture

It doesn't depend on e-commerce in any way, its totally seperate. In the future, I hope to do XMLRPC between backend erp & public e-commerce sites, but thats a little way off. We've tried to use "if (module_exist("x"))" everywhere, but there are some minimum requirements, and some suggested additions. Can you do "recommended" modules in the info files? ;-)

From the README.txt:
-----------------
For full functionality, please ensure that the following modules are also ALREADY installed/enabled:

actions
og
views
workflow

I also suggest:

book
urlfilter
event
jstools

Anonymous’s picture

Thanks.

I tried activating just the ERP module but the erp.install script isn't sufficient enough to install the additional tables. With 5.x at least it is possible to use the .install file to install the tables if they don't exist. There is also an uninstall functionality described at http://drupal.org/node/64279 which I've not seen used anywhere yet. Unless you beat me to it I'll take a look at erp.install to see what needs to be changed. Please, don't hold back on updating it if you find a moment. :)

Another interesting thing with 5.x is the use of a separate Administration theme to seperate the user content look and feel from the administration look and feel. It might be a good idea for this module to use the administration theme instead of the content theme since ERP is more an administration function than it is a content function. It may even be possible to add a different theme hook for just ERP which would really be useful IMO.

Earnie

singularo’s picture

Thanks for your suggestions Earnie, We've done quite a few changes since your post, but its still quite a lot of work to get going with drupal-4-7.

The install profiles look to be the best way forward for drupal5.

Drupal 4-7 may not get any easier unless I provide a pre-build .sql file with taxonomy, actions, workflows already setup. We're not too far away from being able to do that actually, even if its just a dump from the test site.

singularo’s picture

Assigned: Unassigned » singularo
Status: Active » Fixed

The install profile now works with the required modules for 5.x to install

Anonymous’s picture

Status: Fixed » Closed (fixed)