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

StdClass question

Hi

I posted a couple of questions about getting a custom node created in an action and found the answer I needed here:

http://drupal.org/node/32597

But I searched the API for "StdClass" and it doesn't show up. Is this a PHP thing or is there something I can look at to totally understand
where StdClass came from?

I'll carry on using it for now but I'd like to understand.

Mark

Add a node of custom type in action call

Hi

I have implemented some actions and when a particular action is activated by a workflow change ("Submit for evaluation") I
want to create a new node of type "evaluation" which has a field "evalstatus" which is set to "0".

I have no idea how to actually do this properly.
I tried doing a call to

node_save(array('type'=>'evaluation'));

This does put a new node into the node table but what is the correct way to make things propagate into my custom table?

module update to cvs:how to wirte form in table

the old code:

$rows[] = array (
  $row->name,
  form_textfield(NULL, "foo_row->id", $row->foo, 10, 10)
);
$rows[] = array (array ('data' =>  form_submit("save") , 'colspan' => '11'));
$pager = theme('pager', NULL, 10, 0, tablesort_pager());
if (!empty ($pager)) {
	$rows[] = array (array ('data' => $pager, 'colspan' => '11'));
}
$output = theme('table', $header, $rows);
return form($output);

how to implement this use new form function?

acidfree test page...

I'm using W2k3, php5, mysql4 and apache2.

I just installed drupal and have everything working fine. I've set all of the general settings (with no errors), added/configured modules etc...

I dl'ed and installed filemanager, attachment, and acidfree.
filemanager installed/configured with no errors
attachment (same)
acidfree (same)

I run the acid free test and everything passes except 7.

System file path not properly set or permissions are not right (must be web writeable). Go to admin/settings to configure it.

upload module

Hi,

Iam a newbie to drupal, just now installed.

I dont know how to use the default upload module in drupal. I have setted the configuration of upload module and enabled them.
How to give a page to upload and hook that to upload functionality? do i need to create a page in html to upload, then how to link the upload button to upload functionality. Or do i need to download some other module.

Need: I have to allow some users to upload images(gif and vsd) into the database or directories. And also allow them to view all the images.

Using drupal and ?modules to create a dating site.

Has anybody seen or done a dating site using drupal and additional modules. I would like to create such using standard CRM software and module to add, chat, photos, and mostimportantly monthly subscription payment. Anybody have a suggestion?
Regards
cvc505

Pages

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