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

how to use API ? fought really hard for several days now

Hello Guys,
Firstly thanks for being there to help me out investing your valued time.. :)

looking for module to create forms and lists(reports)

Does anyone know of a module that would let me import a .CSV (or xls) file and create forms that would allow users to output a list or report?

Given the database backend of this product, I would think that it would be possible to create a module that does this. Sort of like using crystal reports or ms reporting services with a database backend.

Thanks!

Steve

Module with AJAX -- best way to lay out directories?

Hello.

A while ago I wrote some code to search a directory for images and dynamically create a date selector and thumbnail container. It consisted of a PHP file and some Javascript. When the date selector is changed, it uses AJAX (to the PHP file) to fetch the image numbers for the selected day. The Javascript then dynamically modifies the DOM to display the correct thumbnails.

I'm new at Drupal, and I figured I'd start learning how to writing a module. From looking at the core modules, I can't really find anything to point me in the right direction. I'm having a problem laying out my directories.

Here is the layout of my server

www/myserver/drupal - base install
www/myserver/drupal/media/photos/155W - photos directory

www/myserver/drupal/modules/mediaselector/mediaselector.css
www/myserver/drupal/modules/mediaselector/mediaselector.js
www/myserver/drupal/modules/mediaselector/mediaselector.module
www/myserver/drupal/modules/mediaselector/mediaselector.php
www/myserver/drupal/modules/mediaselector/mediaselector.inc -- common functions to module and php

In my page I reference the module passing in the directory.

mediaselector_load( "media/photos/155W" );

When the page is referenced, the current working directory for the php file is www/myserver/drupal.
This works great and my images are found correctly.

Function to get node object from nid?

Looked through node module functions and can't find what I want, which is to be able to construct a node object from a nid.

THanks!
Doug

cvs question

Ok, I'm new to CVS and can't seem to figure this out ...

How do you commit do HEAD, and have that commit go into a branch as well. For example, look at the latest version of the .htaccess file in Drupal core http://cvs.drupal.org/viewcvs/drupal/drupal/.htaccess?view=log&only_with... . If you click on any of the 5.0 tags, the revision number stays the same - 1.81. Looking at the log, this was done in a single commit.

Add Node

When a user attempts to create a node:

http://drupalsite.com/node/add

What permission function(s) are executed?

user_access?
node_access?

And, in which modules?

Thanks so much!

-ron

Pages

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