Drupal Modules

Competition - no field for Period To date

Hi,
I've just installed Competition module and it seemd to be working OK, but I'm stuck on the first step.
When trying to Submit Competition, I get message:
"Some value must be entered in the To date."
But, the fields for Period do not exist. There is just following text:
Period From date: *
Period To date:
And no input fields.
Thanks in advance

How to get at CCK select lists ['view']

a select list holds a list of professions (eg nurse, secretary,etc); i'm developing a module which needs to access the actual profession name.
eg pseudocode:
$node = node_load($nid);foreach ($node->my_selectlist_field as $data)$view = $data['view']
but ['view'] is of course unavailable on node_load. $data['value'] doesnt help. how exactly do i access the actual profession name, and not its key position in the select list?

Sending HTML emails in Drupal 7

Looks like this update makes it impossible to send HTML formatted emails in Drupal 7:
http://drupal.org/node/224333#email-html
Anyone know how to get around that? I need to have my Forward module send HTML emails, but can't figure it out - they all get converted to plain text.

Sending Mass Emails.. Best approach?

Is it best to use software such as CampaignMonitor or MailChimp?
---
I am currently setting up an email script which the client is suggesting he might be sending up to 1000 emails with.
Is it simple or possible to set up email tracking to confirm email was received, or delayed? Or is this something best left to professional dedicated software.
I have also noticed when using the php mail(); that emails are delayed anywhere up to 2 hours. Some emails are sent instantly, some emails take a while to arrive. Is that a limitation of mail(); or possibly the servers that I am currently using, the mail is bouncing off?

hook_nodeapi() called twice for one node

I am using hook_nodeapi() to send an email notification for new content of a certain type:
<?phpfunction my_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {  if ($op == 'insert' && ($node->type == 'blog') && $node->field_featured[0]['value'] == 'Top-Story' && $node->og_public == 1) {    ...    $body = "Hello, there is new content:\n";    $body.= url('node/' . $node->nid, array('absolute' => TRUE)) . "\n\n";    ...    watchdog(      'my',       'Sent %count notifications (%failed failed) for new %type (nid: %nid, title: "%title"). Finished.',       array('%count' => $count, '%failed' => $failed, '%type' => $node->type, '%nid' => $node->nid, '%title' => $title),       WATCHDOG_NOTICE,      l(t('view node'), "node/$node->nid")    );  }?>

help.: how to Exposed sort for view?

I need create Views and exposed sort
is drop down
1. A-Z
2. Z-A
how to create view ?
help me please.

Views test sites or test data

Hi views developers or people who've worked on it before,
I'm working on adding simple some functionality to Views and the views_groups modules.
I don't quite have a patch ready yet.
However I was wondering if there are any pre-existing sites that I can use for testing my changes before I submit them as a patch.
eg a saved drupal 6 database with a range of data and preconfigured views, which I can load into a test site,
or exported content types, and views which I can load
and/or any existing test procedures or unit tests that you've got?
cheers<

Views 2 Attachments are not displayed for authenticated users

I am puzzled by this problem: I have created many views using Views 2 and Table Wizard. The views each consist of a parent display (page) and two views attachments. When I preview the views and also when I navigate to the URLs that were assigned—by using links, menu items that were created, or by typing the locations into browser—the result is perfectly displayed as I created it: attachment #1, then a header and attachment #2, and the parent view and its footer. However, an authenticated user is unable to see the attachment views, so all they get is a parent view (with a pager) and the footer… no attachments are displayed to them. After much seeking, I cannot figure out the cause. Below is a sample of the Views export. I appreciate any feedback, advice, or encouragement that anyone can offer, thanks.

edit contact module

Hi every one! I am new to drupal and want to update contact module . I have written a module name contact1 as below
<?php
// $Id$
/**
* @file
* practice to build form
*/
/**
* Implimentation of hook_menue().
*/
function contact_menu()
{
$items['contact1'] = array(
'title' => 'Contact',
'page callback' => 'contact_page',
'access argument' => array('access content'),
'type'=>MENU_CALL_BACK,
'access callback' => TRUE,
);
return $items;

Massive import

Hello,
I'm using drupal: 6.19,
together with multiple module's like node import, taxonomy manager, cck, views.
For now i got a massive import (about 150000 records) which just won't import not even just 1 record at a time.
I created a content-type with multiple fields, like vocabularies and all. 1 specific node has 3 vocabularies selected from 3 different vocabulary lists. These lists are each about 25000 items long. If i just want to create a new item record it's going allright. But as soon as i want to import an item with node-import module. It gives me a wsod, in first it gave an "memory allocation error" this problem i already resolved. It has about 1Gb memory for the script. I'm working on a localhost for now. Just to make sure all the imports are done allright, then i can place them online with a program like sqlmanager. This is not a problem.

Syndicate content

Advertising