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

Problem arising while uploading files

when i am creating a destination directory for the files to store after uploading,it is displaying error like this:"The directory does not exist".

when i am trying to upload image in my account information,its displaying error message like this:

* The selected file c:/wamp/www/drupal-5.1/drupal-5.1/temp\tmp13C.tmp could not be uploaded, because the destination is not properly configured.
* Failed to upload the picture image; the C:\wamp\www\drupal-5.1\drupal-5.1\pictures directory doesn't exist.

Please help me in sorting out this issue

using own function instead of theme_node

I have own node called mynode. When I show it I use functions mynode_view and mynode_prepare. But what should I do to "overwrite" function theme_node to display node my way? I tried using theme_mynode but it didn't work.

how to validate a block configuration form

Hi

Is it possible to perform validation on a modules configuration form shown
in Administer » Site building » Blocks -> configure pages.

hock_block provides "configure" and "save" for the configuration form, but there is no validate option for it.

I can validate a module configuration form if I put it in the admin/settings path, but I would prefer to set the options for my new blocks in the Blocks -> configure pages.

Thanks

Nick

Table view, links open in a new window

Having a heck of a time to open the links generated for a specific table view to open in a new window. This solution, is a bit of a hack, would like to find out a more elegant solution than below?

Created a new function 'views_handler_field_nodelinknew' very similar to 'views_handler_field_nodelink' except for the 'target="blank"' part in modules/views/modules/views_node.inc

Index and search my own content

I need to index records in a table.

My table does not have a node type (it is not a node).

For the following content:

record 1: The quick brown fox jumps over the lazy dog
record 2: The quick brown fox jumps over the lazy cat

After indexed, when user search "jump dog ", he gets record 1 back.
After indexed, when user search "jump", he gets record 1 and 2 back.

The search must be case insensitive.

Is there a module ready for doing this?

Thanks for any help.

JC

Question about actions.module

Hi all,

How do I specify to some module to execute my action that I made with actions.module ? I want to send email to a user that is the author of a node when somebody posts a comment to his node.

Is it doable?

Thanks,

k.

Pages

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