Project

General

Profile

« Previous | Next » 

Revision 0e7cb43d

Added by Andreas Kohlbecker about 7 years ago

Powered by EDIT block enabled by default

View differences:

modules/cdm_dataportal/profile/CDM_Portal/CDM_Portal.install
262 262

  
263 263
  $new_blocks = array();
264 264

  
265
;
265
  // Powered by EDIT
266
  $block_powered_by_edit = cdm_dataportal_block_info()["fundedByEDIT"];
267
  $block_powered_by_edit= array_merge($block_powered_by_edit, array(
268
    'module' => 'cdm_dataportal',
269
    'delta' => 'fundedByEDIT',
270
    'theme' => $default_theme,
271
    'status' => 1,
272
    'weight' => 0,
273
    'region' => 'footer'
274
  ));
275
  $new_blocks[] = array(
276
    'block' => $block_powered_by_edit
277
  );
278

  
266 279
  // enable "CDM Search Taxa" block for all themes
267 280
  $block_search_taxa = cdm_dataportal_block_info()["2"];
268 281
  $block_search_taxa= array_merge($block_search_taxa, array(

Also available in: Unified diff