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

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,

Combine OG invite user and Civicrm Profile Search

Hey folks,

I'm working on a local modification to og.module that would combine the two functions as described in the subject. Basically, when inviting users, it's a huge pain to have to find each of their emails in the CiviCrm search page, and basically write them down, to use with the OG Invite page.

shipcalc: what is the diff between the four product measurements?

Ok, I give. Can someone provide a 3D diagram of what exactly each of the following mean for USPS postage? The only measurements I can find at USPS are length and girth.

Product width:

Product Height:

Product length:

Product depth:

Views exposed filters or how to display categorized dynamic content

Hello fellow Drupal developers,

I am currently working on a site that is mostly made of static hierarchical pages. I am using the book module, and it all works beautifully.

There are two pages that display dynamic content:
- a news page
- a customer list page

For the news page, I have created a book page, and I am using the insert_view module. I have created a view that displays the list of news, and inside the news page I put [view:news] - which display the relevant view (a list of links to each news node).

For the customer list page, I am doing the same, but the difference is that the content is categorized by "industry" (I use taxonomy). So I am using the view exposed filter. It works fine, but the display is quite ugly, and not really customizable. Ideally, I would prefer checkboxes rather than the select box. However it is not feasable with exposed filters.

So, I have two questions:

1 - Does anyone know of a way to make the exposed filter more customizable? I had a look at the code, but it's not very flexible for this purpose.

2 - Does anyone know what I could use instead the views exposed filter? Basically all I want is to have a "customer list" page where you can search by industrie. So you would have a checkboxe for each industry, and on submit it would display the list of customers attached to the selected taxonomy term(s) under the search.

Pages

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