Table of form rows not displaying many of the fields

I am trying to display a form (as a table of rows). I have the table itself displaying and the "Weights" column showing, but none of the other fields/columns are displaying any content. When I look during debug the form structure seems to be filled with data OK. This is a conversion from a D6 form of the statspro module (which I have never seen, so I cannot be 100% sure that it worked in D6)

<?php

function statspro_path_aggregator_list_form($form) {
$result = db_query('SELECT
n.spaid, n.name, n.weight
FROM {statspro_path_aggregator} n
ORDER BY n.weight,
n.name,
n.spaid');
$form = array('#theme' => 'statspro_path_aggregator_list_form');

$edit = t('Edit');
$delete = t('Delete');
foreach ($result as $row) {
$spaid = (int) $row->spaid;
$element = _statspro_form_field_name('aggregator', $spaid);
$form[$element] = array('#type' => 'fieldset');
$subelement = _statspro_form_field_name('spaid', $spaid);
$form[$element][$subelement] = array(
'#title' => (int) $row->spaid,
'#type' => 'item',
);
$subelement = _statspro_form_field_name('name', $spaid);
$form[$element][$subelement] = array(
'#title' => $row->name,
'#type' => 'item',
);
$subelement = _statspro_form_field_name('weight', $spaid);

Ubercart/Rules - Redirecting registering user back to checkout

I am using the ubercart module. I disabled anonymous checkout, so when the user clicks Checkout he is brought to the login/registration page to log in/register. After logging in, the user is brought back to the checkout page. However, when he is registering for the first time, he is brought back to the Home page.

I tried to use the Rules module to redirect the page after registration. The thing is that I don't know how to specify in Rules the condition to ONLY redirect if the user had JUST BEEN directed to the user page via the checkout page.

Can this be done?

Entityform or Webform or Content Type?

Hi,

I'm not quite clear as to which of the three to use for my particular application: Entityform, Webform, or Content Type?

I need to be able to create/edit/delete forms that user's input saved data. So I have a form that parents need to fill out about their child and have that form saved with data. Then I'll have a view of the forms to display some of the fields.

Views pager using external API as data source

I'm hoping someone can help me out.

Is there any module to add a custom/automatic search keywords and site description (metatag)?

i'm finding a module which can increase the SEO ability of the website. Is there any module to add a custom/automatic search keywords and site description (metatag)?

thanks

Issue Installing Drupal Commerce Stock

I installed commerce_kickstart-7.x-2.1-core, added products, and then installed the Drupal Commerce Stock module only to not be able to keep track of my inventory. I can't see where to administer the new module as it does not show up in the drop-down in Store Settings where I anticipate it to be. Where do I administer it from? Thanks in advance for any and all help.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x