Hi,

I want to check some specific requirements (like some required files at specific location) before installation of my module. If requirement is not satisfied, module will not install. How can I achieve this? Can anybody help me? I have stuck at at this part.

Thanks in advance
Rushali Jain

Comments

nevets’s picture

It might help if you mentioned the module you are trying to install and the error you get.

j.somers’s picture

Possibly none.

I think what the thread starter is trying to do is something similar to what the TinyMCE, FCKEditor and ShadowBox module do for example. They depend on an external library which has to be in a specific folder. Thus I would suggest taking a look at those modules and see how they handle that.

rushali’s picture

Hi,

You are right. I want the same thing what you have mentioned. I have used hook_requirements for this. But this is not working for Drupal 5. I have tested with Drupal 6, it is working fine.
Can anybody help me, on this point?

Thanx
Rushali Jain

rushali’s picture

Hi,

It was my mistake, that hook_requirements was not working for Drupal. It is working fine.

Thanks