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

hook_insert().

i am trying to make a simple module for my clients
in 4.72 Drupal
so my

<?php
/**
* Implementation of hook_form().
*/
function myclient_form(&$node) {
$form['title'] = array('#type' => 'textfield', '#title' => t('Όνομα πελάτι'), '#required' => TRUE, '#default_value' => $node->title, '#weight' => -5);

$form['afm'] = array(
'#type' => 'textfield',
'#title' => t('ΑΦΜ'),
'#default_value' => $node->afm,
'#size' => 9,
'#maxlength' => 9,
'#required' => FALSE, );

$form['contact'] = array(
'#type' => 'fieldset',
'#title' => t('Στοιχεία Επικοινωνίας '),
'#tree' => TRUE,);

$form['contact']['odos'] = array(
'#type' => 'textfield',
'#title' => t('Οδός & Αριθμός'),
'#default_value' => $node->odos,
'#size' => 40,
'#maxlength' => 100,
'#required' => FALSE, );

$form['contact']['city'] = array(
'#type' => 'textfield',
'#title' => t('Πόλη'),
'#default_value' => $node->city,
'#size' => 40,
'#maxlength' => 100,
'#required' => FALSE, );

$form['contact']['tk'] = array(
'#type' => 'textfield',
'#title' => t('Τ.Κ.'),
'#default_value' => $node->tk,
'#size' => 5,
'#maxlength' => 5,
'#required' => FALSE, );

$form['contact']['tel'] = array(
'#type' => 'textfield',
'#title' => t('Τηλ'),
'#default_value' => $node->tel,

Permission error with RSS feeds

I've been working with MagpieRSS and the flexinode module to feed random images from flickr. The php file that uses MagpieRSS works fine by itself. However, when i incorporate it into drupal, i get this warning message (along with my photos):

warning: mkdir() [function.mkdir]: Permission denied in /.../themes/bluemarine/magpierss/rss_cache.inc on line 34.
warning: fopen(magpie_cache/c25fb6c1d04909b44915bd950e3d5239) [function.fopen]: failed to open stream: No such file or directory in /.../themes/bluemarine/magpierss/rss_cache.inc on line 54.

Make changes to the user.module

I'm putting together a portal site for a small business. So far I have people logging in to http://thesite/?q=user/login page. I have removed the tab create new account. The next thing I need is to remove request new password. Or is there a way to have there current password sent to them.

I know I will have to edit the user.module. I'm just not that familiar with php code.

If anyone knows how to do this I would really appreciate the help. THANKS!!

Developing CCK teasers the right way

Howdy,

looks like one of the most wanted features of Conent Construction Kit (CCK) are teasers (short presentation text of nodes with eventually a picture, showing on the front page).

Urging this feature as many others for couple of my websites, I digged Drupal.org a bit looking for a solution. Unfortunately, teaser functionality seems still on it's first steps and many different approaches can be found (i write below the interesting nodes i found).

drupal vb - Can't get user database from vbulletin

I have been using drupal4.7 and module drupalvb, everything seem works well, however the function "New User's Usergroup:" got problem, it doesn't reconize/query users from vbulletin database. I'm sure that all configure is ok.
And here is the image of error, please see it:
http://img140.imageshack.us/my.php?image=drupalvb2um.jpg

How can i fix this problem to make drupalVB module can work perfectly?
Can drupal and vbulletin can use the same database users?

WANTED: Coder to make a payment module for our merchant -> Innovative Gateway Solutions

Hey guys.

We're looking for someone who can code us a module for Drupal 4.7. Specifically, we need a payment module for our particular merchant, Innovative Gateway Solutions (www.innovativegateway.com). Language is PHP/MySQL. Coder should have knowledge of hooks and preferably previous Drupal coding experience.

Pages

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