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

How I make groups as required filed with OG module

How I make groups as required filed in registration module?

I also obtain a warning with og module:
I'm using civicspace 0.8.3rc5, and I installed og 4.6.0, when I post a content, if in 'Audience' field I check Show this post in these groups, I obtain this warning in content display:
warning: Invalid argument supplied for foreach() in /home/eicapo/rete/civicspace/includes/common.inc on line 1470.

processing forms

Hi,

I created a module with simple page with a link to it in the left navigation menu.

Now i need to create another module that admins the data shown to the users in the other module.

frontpage of the module should have links to 3 subpages of the module. Each subpage should have a form filled with data queried from the database that is then submitted to some processing component that updates the data and shows a result page for the update and then a link back to the subpage. pretty simple (C)RU(D) functionality.

How to create global variables from module

Hi,
I have a very stupid question, but I can't find anywhere the answer :)
I want to create a new object in my module like $user wich can be called from any module just when putting global $myobject; This variable must be declared once when user logs.
I am waiting for your help
Thanks
Amine

How to load a table into a selection box?

I am missing something here, but I am not sure what it is. The question is, how do I load a table into a selection box in a form. Here is what I have:

$form['tournament_add']['tourney_league'] = array(
'#type' => 'select',
'#title' => t('League Name'),
'#default_value' => variable_get('poker_leagues', array()),
'#options' => $select,
'#extra' => '',
'multiple' => 1 );

form.inc not compatible with dynamic form (javascript)

I just created a custom form with hook_form() for a custom node module I'm working on. My custom form includes Javascript that loads options in a second select form based on input from the first. This allows for subcategories which is nice for organization.

Problem is that I have to pass empty options to form.inc for the dynamic part of my form since they are filled in by the javascript.

Tagging Question

I have a module I wrote for managing procedures on our site. It has an free-tagging category associated with it for keywords. I'd like to create a new block that shows all the specific free tags in a cloud that are associated with a specific node/id. It should show the editors entries, and (the part I'm stuck on) also provide a simple drop-box that registered users would see where they can add their own keywords. Those keywords don't need to generate new category pages - just need to appear on the page.

Pages

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