Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 2,671 through 2,685 (of 3,707 total)
  • Author
    Posts
  • in reply to: admin columns not working #6386
    Anh TranAnh Tran
    Keymaster

    Oh, I see your custom code set a column show and you have a custom field with the same ID. Then you set that custom field displayed in admin columns, which already exists there. It might be confused. I'd suggest removing your custom code and try again.

    in reply to: Optimize rwmb_meta_boxes filter #6385
    Anh TranAnh Tran
    Keymaster

    I got it. The thing is we couldn't load the meta box or fields for a specific page in admin. Because the code need to run not only when showing fields, but also when saving fields. And the saving part requires to be run on admin in general.

    in reply to: admin columns not working #6380
    Anh TranAnh Tran
    Keymaster

    Hi, I'd like to see what you've done with your custom code. I guess you added or renamed an existing column, so Admin Columns extension couldn't find it to "hook" other columns to.

    in reply to: Optimize rwmb_meta_boxes filter #6379
    Anh TranAnh Tran
    Keymaster

    What @Jackky recommended is correct. However, in that case you can't use rwmb_meta for users in the frontend (yes, it works). get_user_meta is totally fine.

    in reply to: Strange issue with tabs + columns #6378
    Anh TranAnh Tran
    Keymaster

    Hi Jackky, thanks a lot for your idea.

    Can you post what you have in your mind here?

    Currently, we're refactoring the Columns extension to allow multiple fields in 1 column. However, to make it backward-compatible, I can't use your syntax (I'd love too). We're moving to use the syntax similar to Tabs extension. It's not optimal, but it works.

    in reply to: Feature request : admin list filters (taxonomies...) #6370
    Anh TranAnh Tran
    Keymaster

    FYI:

    1. Filter is done with MB Admin Columns v1.2. Please just update. You can also use this plugin to do the same job.

    2. Search is done in v1.1. Just add 'searchable' => true to the field to enable search by that field.

    Cheers
    Anh

    in reply to: Admin search meta key #6369
    Anh TranAnh Tran
    Keymaster

    It's been a long time, but just want to let you know that the search functionality is done. Please just update the plugin.

    in reply to: Feature request : admin list filters (taxonomies...) #6362
    Anh TranAnh Tran
    Keymaster

    FYI, #3 can be resolved with a free plugin.

    in reply to: admin columns not working #6361
    Anh TranAnh Tran
    Keymaster

    Hi, is that really admin-columns or you mistyped? It should be admin_columns, underscore.

    in reply to: admin columns not working #6358
    Anh TranAnh Tran
    Keymaster

    Can you post full code of your meta box to check?

    PS: I fixed the link in the sidebar. Thanks a lot!

    in reply to: Core Extensions Bundle refund. #6357
    Anh TranAnh Tran
    Keymaster

    Yes, you can always do that with class attribute of the field. Just add a custom CSS class to the "5-columns" field and change its width with CSS. It's kind of a hack while waiting for a better solution that we're working on.

    in reply to: Core Extensions Bundle refund. #6353
    Anh TranAnh Tran
    Keymaster

    Hi uththamag,

    As Tan said in the previous reply, each field belongs to 1 column, so hiding a column probably break the layout unless we use a trick like above.

    In the next couple of days, I will work on allowing multiple fields in a column, so you can hide/show them without problem. Please be patient.

    Thanks
    Anh

    in reply to: Strange issue with tabs + columns #6349
    Anh TranAnh Tran
    Keymaster

    We just updated the Columns extension yesterday with a better check for total columns (less than or greater than 12, it will close the div). But if you use with tabs, you still need to make sure total columns in each row equals to 12. Please update.

    Regarding the new syntax, I was thinking about something advanced that can offer you more flexibility. But after looking at that, I see the change is only the fields parameter (the class as I replied can be achieved via class attribute). And with the support of Group extension, you can do that easily, including the nested columns.

    Here is what you can do with Groups (the syntax is very similar):

    'fields' => array(
        array(
            'type' => 'group', // A wrapper group
            'id' => 'wrapper',
            'fields' => array(
                array(
                    'id' => 'name',
                    'type' => 'text',
                    'columns' => 4
                ),
                array(
                    'id' => 'subgroup',
                    'type' => 'group',
                    'columns' => 8,
                    'fields' => array(), // Array of other sub-sub fields
                )
            ),
        ),
    ),
    in reply to: admin columns not working #6339
    Anh TranAnh Tran
    Keymaster

    Hi,

    How do you setup the columns to show?

    in reply to: Strange issue with tabs + columns #6333
    Anh TranAnh Tran
    Keymaster

    Hi, I don't want to much nested arrays. In case sub-fields in groups are organized in columns, there will be a nightmare of nested nested arrays.

    After reviewing the code, I think we can still achieve everything by this code:

    fields => array(
        array(
            'columns' => 4,
            'class'   => 'custom-column-class',
        ),
    ),

    We have class attribute for fields, so let's use it instead of creating another attribute.

Viewing 15 posts - 2,671 through 2,685 (of 3,707 total)