Insert workflow transition

I would like to create a workflow transaction using php.

Upgrade 7.12 completed but system still reports 7.12 is installed!

This one really has me stumped. I have done minor version updates before without any problem but this one seems to have gone a bit wierd. I have followed the update instructions and checked all file versions are definitely the 7.14 ones, however the site still claims to be running 7.12 and keeps telling me I need to upgrade.

Any thoughts anyone? The site seems to be working just fine.

AJAX Multiple Image upload

I'm working on a module that would allow a user to choose how many pictures they want to upload (1-6). AJAX will then display the appropriate amount of image upload forms. I've got the AJAX working and the first upload box works but any additional upload boxes error out with the same message.

Notice: Undefined index: image_upload(Number of box) in file_ajax_upload() (line 271 of G:\content\test\il\modules\file\file.module).
Notice: Undefined index: #suffix in file_ajax_upload() (line 280 of G:\content\test\il\modules\file\file.module).

The code seems sound to me but I can't find the problem.

$form['howmany_images'] = array(
'#title' => t('How many images do you want to upload?'),
'#type' => 'select',
'#options' => array(1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6),
'#ajax' => array(
'callback' => 'add_inst_image_callback',
'wrapper' => 'checkboxes-div',
'method' => 'replace',
'effect' => 'fade',
),

);
$form['checkboxes_fieldset'] = array(
'#prefix' => '

',
'#suffix' => '

',
'#type' => 'fieldset',
);

$_SESSION['num_checkboxes'] = !empty($form_state['values']['howmany_images']) ? $form_state['values']['howmany_images'] : 1;
for ($i=1; $i<=$_SESSION['num_checkboxes']; $i++) {
$form['checkboxes_fieldset']["image_upload$i"] = array(

how many fields can I use

I have a site where I need to create a number of content types that will function as questionnaires. I'm not using webform because I need to use some of the fields for entity reference and views reasons. Some of these content types will have many fields. There is one that needs to have about 80 fields. Another needs about 25 fields. Another has 12 fields. One has 26. And one more needs 30 fields. the user will fill these out like questionnaires.

Omega theme how to add img

Hi,
I just started with Omega, very promising, but in other themes I used to add custom div with img into page.tpl.php. Is any way I can achieve this in Omega, there is no page.tpl, only in alpha, but it is very rudimentary. If anyone can point me to any documentation I will be thankful. I am still in learning phase !
Have a nice day

Tom

how best to alter a field's label?

I am trying to sort out how to best alter the label of a field when viewing the node. I need to add custom text to the label.

This is already a custom field module so possibly there is something that extends the label display formatters just like extending the value display formatters? so besides Above and Inline i could have "Inline +".

or possibly a hook which lets me alter?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x