Project

General

Profile

Revision f2e44165

IDf2e441654a333475c9f03b768ed0cd2f38e3c073
Parent 08a339ec
Child 6a3b101a

Added by Andreas Kohlbecker about 7 years ago

cdm_feature_block_element_tag_name() incorporates value set in feature_block_settings['element_tag'] and further fine tuning of feature block settings

View differences:

7.x/modules/cdm_dataportal/settings.php
450 450
   *        some feature types (Distribution) also support: SORT_HIERARCHICAL (TODO option to exclude levels)
451 451
   *    - element_tag
452 452
   *        specifies the tag to be used for creating the elements, only applies if "as_list" == 'div'
453
   *        possible values are span | div
453
   *        possible values are span | div. the proper inner tag name can be retrieved by the function
454
   *        cdm_feature_block_element_tag_name()
454 455
   *    - special: array()
455 456
   *        an array with further settings, this field can be used for special
456 457
   *        settings for specialized rendering like for distributions
......
484 485
        'as_list' => 'ul',
485 486
        'link_to_reference' => FALSE,
486 487
        'link_to_name_used_in_source' => TRUE,
487
        'sources_as_content' => TRUE,
488
        'sources_as_content' => FALSE,
488 489
        'sources_as_content_to_bibliography' => FALSE,
489 490
        'sort_elements' => NULL,
490 491
        'glue' => '',
......
510 511
        'glue' => '',
511 512
        'element_tag'=> 'div'
512 513
      ),
514
      UUID_COMMON_NAME => array(
515
        'as_list' => 'ul',
516
        'link_to_reference' => FALSE,
517
        'link_to_name_used_in_source' => TRUE,
518
        'sources_as_content' => FALSE,
519
        'sources_as_content_to_bibliography' => FALSE,
520
        'sort_elements' => NULL,
521
        'glue' => '',
522
        'element_tag'=> 'span'
523
      ),
524

  
513 525
    );
514 526

  
515 527
    $cichorieae_default = array(
......
553 565
        'glue' => '',
554 566
        'element_tag'=> 'div'
555 567
      ),
568
      UUID_COMMON_NAME => array(
569
        'as_list' => 'div',
570
        'link_to_reference' => FALSE,
571
        'link_to_name_used_in_source' => TRUE,
572
        'sources_as_content' => FALSE,
573
        'sources_as_content_to_bibliography' => FALSE,
574
        'sort_elements' => NULL,
575
        'glue' => '',
576
        'element_tag'=> 'span'
577
      ),
556 578
    );
557 579

  
558 580
    $palmweb_default = array(

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)