Hope I post this in the right place. currently, I am using mambo/Joomla and WP on various sites and evaluating Drupal for future use and maybe porting older sites.
So far so good!
I am particularly interested in Organic Groups functionality. I am playing around with it now on a test site, and one thing that I don't see is a way to limit the number of groups a user may create, probably based on the user's role (but other ways to do it would be OK too).
I've run into som problems with the forms api which I need som help solving. I want to create a table where each row is a form with radio buttons and the table should also be sortable by column. You can see a screenshot here. The page renders ok now but I cannot submit the data. The submit always uses the old database values (I guess the reason for this is my hack in the theme function). It also looks like there is only one form on the page. Not one per row as I think would be a cleaner solution. In the future I want to remove the submit button and use some javascript to submit each row if the user changes the value of the radio buttons.
This is what I have tried so far. It's really ugly...:
This is the main part of the function called from drupal_get_form()
<?php
// I want six columns
$options = array('', '', '', '', '', '');
// first fetch the objects
while ($data = db_fetch_object($result)) {
// Build the form elements
$form[$data->nid]['title'] = array('#value' => l($data->title, "node/" . $data->nid));
// Is this the right way to group the radio buttons?
$form[$data->nid]['foo'.$data->nid] = array('#type' => 'radios', '#default_value' => $default, '#options' => $options);
$form[$data->nid]['submit'] = array('#type' => 'submit', '#value' => t('Save'));
}
Jow, I library-module will gladly have for in drupal.. Can you can help me here with? What it must contain: a form for something to add to the library form contains: Name soft/driver type of software/driver which linux ox version no. description the biobliotheek: opgedeelt must become in several parts Drivers/software and then types still several software: Communication.. all those types if you click on a name of a software on drupal must you that description get and the possibility have to give up comment there.. Please me further to help with I am newbie!
Picked up on a post that another user (cinquetooty) had a modified WorldPay module that worked with SECPay. I contacted him and he gratefully supplied the modified module. I had problems installing it, realised that I needed secpay.info file for it to be listed and after successfully getting it listed and enabled I found there to be no settings page. It was then that I found that it had been set up for 4.7
So now I'm back to the start although I know that the WorldPay module can be modified to support SECPay.