Are you using Loopfuse

I would love to hear from anyone using loopfuse about your experience - I have a few questions about the integration and how it works.

thanks in advance,

Tom

Best way to load node into div using AJAX

Hello,

I need to load some content into specific div in asynchronous way. I could print HTML using JS directly, but I would really like to use Drupal CMS, "Article" or maybe custom content type, WYSIWYG editor, template and so on...

After some searching I got some possible ways to do it:

Auto fill email field

Hi everybody!

I need that when a Manager select an User from a drop down menu, the field "email" auto fill with the email from the selected User. the drop down menu is a user reference field, so I guess that somehow I should be able to access the user info....
I will appreciate any help. Thank you.

Form problem

I've looked at the form_example (number 8) for dynamic forms, based on this I've done


$form['line'] = array(
	'#type' => 'fieldset',
      	'#title' => t('Order Items'),
	'#collapsible' => FALSE,
	'#collapsed' => FALSE,
	    );

for ($next = 1; $next <= $linecount; $next++)
{
	$form['line'][$next] = array(
		'#type' => 'fieldset',
		'#title' => t('Line Item: ') . $next,
		'#collapsible' => FALSE,
		'#collapsed' => FALSE,
   		);
	$form['line'][$next]['qty'] = array(
		'#type' => 'textfield',
		'#size' => 3,
		'#default_value' => $form_state['values']['line'][$next]['qty'],
		'#title' => t('Quantity')
	    	);
}			  

However, when the data is submitted $form_state['values']['line'] is empty but there is a $form_state['values']['qty'] containing the value entered on the form.

If I change the form to

$form['line'][$next]['qty-'.$next]

I get

$form_state['values']['qty-1']
$form_state['values']['qty-2']
$form_state['values']['qty-nnn']

rather than

$form_state['values']['line']['qty-1']

Any suggestions on how I can get the data in an array?

I'm wanting a final end state of

$form_state['values']['line'][1]['qty']
$form_state['values']['line'][1]['prod_id']
$form_state['values']['line'][1]['...']

$form_state['values']['line'][2]['qty']
$form_state['values']['line'][2]['prod_id']

Help

How to create a website which conducts online surveys and has a separate dashboard for
registered users and administrator?

How to create a forum moderator for specific containter not a GM

I want to create a forum moderator that will only administer a specific container.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x