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

watchdog module patch to invert filter

I have added a checkbox to the filter selection in the watchdog display under administer > logs.
It inverts the filter selected, ie it shows everything except what has been selected.
It operates on $_SESSION['watchdog_invert_filter'] which is set to 1 if active, 0 otherwise.
Is is inactive if $_SESSION['watchdog_overview_filter'] is set to 'all'
The patch is on Drupal 4.7.5, watchdog.module,v 1.143
It can be downloaded from

Textformat for Guitar tabs and chords

Hi,
i'm a newbie about Drupal and that is my first post here. So, i'm sorry, when i don't see anything here.
I plan to deploy a drupal site for Guitar Tabs and chords.
Drupal is a great software with a good performance. I have only one problem with the text formating.
When i want to put a song with chords inside of drupal, then he don't take the textformat for there chords. Here an example:

These is my wish:

Button & translation & special char

Hi everyone

I'm developing a module including a form (Drupal 5.0). The form is created through
drupal_get_form('my_form', $param);
The referenced function:

Blogger theme

So i know the module blog_theme. But it's not good for me. I need that all users can see the theme, that blogger choose.
So in OG module - that's done very cool.

Any ideas how to copy this code to new module for blogs?

I can not disable a required field in D5?

Hi, I don't want users to be able to change their email in their profile, so I wrote a simple module with this hook:

hook_menu and LOCAL_TASK

In the hook_menu function, I have several settings forms defined as local tasks, and a "normal item" defined right about them:

<?php
$items[] = array(
'path' => 'admin/settings/ldap_integration',
'title' => t('LDAP server settings'),
'callback' => 'drupal_get_form',
'callback arguments' => array('ldap_integration_admin_settings'),
'weight' => 0,
'access'=>user_access('administer site configuration'),
'type' => MENU_NORMAL_ITEM);
$items[] = array(
'path' => 'admin/settings/ldap_integration/server',
'title' => t('LDAP server settings'),
'callback' => 'drupal_get_form',
'callback arguments' => array('ldap_integration_admin_settings'),
'weight' => 0,
'type' => MENU_DEFAULT_LOCAL_TASK);
$items[] = array(
'path' => 'admin/settings/ldap_integration/login_procedure',
'title' => t('Login procedure'),
'callback arguments'=>'drupal_get_form',
'callback arguments' => array('ldap_integration_settings_login_procedure'),
'weight' => 1,
'type' => MENU_LOCAL_TASK);
$items[] = array(
'path' => 'admin/settings/ldap_integration/groups',
'title' => t('Groups and roles'),
'callback'=>'drupal_get_form',
'callback arguments' => array('ldap_integration_settings_groups'),
'weight' => 2,

Pages

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