I use a form in a block and when I click a button I see that the page gets reloaded on my form although the executes_submit_callback is set to FALSE. This results in a reload twice when the submit function is executed and this happens on both types; button and submit.
My button is defined normaly as:
$form['ir_name'] = array(
'#type' => 'button',
'#value' => t('Search'), '#executes_submit_callback' => FALSE,
'#submit' => array('ir_form_submit'),
);
How can I prevent this (additional) reload of the page?
Hi
I'm sort of new to Drupal, started with 6 but had conceptual problems, eventually got things done. Now I'm loving 7!
So here's my problem. When I click on "add content" it takes me straight to adding content for a content type I added called "short_bullet_list". It doesn't offer me the option to add the 2 default content types that came with the install of D7 (article and basic page).
I have set-up a new content type which I named "tutorials"
I have all my fields set up under a parent group under this content type. I have 3 main fields in this group. Steps, body, and image. I'm trying to make where a user can create step #1 (as with any tutorial which has steps to follow,) input content for step #1, insert necessary images for step #1 for the tutorial and when finished add step #2 and start all over again until the tutorial is complete.
I'm trying to set up a nice wee list using the Views module on my drupal 7 site with a custom content type. I want to use DIVs to arrange this with CSS so picked the "unformatted" option as opposed to "list" or "table" for the view. However, I can't seem to find any way to stop it displaying the labels for the various fields? I've tried setting the label property within the field settings within the view to blank and but this doesn't seem to change anything... I realise this is alpha software so I'm wondering if this is a bug or if I'm missing something...