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

Zipcode Database Creation for the Location Database

I am using the location moduke. I downloaded the zip code file and recieve the following error:

SQL-query: 

--
-- United States of America version.
-- America! Yeah!
-- Dumping data for table `zipcodes`
--
INSERT INTO zipcodes
VALUES (

'00210', 'Portsmouth', 'NH', '43.005895', '-71.013202' , -5, 1, 'us'
) 
MySQL said:  

#1146 - Table 'netgri_drupal.zipcodes' doesn't exist

It is obvious to me that I need to create the database. Yet I cannon find a sql file to do the work for me - where is it located? Or do I just need to create a new table and add these values or do Can anyone provide advice on this?

Thanks,
Peter

help pulling node object elements into forward module

Hi.

I'm trying to hack in the node title and body into the email that is sent out with the forward module.

despite including:

$node = node_load($nid);

and

$body .= $node->title;
$body .= $node->body;

into the message nothing is showing up when the email is sent.

Can anyone let me know how to do this?

erik.

Problem with Image module

How can I fixed the problem cause in the source of this:

http://brassliongroup.com/site/?q=image/tid/5

I believe that the problem is that the image is being written into the node.tpl outside of the content container...let me know.

Thank you in advance.

Get the taxonomy terms a node belongs to

Hi,

How would i get the taxonomy terms a node belongs to?
I browsed through the API, but i can't seem to find how it works...
When a node is displayed in a standard way, the taxonomy term gets displayed, but i'm writing my own custom page, and i can't figure out how i could add the taxonomy term together with the node...
I could write SQL to get them out the database, and add them in the additions object in the load hook, but i guess there must be an easier way...

New Module: css.module

Hi everybody!

I just finished my last drupal module called "css.module".

This module adds the possibility to create customized
css (Cascading Style Sheets) for any node making
designers able to design complex css based contents.

When an user (with permissions) create a content, which have the css
option enabled, a textarea let the user define a new stylesheet for the new
node.

When the node is displayed the css is imported into head tag.
Then the browser display the node as defined into the css rules.

move topic in forum

rly noob but forgive me. please tell me how to move one topics from category 1 to 2, i think this is easy and it must be somewhere cause there is an option leave shadow copy right ... so please help... thanks anyway...

Pages

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