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

Local task not displyed

Hi all,

I have a node module 'todo'. I want to add local task for this module.I put following code

function todo_menu($may_cache)
{
$items[] = array('path' => 'search/amazon', 'title' => t('search'),
'access' => 1,
'type' => MENU_LOCAL_TASK);

return $items;
}

I still do not get menu tab on this module.
Plz help!!!!

Good or bad: "$node->body .= $html;" in view hook

Hi all,

The end of my node_view hook looks like this:

$node->body .= $html;

watchdog('info', 'after all. html: '.htmlentities($node->body));
return $node;
}

On my local machine this works fine and the html in the node is rendered correctly. On my web host on the other hand, GoDadday, nothing appears even when viewed as admin. The watchdog message does print out the html so it does get set. So the question is: is $node->body .= $html; a bad way of doing things and could that be the source of the problem?

Thanks,

Sven

SOAP Server for services module

Hello Drupal Developers,

I'm building a site for a client that requires a SOAP interface for web-services. I've searched high and low so the forums is my next stop...

Does anyone know if there is a SOAP server plugin for the Services module (yet)? Or has anyone built one but not released it to the community?

I'd rather not dig through PECL docs if it can be helped,. Also, having a consistant interface that I can build on would be very nice ...

So, am I the first person needing SOAP? :-)

James.

MimeMail with attachments

Hi,

I'm currently using MimeMail to send HTML emails. I'd like to also use it to send text emails with attachments. I have files on my web server that i want to attach & send to users. These files are not all going to have been added with the Upload module. The mimemail function accepts as a parameter an array of attachments but i can't find documentation on what the array should look like. I've tried an araay of filenames, i've tried buiding objects and adding accessed properties (like filepath, filename), nothing seems to work.

Problems adding release from CVS

I already posted this in the Drupal.org infrastructure forum, but I'll try reposting it, because my problem is still unsolved...

Help configuring Google CSE search.

I have the block enable on site and have put the key in. When I click the search button it just takes me to the front page and doesn't show anything but the front page. Could someone give me some tips on how to set this block up? I would like to to be set up like this site http://www.techsoup-global.org/search/coop?cx=007015116794503764595%3Aju...

Thanks,

Pages

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