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

Voting API

Over the past several years, quite a few 'voting' solutions have passed through the drupal forums and CVS. Most are specific to nodes, and many are tightly integrated with a particular set of UI widgets (flash animations, etc).

Retrieve the actual node id from the _block hook

Hi,

as a newbie maybe I'm asking something crazy, but ... these are my two questions :

It's possible to retrieve the actual node id from the _block hook ?
It's possible to output a page on right or left block?

Thank's for your patience.

Marcello

how to pre-select a term on node's form?

I have a module (tagnode) and I wish to make a link to the create node form, in which a taxonomy term is pre-selected. E.g. a user clicks "create new story for topic Iraq". She is directed to the form to create new story node, with the taxonomy term "Iraq" pre-selected.

Is there a way to do this?
Thanks!
dado

unable to send mail. contact the site admin.

When I set up the drupal site. email worked fine. Registration was working. Now you can't get an email received for a new account or to reset a password.

the log shows an issue with user.module on line 333. Below is the text. The last line is #333:

return mail(
$mail,
mime_header_encode($subject),
str_replace("\r", '', $message),
"MIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8; format=flowed\nContent-transfer-encoding: 8Bit\n" . $header
);

an ebay module?

Is anyone aware of an implementation of ebay in a drupal site, or of plans to create an ebay module in the same vein as the amazon module?

On a side note, I tried searching for "ebay xml" but the results were ebay OR xml which is absolutely useless! :)
Is there a way to do a boolean AND search on these forums?

XML-filter and no cache

I'm new to Drupal but after only two days I start to like it a lot!

Drupal version: 4.6
Web-server: Apache

I'm working on a small filter module that uses XML as input language and translates to HTML using XSLT. Thanks to the exelent filter_example.module:

http://drupaldocs.org/api/4.6/file/contributions/docs/developer/examples...

, it was quite easy to create my filter.

My problem is that I would like to be able to change the filter (that is change the xsl style sheet that the filter uses) and these changes should affect all nodes that uses the filter.

I tried to do:

   case 'no cache':
      return TRUE; 

, but this doesn't give me the desired behaviour. If I change the xsl style sheet, only nodes created after the changes will be affected. Any suggestions to what I'm doing wrong?

I've also noticed, that if I click on the preview button without changing the Body content, the filter will not be applied but this is probalby a desired feature.

Kind regards,

~ karl

Pages

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