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

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

Easy link to attachments

I just had a look through all the available modules and couldnt find any that did this easliy(i could have missed it, but i did look through them all)

Was just wondering if there was a module about that let you easily link to the desired attached content.

Moderate Comments like Digg

Hello, instead of having that button you have to press to moderate comments, I'm looking for a solution like Digg.com. It shows the drop down with each comment, and after choosing one of it's choices, the vote is entered without the need for page reload, and remains so it can be changed. My guess is that it is some sort of ajax solution. Thanks for any help!

Pages

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