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

How to get maintenance screen in 5.0?

I'm using the following code with Drupal 4.7 to get a maintenance screen:

function test_maintenance() {
  drupal_set_title('Test Maintenance');
  $percent = '43.21';
  $msg = 'test test test test';
  print theme('maintenance_page', theme('progress_bar', round($percent, 1), $msg), FALSE);
  return;
}

It looks nice and totally as I expected. But using the same code with Drupal 5.0 is a mess. Maybe I'm missing something obvious, but I cant find a reason why the code works in 4.7 but not in 5.0.

Where is "summary"?

Hello!

I was looking for the "summary.module".

BUT it not updated, and not listed along with all zillions of modules.

I need this one..

Because it list the latest post, of various nodetypes, in separate blocks.

And to my knowledge, there are no other module that does this, but Im not sure .... dat dat dat.

Soo visitor not have to view un updated nodetax, just to see that its un updated..

Im thankful for any comments.. (I for sure, answer more question that I myself ask around here).

ANY COMMENTS ARE WELCOME!

Recipe Module Changes

Hi

I like the recipe module but it needs some changes for my purposes. Can someone help me with this?

I don't want all the ingredients. I just want recipe name, category and a large text box for ingredients and directions. Also I don't want the users to be able to post a recipe, only the administrator.

It would be indexed by category and name and searchable.

Can someone help make these changes? I don't have a clue how?

Thanks
Frank

What are the different ways of submitting a form and finding the values entered?

Here is what I want to do: display a form, allow the user to enter values, then re-display the form with underneath it the results retrieved as a result of the submit (if you look at how search works on drupal.org you'll have a good idea of the kind of thing I want to do).

hook_alter_form by node type?

Hi you all.

I've been searching and searching on the forums trying to find how to determine that the hook_alter_form acts according the node type. One example would be limiting that the menu or path or nodewords alter the editing form with their parameters on each and every node type. I thought it would be easy adding at the very beginning of the function something like:

New WebCalendar module

I've been working on a new module that integrates WebCalendar into Drupal. Its pretty much finished except for help pages etc.

WebCalendar is a great PHP calendar, you can read about all its features here http://webcalendar.sourceforge.net/

Pages

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