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

Making the PM module individually themable

I've been modifying the Private Message (PM) module, adding some functions, fixing a bug or two, and arranging the controls into logical/esthetic groups. The task is nearly complete, but I'm having difficulty understanding how to code with theming in mind.

I've had the notion that the PM feature should be able to be themed apart from the rest of the site--if a site administrator should desire this--but I don't know my way around the Drupal/PHPTemplate setup to know if I'm going about it right, or making a mess. Is the code, as written, already entirely themable in a way of which I'm unaware?

form_checkbox woes

Hello everyone,

I'm working on a module for which I need autoexpirability for content. I want a checkbox to allow users to choose whether or not it should automatically expire or not. The only problem is that I am having trouble with the form_checkbox function. I write my form checkbox in the form post of the node_api like this:

$form .= form_checkbox(t('Expire after end date: '),'expires',$node->boolexpire = 0, $checked=FALSE,$description=NULL, $attributes=NULL,$required=FALSE);

Search

Hi,

I've found out that the Drupal search function aint that great. As problebly many of you guys have noticed also.

Is there any major update for the search function?

Or would it be a clever choice to implement one of the allready well known Open Source Search Engines? ZEBRA or someone like that.. but there is many of them...

Anyways. A search with better indexing and more options would be great.

Form Updater Module

After some frustration trying to map the old form functions to the new array keys for use in the new Drupal 4.7 form API, I decided that there ought to be a way to automate this process.

use html in textfield of poll.module?

hi guys~

I would like to use text link when writing choices in poll. But when i show the choice, html code will transform <, > to &lt; , &gt; .
I've review the poll.module and many other files in includes/, but I can't find where to control this mechanism.

Could someone tell me which files or functions needed to review, to solve my question.

thanks~

how could I extend "user" type

Hi everyone,
I have a problem: I should associate every user on a site with my own group (there are "mygroups" table in a DB), so how can i do that?

The complex way is to create a table with 2 foreigh keys "mygroup_id" and "uid" in it. Is there any other way to extend user type in Drupal?

Pages

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