Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

Multi-select in popup doesn't work after last update

Open RodalErmakov opened this issue 10 years ago • 4 comments

Hi) I have multi select option in popup 2016-09-15 19 12 13

After last update it doesn't work. When I print the option: 2016-09-15 19 13 57

It gets null: 2016-09-15 19 15 01

Multi-select outside popup is working fine. Thanks)

RodalErmakov avatar Sep 15 '16 14:09 RodalErmakov

test this https://github.com/ThemeFuse/Unyson/issues/1998#ref-commit-0fc0b2c

danyj avatar Sep 15 '16 14:09 danyj

Try to print this code:

fw_print( fw_get_db_settings_option() );

After that, find your footer_menu in array hierarchy. Maybe you have some changes in your structure and path to posts is different.

mowshon avatar Sep 15 '16 14:09 mowshon

2016-09-15 19 55 35 No, footer_menu array is empty.

RodalErmakov avatar Sep 15 '16 14:09 RodalErmakov

@RodalErmakov Why in the above screenshot everything is uppercase?


On my side everything works fine:

  • .../settings.php
'test_option' => array(
    'type' => 'popup',
    'popup-size' => null,
    'size' => 'small',
    'popup-options' => array(
        'posts' => array(
            'type' => 'multi-select',
            'population' => 'posts',
            'source' => 'page',
            'prepopulate' => 100,
            'limit' => 1,
        ),
    ),
),
  • {theme}/header.php
<?php fw_print(fw_get_db_settings_option('test_option/posts')); ?>

1477397768123

ghost avatar Oct 25 '16 12:10 ghost