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

how to link one content type with other

i am using CCK to create the content type.

i have created two content type,
(1) request
(2) response

now i want to perform following task
(1) one user cas post a request using "request"
(2) another can give a response/reply to the posted request-"request".
i.e. on the post there is comment

i need same type of solution but it would be between two different content types.
so i can track that on one request how much response i have got.and on those response on which i have accepted and rejected.

I need some help.. i cant get the value of my node id..

Hi im trying to make my own module and below is my code. When i insert into the database everything is there except for nid and vid.. id appreciate any help from you guys.. thanks..

module code:

<?php
// $Id$

/**
* @file
* Provides a "daily report" node type.
*/

/**
* Implementation of hook_node_info().
*/
//function dailyreport_node_info() {
// return array(
// 'dailyreport' => array(
// 'name' => t('Daily Report'), // Required.
// 'module' => 'dailyreport', // Required.
// 'description' => t('Submit or view daily reports'), // Required.
// 'has_title' => TRUE,
// 'title_label' => t('Module Name')
// )
// );
//}

/**
* Implementation of hook_menu().
*/
function dailyreport_menu($may_cache) {
$items = array();

// Do not cache this menu item during the development of this module.
if (!$may_cache) {
$items[] = array(
'path' => 'dailyreport',
'title' => t('Daily Reports'),
'callback' => 'dailyreport_front',
'access' => user_access('submit report'),
);
$items[] = array(
'path' => 'dailyreport/submit',
'title' => t('Submit Report'),
'callback' => 'submitform_page',
//'callback arguments' => array('dailyreport_entry_form'),
'access' => user_access('submit report'),
);
$items[] = array(
'path' => 'dailyreport/view',

Flash, AMFPHP, Webform, and custom service

Hi,
I'm pretty new to Drupal, and I've got a Flash movie communicating with Drupal via AMFPHP.
I'm using the Webform module, and I'd like to offer users a Flash interface for filling out the webform if they have the Flash plugin.

That means writing a Webform service.

Update problem for node of Custom Content type

Hi

I have developed my own custom content type with custom table , it is working fine when i add or delete node of this custom content type , but when i update the node of custom content type custom table is updated but node table does not updated and node disappears even it is exist in node table and content list, it does not display as page or node.

Thanks

help me to Orkut like scrapbook

i want to create Orkut like scrapbook. i studied how to create modules and nodes from Drupal Handbook but still i don't know how html code is generated plz help me!

files/images/temp/ is not properly configured.

/home/e-smith/files/ibays/Primary/html/drupal/files/images/import/Camping2007/100_1037.jpg could not be uploaded, because the destination files/images/temp/100_1037.jpg is not properly configured.

the directory files/images/temp exists and is drwxrwxrwxz for now and still doesn't work...?

Pages

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