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

Examples of Import/Export API use

Can anybody point me to some modules that use the Import/Export API?

I need to build a simple[?] module, that allows a user to upload a CSV/XLS file, and the module should drop some existing data in the DB, and replace this with the data in the spreadsheet.

Ideally there is a module that does something similar that I can look at the code and see how it goes.

I'm reading through the Import/Export API documentation at the moment, but a good example of the API in use could help me get my head around it.

Any ideas?

Regards
Alan

Huge file cache in module folder...

I was wondering why /admin/build/modules took so long to load on one of my pages, and then I realized it is because I have a really huge folder (with hundreds of subfolders) in one of the module folders.

Since /admin/build/modules looks for new modules recursively in all subfolders, the page takes several minutes to load.

Can you recommend anything to prevent Drupal from looking into this folder, but still have the files easily available to be read by the module?

Event Calendar parse error

Would anyone know how to correct this parse error? My drupal version is 4.7x and the event cal seems to be 4.6x, however I dowloaded the most recent version just yesterday. Thanks. Also, if there is another calendar more suitable that allows visitors to sign-up for events I would appreciate the link.

Parse error: parse error, unexpected '<' in /home2/flying/public_html/a_signup/modules/event/contrib/event_views/event_views.module on line 3

Force language change

Hi,

I'd like to force the language change, for instance to switch EN lang to FR, using a Drupal function ...
Is there an issue?

Regards.

Multipage form values

I am building a module for drupal 4.7

In this module there is a form that is spit in 2 parts.
1 is a select box with all the country where user are located.
2 is a select box with all the city's in the country that is selected on page 1.

To do this i used the multipage form like shown on http://drupal.org/node/54753.
In this tutorial the multipage form is nothing more then 3 forms on separated pages. But they could also be on the same page. No differens.

Views newest commentary content which lists in block, can according tothe number of words interruption?

Views newest commentary content which lists in block, can according tothe number of words interruption?
When the commentary content excessively is long, has affected pagelayout ~
What means solution has?

I use newest views edition 4.7.x-1.0

thanks~

Pages

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