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

Automatic create node with CCK

Hello

next code automatic create node

$node = array('type' => 'place');
$values['title'] = $name;
$values['body'] = $description;
$values['filed_place'] = $place
$values['name'] = "admin";
$s = drupal_execute('place_node_form', $values, $node);

filed_place defined by CCK. Node was created, but field_place not set. What the problem?

vovan

Attempting to add support for "gwbbcode"

Greetings! I am a huge Drupal fan, and I use it to run virtually all of my sites these days. I am a webmaster for a Guild Wars clan site, and we would like to be able to integrate a script that allows users to post their builds. The script, gwbbcode, is intended for phpbb, but has been successfully ported to several other php-based cms's (e.g., word press, joomla, wiki). I am running Drupal 5.x.

The script converts simple text code (defining a GW build) into a great graphical/rollover display. Here is a fantastic example of the script in action:
http://gwiki.fr/wiki/Build:El/A_Eau_D%C3%A9senchanteur

Here is the script itself:
http://gwshack.us/gwbbcode-1.7.3.zip

It seems that integrating this script should be relatively simple. Simply drag-and-drop the script directory onto my site and add a few simple hacks to the drupal script.

These are the steps needed to install the script on phpbb2:
http://gwshack.us/forums/viewtopic.php?t=246

As you can see, there are only a few lines of code needed to "install" the script. The thing is, I am not familiar enough with Drupal's code to know where to include these lines.

Where should I make edits to Drupal to add those few critical lines of code? Somewhere in the templates? Would it be possible to package this into a "module" in some reasonably simple way?

Cancel Account

Good Day,

After working for several months on my Drupal 5 site I notice that a registered user has no ability/option to cancel their account (even here are drupal.org, option is not available).

I have been searching for 4 hours now, this is the only thread I found. http://drupal.org/node/8#comment-151471

First of all I am not a web developer nor a webmaster, I am a hobbyist.

SHAPEFILES, GMAP API

has anyone been able to get shapefiles to work with gmap api within drupal?

Drupal Webmail via Mailbee?

I've been poking at the ideas of a Drupal webmail interface about, and haven't seen too much activity on it. Namely:

Pontomail hasn't been updated for 5.x, so I haven't given it a try yet. Roundcube is functional, though I'm not overly fond of the (albeit, seemingly necessary) iframed node approach.

Can i do this ?

I'm writing a search tool . These are the requirements :
- Users can search by ID or Name.
- If Users search second ID, the information of 2nd ID will be displayed in new tag. This tag is always changed ,and just only show the previous ID searched.
Thanks for your supporting. Please giving me a simple example if you can,which makes everything clear when we have a simple example to show that.

Pages

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