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

I need to upload a photo to modules directory what should i do?

I need to upload a photo to modules directory what should i do?
and i also want to display the same file.

custom node search revisted

I've searched extensively and found a variety of references to this or that, but what's the definitive way to implement a custom node search?

First, some quick background. I have created a custom node module, which consists of a handful of fields. Everything works as it should.

I now need to introduce a custom search form with search results limited to the one specific node type. The form will appear in a block and be universally accessible throughout the site. This is one of the core features of the site.

Debug module files within Drupal using DBG/eclipse

Hi,
currently I develop my own module using Eclipse in combination with PHPeclipse.
However, until now I wasn't able to debug my own .module file using DBG in the drupal framework. It worked for a simple test PHP page so the settings were, in that case, somewhat correct.
Can anybody give some advice how to debug my own .module file within the drupal framework?

Adding fields to story type

I've got a site working using the story content type, and the client would like one additional field added. Now in Drupal 4.7 my understanding was that I would need to create a new node type based on story. Either in a module or using CCK. However in Drupal 5.0 the Story description in Content Types indicates that modules can add fields to the story type.

Set 404 error

Just one simple question: How can I trigger a 404 error? I need to dynamically decide whether a page exists in that case or not (the autocomplete script has access to that page, all other requests should be stopped with a 404. No 403, I don't want to make people curious).

Help me put a view into the menu

I'm using the publishing module, somewhat hacked up to work with 5.x. In it there is a filetered view which I have renamed "ops/mine" that shows the a summary reports of workflows which belong to the current user -- it works fine if I type it in as a URL.

I'd like to put this view in the menu system, but I can't seem to figure out how to direct the menu callback to return the view. Here's my modified code:

Pages

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