Jump to content

Count the number of modules in a hook


Recommended Posts

I need to know the number of modules that appears in a hook to make a processing.

For example, if there is a number of non-pair modules, I would like to display a different module to fill in the space left.

There is there a way to do it?

Link to comment
Share on other sites

Moreover, there is a need to know whether a module is appearing on the page instead of whether the module is installed.

Because i can have a module which is installed,but due to it not having any product to return,it just doesnt appear.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...