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

Contents of new module!

Hi,

I have created a new module. I want that when the user come on this module. It should display a menu of links like this...
1 aaaaaaaaaaaa
2 bbbbbbbbbbbb
3 cccccccccccc
4 ...................
5 ...................
6 ...................
and so on..

Custom search/filtering page

Hello !

I could not find any relevant doc about my problem, therefore I ask you. Please help!

So, I created a new node type "Subsidy", which has some custom fields, stored in the database.
I would like to create a new page, which has a form with filtering options based on custom fields (i.e: "location", etc.), and finally a SUBMIT button. After sumitting, I expect relevant results to appear on a new page.

Please give me info, how to start implementing this.

Thank you in advance,

Zoltán

Google Search module implementation

Hi all,

i'm trying to get the google search module to work correctly on my site, but so far i'm seeing the input field for the search, and the submit btn.
When i click it howerver, i do not get redirected to the (possible) results page, but to the google.com webpage...

Does anyone know how to display your search results in your own site, and the settings of this module in general?

Thx

How to replicate a module

This might have an easy answer but I wanted to check before I messed up my Drupal instalation. My Question is ... Can I install multiple instances of the same Module? And if so what changes do I need to make?

I've installed the quotes Module that I use for quotes but I've also want to use the MOudule for something else on my site. I was thinking of simply renaming the module as Quotes2 then uploading it in the usual way. Would this work without disrupting the settings on my first Quotes module instalation?

Steve

Poll MOdule Problem

Poll Module Problem
I ma facing problem in Poll Module for our site........
Poll vote values are not inserting in DB
i.e its not taking poll option values plz help me

My issue with hook_form when creating my own module

so here is my hook form for a module i'm making with a node called conferences, when i call http://mysite.com/node/add/conferences i get the form to display and can add the node. However, after i have submitted the node and go to edit i get the following error:

warning: array_merge_recursive() [function.array-merge-recursive]: Argument #2 is not an array in /path/to/drupal/install/modules/node.module on line 1665.

i've done some searching and as far as i can tell this is the hook that should be called, however it doesn't get called or for some reason no array goes back to the calling function and therefore i get this warning. I'm fairly new to drupal, even newer to writing my own module. I'd appreciate any help, or anyone that might be able to point me in the right direction. If you need to know anything else about my code let me know.


function conferences_form(&$node, &$param)
{
//Conference name / Journal Name
$form['title'] = array(
'#type' => 'textfield',
'#title' => t('conference/journal name'),
'#required' => TRUE,
'#defualt_value' => $node->title,
'#weight' => -5,
'#description' => t('Full name of conference or journal')
);

//conference short name
$form['shortname'] = array(

Pages

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