This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

module.inc : module_load (and generally how do I control module invoke/load order)

Hi,

I have a few heavily modified modules which I want to load first. How do I control the load order?

4.5 had module_load function..which could have been useful but is not there in 4.6. There doesnt seem to be a function that will let me load a specific module first.''

Also, this probably isnt the most efficient way to do it anyway, if I want 3 or 4 modules to be loaded first.

Specifically, a contributed module 'evaluation.module' tries to print a theme even before the taxonomy_theme, taxonomy_menu etc modules are invoked.

Regards,

V

A routine to browse a directory on the server and return a file name

I would like to write a routine to browse a directory on the server and return the name of a selected file.

Here is my attempt so far:

Extending flexinode

Is there some documentation somewhere explaining how to create a new flexinode field type? It's clear that there is a naming convention, e.g., "field_typename.inc", but I haven't been able to find any documentation explaining what all the functions are supposed to do inside the .inc file.

multi-dimensional arrays in 'variable' table?

I'm trying to create a settings variable for a module I'm working on... It needs to have specific settings for each day of the week, so I need a serialized multi-dimensional array inserted into the 'variable' table... Here is what I have so far (this excerpt is from inside a 'foreach' loop, where '$value' represents each day of the week):

Chitika module? Or Chitika in flexiblock?

Is somebody out there developing a Chitika module for Drupal? I can use the Chitika script for regular blocks, but have trouble using it in a flexiblock. Has anyone found a way to make the script work in flexiblock?

It would be nice to facilitate the use of Chitika in Drupal since Chitika generates better revenues than Google Adsense from my experience.

Thanks in advance! :)

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions