Drupal 6: Passing values to menu items when using drupal_get_form

I need to pass the wildcard at the end of this URL to the function accountant_registry_form which is generating a form being retrieved by drupal_get_form. I want to use the wildcard to populate the form with that registry's data as default values.

Here's the menu item's code:

Start building on 5.5 or wait for 6.0?

I have a client that I'll be building a relatively simple, low traffic, site for. It should essentially be an out of the box install with a new theme and a handful of modules to handle a calendar, an image gallery, and ultimately an online store. There will likely be multiple blogs and password protected content as well. Oh, eventually they would like the site in two languages - English and Japanese.

6.0 RC1 - the server is redirecting the request for this address in a way that will never complete

The first hit to install.php returns this error in Firefox:

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

This problem can sometimes be caused by disabling or refusing to accept cookies.

Archive module

I download the archive module from the Drupal download page. I installed the module in the right directory and enabled it. I works fine for me but I have one little problem. When not logged in, I’m not authorized to access the archive pages.

How can I change the permission level for this module? The module is not listed at the Permissions page in the admin selection.

Drupal 6.0 and Views module

Hello people,

I installed the views module for Drupal 6.0 and enabled it on the modules page. After that nothing is happening. I don’t see a new menu item under Site building.

Can somebody tell me how I use the Views module in Drupal 6.0.

I’m using the Drupal 6.0 RC 1 and Views 6.x-2.x.-dev

Do not understand this SQL output

Using Drupal 6.x

I am trying to make a query that will pull the title and body from the first 5 nodes out of my "News" category. The code is as follows:

$num_nodes = 5;
$i = 0;

$result = db_query_range('SELECT *
FROM node, node_revisions 
WHERE node.status = 1 AND node.type = "news" AND node.vid = node_revisions.vid
ORDER BY node.changed DESC', 0, $num_nodes);

print ">>" . $result. "<<";

I wanted to test this query to see what kind of result its printing. This is what I get.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x