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

an inbox!!!

hi all..we are designing a portal for our college...there is a requirement of a separate inbox like stuff for every user...i.e., a separate space for their messages...we have installed drupal 5.x...how do we go with this inbox stuff..any ways?

Weight Tracking Module issues.

I am creating a simple module that will track my body weight.

I created a table called weight. with three fields. id, date, weight.
I have the module created to the point where I can see the data in a block and on a page.

Here is where I am getting lost.

Data entry, right now i am using phpmyadmin to enter the data for testing. I am not sure the best way to handle this.

node content creation to mulitple sites

Hey!

I'm currently working on developing a website for one of the Internet2 Initiatives, specifically the K20 Initiative. After much debate, we've decided to go with using Drupal as the platform for which to base our website upon. The K20 website will feature a "national" site, along with many subsites, or what we call "regions". For example, the national site could encompass the entire USA, while the regional sites could be various states around the US. We want each region to be free to create their own branding, styling, and look and feel. As such, we decided on using the multi-site feature in Drupal.

We currently have the multi-site functionality working, with users (and their information) shared across all sites, while content (nodes) are kept separate. We're now tackling on getting our project functionality implemented. We want projects to remain separate, yet connected to each regional and the national site (in our implementation design, the national site is merely another region). For example, say we had a project X, we could create that project under the region WA state, or project Y under the CA state region.

We initially went with creating a k20project module, extending the node interface to create a k20project node type, using an additional table to store extra information that is a part of a k20project node. This allowed us to visit the national site, and create projects under the national site, or to visit the WA region and create projects under this region.

Webform and Forms running totals

Hey there

I have been plugging away with webform and the forms/survey modules which are both great but I need something inbetween the two. Webform has more of the features I am looking for but forms allows value substitution below is kinda what I am after:

I am generating a questionnaire with a number of questions with yes, no, maybe type answers. Each answer needs to have a numeric equivalent ie

Yes(2) No(0) maybe(1)
or
Joe(1) Jane(1) David(1) None(0)

Simplenews and CiviCRM

Hello folks,

I'm in the middle of setting up a newsletter environment, and I'm finding CiviMail rediculously complicated to set up. Yet, I would like to be able to easily send to a particular CiviCRM group, and enjoy all the benefits of the signups. My site signs people up for the newsletter by putting them in a certain group.

Module Development Help

I am trying to create a module that will be used to manage a listing of stores. Currently, I am able to add and list the stores out just fine. When the stores are listed out, the necessary information is displayed with an edit link. When I click on the edit link, I am taken back to the add stores form, instead of seeing the text 'Edit Stores Here'. Anybody see what it is I'm doing wrong. Any help would be greatly appreciated.

<?php
// $Id: stores.module,v 1.0 2006/11/16 15:59:37 Alan Exp $

function stores_help($section) {
switch ($section) {
case 'admin/modules#description':
return t('Manage Stores');
case 'admin/settings/stores':
return t('Gives administrators the ability to manage store listings');
}
}

function stores_access($op, $node) {
if ($op == 'view' && ( user_access('view Stores') || user_access('administer Stores') ) )
return TRUE;
}

function stores_perm() {
return array('administer Stores', 'view Stores');
}

function stores_menu($may_cache){
$items = array();

if ($may_cache) {
$items[] = array(
'path' => 'admin/stores',
'title' => t('Stores'),
'callback' => 'stores_administration',
'access' => user_access('administer Stores')
);
$items[] = array(
'path' => 'admin/stores/add',
'title' => t('add stores'),
'callback' => 'stores_administration',
'access' => user_access('administer Stores'),

Pages

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