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

Accessing $node fields from a block

Hi everybody..

is there a smarter way to access $node fields from a block
than this?

if(arg(0)=='node' && is_numeric(arg(1))) {
    if($node = node_load(arg(1))) {
....
  }
}

The problem is that using this while browsing a node page
will duplicate each query which load the node fields.
This is not needed becouse them are already been loaded once.

Does someone has ideas?

Thanks

Fabio

Map APIs: Google vs. Yahoo vs. ?

I'm trying to decide which route to go for a website that needs to identify and display areas on a map in which given coordinates are located. The coordinates correspond to a location (street address). The areas are custom boundaries. So, the location would be displayed and then the boundaries of the area would be displayed with a location to get more information on the area that contains the location.

What have been people's experiences with Google, Yahoo, and other mapping systems and Drupal modules? What do you think might fit this project best?

Thanks.

Problem with feed RSS (aggregator2 module)

The standart RSS module works fine, but aggregator2 with the same link get error:

Failed to parse RSS feed ...

Can you give me some hints?

Sorry for poor English :)

MIME type warning

what do this warning means?

For /tmp/phpqpzpOP the system thinks its MIME type is application/x-zip while the user has given application/x-zip-compressed for MIME type

E-commerce: products page doesn't list products

Hi,

I am trying to set up the e-commerce modules (better: the whole set). I would love to see more docu on this! But that aside: my problem is for some reason the standard product page isn't listing the added products.

Anyone got an idea how this can happen?

Cheers,

Wubbo

flexinode to hold metadata

The first time I installed fexinode, I wondered if it would allow to add fields to existing content types (book pages for example).
Unfortunately, though it surprises me, it seems to lack this feature.

Am I missing something?

I wonder now if it is possible to exend flexinode, for binding "flexible" metadata to all nodes. It should be a sort of flexinode+nodeapi.
But I'm quite new to Drupal. Does someone has hints about this? Is there someone experiencing the same problems?

Thank you. Ciao. Mic

Pages

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