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

SQL Table Advice

I have 2 variables (A & B). Multiple A's relate to a single B, and multiple B's relate to single A. Occasionally, I'm going to have to pull a list of B's when given an A, and sometimes, I'll have to pull a list of A's when given a B. I'm trying to figure out the best way to setup the table. I think this way would be the easiest for future queries, but I'm wonding if it will end up being too big when I have a few hundred B's and maybe 1000 A's (meaning there would be up to 1000 rows. What do you guys think?

Email Page for Drupal 4.6?

Has the Email Page module ever been upgraded for use with Drupal 4.6? I would really like to implement this module but haven't been able to find a 4.6 version. Does it even exist?

Justin

Delaying Article Posts

Hello,

I'm brand new to the CMS game. I run a number of sites. Because I'm very busy, I'd like to be able to focus on entire day or two and develop a large body of articles for one site. I'd like for Drupal to add a few articles on a daily basis. The idea is to have a slow and steady site with fresh content added daily. I do not have the time to add one article a day to every site I own. I'd never get anything else done.

Is there a known module/plugin/whatever you call it in Drupal's language that could be easily setup to handle delaying my articles?

Progress SQL/ODBC Module

I created a Module that connects to a progress DB and queries the DB given values from a form on my module. I have a config.inc file which has my Data Source Name information (since I am connecting to the DB through ODBC) and also have queries to be executed by my module. When I call my module functions which execute my queries I get my results but at the bottom of the footer page I keep seeing this error:

"GetRegValue(): Unable to RegQueryValueEx() The system cannot find the file specified."

Profiles Module

Dear Drupallers,
I would like to disable the users from editing their usernames and other specific fields in the profiles module.
Does anyone have any tips for doing this? I would appreciate any help and thanks in advance.

Abe

Extend hook_onload() to accomodate body class, id, and title attributes, instead of just events.

I am trying to make a body_styles.module that will uses a combination methods to derive and insert id and class attributes into every page's body tag. (see "How to generate body class/id attributes for each page" for more details)

My question is, is there a way for a module to insert code into the body tag?

I keep thinking that hook_onload() is the way to go here, but the problem (as I read it in the api) is...

The returned statements will be automatically separated by semicolons, so including them in the returned array is optional.

This prevents me from being able to use it to insert class/id, title attributes. Or is there a better way than hook_onload() for a module to insert code into the body tag? (This is my first module so I'm new to all the api hooks)

The body tag is very special to css designers. The ability to insert class and id hooks gives us unbelievable control over the look of a site, usually mitigating the need for pounds of additional markup throughout the page. And this onload_hook seems like the logical place to get a foothold.

If there isn't a better way to do this, would it be possible (and would people be amenable) to modify/extend hook_onload() in the core to allow us to insert other attributes like id, class, etc?

Pages

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