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

Problem with nodeapi hook

Hello,

within my module 'node_controll' I have the following function:

<?php
function node_controll_nodeapi(&$node, $op, $teaser) {
  switch ($op) {
    case 'view':
      $node->body = theme('vip_body', $node);
  }
  return;
} 

function theme_vip_body($node) {
  return $node->teaser;
}

?>

Shouldn`t this change all nodes 'bodys' from their original to only the teaser? If i visit ?q=node/1 I allways see the full (normal) body.

Any hints?

Sincerally, l8a

GMap will not display in Module Enable/Config 5x

I did a CVS update to GMap this evening, uploaded it to my test site, still doesn't appear in my Module administration.

I attempted to follow the comments in the "More Info" link and see where various patches were proposed.

I AM NOT a programmer and am working from a Windows work machine and transferring the files to an Apache host.

GMap, Location and KML were among the primary reasons I selected Drupal to re-develop my site.

Would someone please assist or advise if/when/how I can enable GMap?

Thank you in advance for your assistance.

Joel

Setting the value of a select

I've create a module that uses nodeapi to add a select dropdown to the story edit form. I can select "yes" to have the node saved as a template. I have a database table that stores nid / template value pairs, so that if I choose "yes" to save as a template, then a record is created in the database table as so: nid/1. Then I use the node clone module to clone the template node, and create a new editable node. The problem is, this new node now has it's "save as template" select dropdown set to "yes". How can I cause the select dropdown to be reset to "no" when the node is cloned?

Create Links on "Triggers"

Hi people,
I would like to know if there is any module for Drupal 5.x which can create links within Nodes if a "trigger" is found. What I mean by trigger is a admin specified text.
For example, I determine that I want ANY reference of the word "Help" to automatically transform into a link to a certain pre-defined page.

I hope I made myself clear.

Thanks in advance!

Radio station links database module

Hi

I am looking for some guys who can help with developing a module for listing user submitted radiostation listener urls, like shoutcast.com or http://www.live365.com do it.

The module could a modification of the following modules: radio.module, station.module, audio.module, playlist.module

Each listener url must have the following fields:

Is there a CCK module that emulates the profile?

Is there a CCK module that emulates the basic profile?

I am trying to use nodeprofiles to organise the profiles and want to have a CCK field that emulates the basic profile fields in order to update them when the user makes changes.

I thought of combining the usernode with nodeprofile and pageroutes but the usernode does not appear to be editable.

Pages

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