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

Q: Load flexinode variables into flexinode module?

This may be a stupid question but I'm not sure how to do this.

When I edit my node-flexinode-3.tpl.php file I am able to use variables such as $node->flexinode_5 to display data for my flexinode.

For various reasons, I am now calling flexinode functions in my node-flexinode-3.tpl.php and was wondering how I could get these functions to load these same variables so I can use them in the flexinode.module. I hope this makes sense.

I basically want to use $node->flexinode_5 in my flexinode.module file. Is this possible?

Thanks!

How do I modify "sending email notification upon approval or denial of new members"?

I have 2 steps of approval in my web site using Drupal 4.6 on FreeBSD and MySQL. After registration, new applicant should be approved first by global administrator of the site. Then he/she should be approval by the group leader of each OG which he/she has requested membership upon registration.

Multiple Locations for Content Nodes

We are building out functionality to allow multiple locations associated with a content node. The idea is to make location nodes, changing nothing to the location module, but making a new module which will facilitate in the creation of and association between location nodes to their content nodes.

New Geocoder for Drupal: Step2
New Geocoder for Drupal : Step1We plan to allow node publishers to create and relate location nodes during the node creation process, via the location drop down on the node form. The mockups depict a gmap will make it possible to select a location when multiple locations are found based on the user's initial query. The query is done in one single text field to make things simpler. Based on the results of the address query, the latitude and longitude boxes are populated if there is an exact match (using the geocoder API from google) or when a user clicks on a marker from the gmap when there are multiple results.

The user can then click to add the location, then query again, and add as many locations as needed. If a user wants to delete a location, they can do so, then add another location, etc., all without reloading the page.

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!!

Pages

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