Editable banner for every path/url

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

D7

// --- Add image filed in side content type to show image banner for every path--
//----- Add Computed field and write code inside input field  -----
  $abc = drupal_get_destination();
  $entity_field[0]['value'] = $abc['destination'];
//--- This is in output field of computed field----
  $display_output = $entity_field_item['value'];

// --- Create a view block
// --- Add 'image field' in views field to show for particular path
// --- Add 'node edit' field for edit added image