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

%d and %s in hooks

When you have something like

function hook_insert($node) {
  db_query("INSERT INTO {mytable} (nid, extra)
    VALUES (%d, '%s')", $node->nid, $node->extra);
} 

Does %d mean number or integer and %s mean string? are there any others? Is there a page in the handbook that explain this?

submitting a form

Hi,

For a school project I have to adjust the chatbox module. Now I'm trying to make a form, but it won't work and I don't know what the problem is. I'm new using Drupal and I've read the handbooks and I've also read the Forms API Quickstart Guide, but I still don't understand what I'm doing wrong. Here's what I have so far:

PhpGedView

Hi all,

I have just tried the PhpGedView module. I have been using PhpGedView for some time and thought I would have a go at integrating it with Drupal. I have a test system setup with the latest Drupal and PhpGedView. I have followed the installation instructions for the module (I am a little hazy on what exactly step 3 of PHPGEDVIEW SETUP refers to).

The module is installed and I can see the Family Tree page. However, when I log into Drupal, it dosnt also log me into PhpGedView. I also can no longer log directly into PhpGedView.

Clean urls - url path setting

First, i created a new page.

Then within that page, i embeded a quicktime stream using the usual code for that matter.

Then, using the url path settings option i renamed the node/5 to blueclip.

It played just fine.

then i said to myself, mmm, the blueclip is part of the Color-Videos block so why not name it color-videos/blueclip instead of simply blueclip. made sense.

But it doesnt play anymore. It stays frozen on the blue "Q" on a white bg of quicktime.

why is that?

A helpdesk module

I need a module with the following features:

Problem with greek characters in easy links module

Hello everyone, i've just installed easy links module in my site and i do have a problem with my characters when i do insert a link. The problem is this one:

ID Κατάσταση Sugested by On Site Name Site Desc.
1 suggested Manos Sat 28 October 2006 21:57 ???? ? ?????????? ??? ????????? ???????? ???????????

So it show me only ?????? where there is Greek Text inputed.

Regards,
Manolis C.

Pages

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