Change Header with a back ground image and header length

I'm trying to change header with a back ground image and change length of header but leave the content area the same.

I want the header to be covered completely  by the background image .

Ive looked for div but the changes don't seem to work.

This is for the zircon theme for Drupal 7. http://www.savingsolutions.com.au/

Field takes value from other node

I have a custom content type, document, with several fields, one of which is a title in the original language, and one is the title -if needed- translated to English. Both editing and viewing of documents is done using panel pages. Titles are automatically generated from the English title.

At some point, due to some UI changes I made, some nodes were not published. I reverted some UI changes and I also changed some other field to required. Then, I did batch publish several nodes at once from the content view.

D7 - How to insert HTML into Webforms email submission results

Hello,

How can I insert HTML into a webform submission email?

The token system strips/converts all HTML to text.

function mymodule_form_alter(&$form, &$form_state, $form_id) {
if ($form_id == 'webform_client_form_whatever') {
$form['submitted']['whatever']['#value'] = "<strong>dynamic html is here</strong>";

However, in the email, the %email_values and %value[whatever], %email[whatever] etc. tokens are all not HTML - the HTML has been escaped.

How to join table on hook_views_data() ?

i have "example table" table. it's only have nid row, i want to join to node table so this is what i expected:

Join
exampletable.nid node.title
1 example title
2 another example title

how to make it works?

permission not showing up in admin


function redeem_permission() {
  return array(
    'access redeem content' => array(
      'title' => t('redeem via ajax'),
    )
  );
}

function redeem_menu() {
	
  $items = array();
	
  $items['redeem_page'] = array(
    'page callback' => 'redeem_page',
	'access arguments' => array('access redeem content'),
    'page arguments' => array(1),
	'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
	
  return $items;

}



function redeem_page($venue_id) {
	......
}

How to switch field values on node edit form?

Hello,

I have 10 entity fields in a content type,

5 fields ONE

5 fields TWO

All these fields have values.

I would like on the node edit form to have the possibility to switch the values of the 5 fields at the same time by cliking on a button, or cheking a box...

Values 5 fields ONE go to fields TWO.

Values 5 fields TWO go to field ONE.

I think it can b done with JS, Jquery... but I'm not very good on it, I only code on PHP...

Anybody knows how to do this, maybe is there a module... ? Thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x