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

Module and Taxonomy

Hi,
I'm developing a module (node) which uses taxonomy, when I try to save the taxonomy in the term_node table, using either sql insert or taxonomy_node_save, after I do it another query delete it.
I do in the _insert hook.

Where should I do the insert to taxonomy, or which function to use?.

Thanks in advance

easy way to wrap existing PHP app

Hello All,

We've decided to run Drupal as our Intranet application, and we have a number of pre-existing PHP applications which we use (ie. timesheets etc). I was wondering if there is an easy way to wrap them into drupal as modules? ie. turn them into page nodes with all their own database code intact? etc.

Thanks, nick

Image module problem

Hi I am currently working on a site for someone that wants an image gallery that is inside of Drupal. I've installed the image modules but for some reason its not working properly. It doesnt allow you to add more than one image to a gallery. Also something that my client does not like is the fact that it lists the images vertically and not horizontally in the image gallery. Is there a practical way to fix these problems? I am looking for any help.

Ping for updates of all updated modules

Not sure if we have it, but if not:

Is there a PING module that from time to time or manually would be able to ping the drupal developer site for the latest upgrades available for the different modules installed in our running sites?

I find that my different sites have different versions of different modules and i am not always sure which versions are running.
Also, it is very time consuming to manually check for which modules there are newer versions or upgrades.

Menu callback to produce a form - how exactly?

Hi

I am trying to put a menu item up (successful) which when clicked on presents a form. The form will be something for users to select an item off (basically volunteer for an option).

I don't understand exactly how to get this right - could someone just point me in the right direction - here is where I am:

I added a menu item:

function fhsstadmin_menu($may_cache) {
  $items = array();
    $items[] = array('path' => 'assignments', 'title' => t('Assignments'),
      'callback' => 'fhsstadmin_assignments',
      'type' => MENU_CALLBACK,
      'access' => user_access('access nodes'));
}
  return $items;
}

I am not sure exactly what type should be but it shows up and when I click on Assignments it does call my function:

function fhsstadmin_assignments()
{
// return a list of all nodes not assigned to anybody i.e. assigned to nobody
//step 1 - get nobody's uid
$querynobody = "SELECT uid FROM users WHERE name = 'nobody'";
$nobodyobject = db_fetch_object(db_query($querynobody));
$query="SELECT * FROM node WHERE uid = $nobodyobject->uid";
$queryResult=db_query($query);
$options = array();
$string = "";
while ($links = db_fetch_object($queryResult))
{
$options["$links->nid"] = $links->title;
$string .= "$links->nid";
}
$form['fhsstadmin_assignment'] = array(
'#type' => 'radios',
'#title' => t('Choose the section you would like to start with:'),

Software repository extension

Hi,
Do we have a software repository extension for drupal?
or can I customize any other extension to use as such? like a photo gallery? which one do you suggest?.
thanks

Pages

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