Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 51 total)
  • Author
    Posts
  • in reply to: Settingspages doesn't work as expected #34312
    info@ceescoenen.nl[email protected]
    Participant

    Hi Long,

    Changing the ID does fully break my site on other places. As example Oxygen uses the ID, and php code like the RWMB where I have manually add the settings_id to 175.

    So yes, the problem in the view is fixed but I have 10 websites where the ID is 175.

    I haven't set the value to 175 but when I add the settingspage it is set.

    What to do?

    Cees

    in reply to: Settingspages doesn't work as expected #34298
    info@ceescoenen.nl[email protected]
    Participant

    Hi,

    Send it

    in reply to: Settingspages doesn't work as expected #34294
    info@ceescoenen.nl[email protected]
    Participant

    I hope it is possible to take longer time to look at the problem. Waiting time with another part of the world is 24 hour. Maybe you will login to the site and look what is happen.

    in reply to: Settingspages doesn't work as expected #34293
    info@ceescoenen.nl[email protected]
    Participant

    Done but is doesn't work:

    {% set group = attribute( site, '175' ) %}
    {% set field = attribute( group, 'ws-dp--hp_newsitem' ) %}
    {{ field.title }}

    {% set field = attribute( site.algemeen, 'al--hompage_blogitem' ) %}
    {{ field.title }}

    175 is the value that stays in the Settings Page ID box in the builder. It is generated when I make the settingspage, not choosen by me.

    in reply to: Settingspages doesn't work as expected #34254
    info@ceescoenen.nl[email protected]
    Participant

    Hi Long,

    Thanks. But it is the ‘insert field’ button that generates the code for me. That is strange. The code on algemeen is diffeerent indeed but both comes from ‘insert field’. Can you explain this?

    Cees

    in reply to: Settingspages doesn't work as expected #34227
    info@ceescoenen.nl[email protected]
    Participant

    Hi Long,

    I share all the code here in one pastebin

    https://pastebin.com/eQ80WNdm

    in reply to: Changing the field type on frontend #34097
    info@ceescoenen.nl[email protected]
    Participant

    Hi Long,

    Thank you. It works on a custom field, fine. But I want also change the post_content field that is loaded. The code doesn't work for that field. I have tried to make an extra filter like rwmb_normalize_{$field_id}_field but it doesn't work.

    add_filter( 'rwmb_normalize_post_content_field', function( $field ) {
    if( !is_admin() ) $field['type'] = 'textarea';
    return $field;
    });

    in reply to: Can't retrieve data from settingspage / group #33728
    info@ceescoenen.nl[email protected]
    Participant

    Hi Long,

    It is midnight here and I could't sleep :). So I have make the code again and it works now.

    in reply to: Can't retrieve data from settingspage / group #33714
    info@ceescoenen.nl[email protected]
    Participant

    Hi Long, how do I share this?

    in reply to: Order tabs in settingspage #32853
    info@ceescoenen.nl[email protected]
    Participant

    Yes I understand, but there is no easier way? Can I export / import the custom fields and change ‘ add the code? I normally use the builder.

    in reply to: Order tabs in settingspage #32844
    info@ceescoenen.nl[email protected]
    Participant

    Hi Long,

    I understand now! And it is better, much better, to use Tabs inside Custom Field instead of using it in the page settings. I have less Custom Fields 'groups' now.

    Could I easily merge different Custom Field Groups? Remove the group and add the same id in another Group? Maybe there is a better of faster way.

    in reply to: Order tabs in settingspage #32819
    info@ceescoenen.nl[email protected]
    Participant

    https://ibb.co/PgTCn9K Please tell me where to order the tabs in the settings page.

    in reply to: Eval()'error with sample code from your website #32609
    info@ceescoenen.nl[email protected]
    Participant

    You can remove this post

    in reply to: Replacing field_id with Better Search and Replace #32554
    info@ceescoenen.nl[email protected]
    Participant

    Hi Long,

    Sorry ... it is unclear for me. From beginning:
    Which steps do I have to do when I will change of or more field_id's in CPT's?
    The fields are used in the settings page AND in WordPress (Oxygen) as dynamic fields.

    So an example:
    I have the field email_id where the customer can store his e-mail address. The field is used in different pages in Oxygen as dynamic fields or as an function.

    When I change the field ID in the Builder then the values in the WordPress database are not changed. So that is the reason that I also do an search and replace. Is this the way to go? In my previous test the website are broken when I change field ID's.

    in reply to: Hitting to trash instead of update (custom fields) #32424
    info@ceescoenen.nl[email protected]
    Participant

    Hi Long,

    No.

    I add the first two fields and save them.
    Another day I add two extra fields and save the again.
    After that I move the fields (the last two to the beginning).
    When I hit save the total Custom fields are empty.

Viewing 15 posts - 16 through 30 (of 51 total)