Saving problems

Support General Saving problems

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1863
    FlikweertFlikweert
    Participant

    Hi,

    I have a problem with saving data from a cloneable group.
    I have the following code;

    /**
    			 * Tab: Keuze buttons
    			 */
    			array(
    				'id' => 'buttons',
    				'clone' => true,
    				'type' => 'group',
    				'max_clone' => 3,
    				'tab' => 'buttons',
    				'fields' => array(
    					array(
    						'name' => 'Titel',
    						'desc' => '',
    						'id' => 'button_title',
    						'type' => 'text',
    						'size' => 50
    					),
    					array(
    						'name' => 'Link',
    						'desc' => 'Selecteer de pagina die moet worden weergegeven.',
    						'id' => 'button_link',
    						'type' => 'post',
    						'post_type' => 'page',
    						'field_type' => 'select_advanced',
    						'placeholder' => 'Selecteer een pagina',
    						'query_args' => array(
    							'post_status' => 'publish',
    							'posts_per_page' => - 1,
    						),
    					),
    				)
    			),

    When saving the page, the value of 'button_link' is stored in the database. 'button_text' is not saved. I tested this with the following code after all fields are filled in the WP admin;

    $buttons = rwmb_meta('buttons', null, get_option('page_on_front'));
    						foreach($buttons as $button){
    							echo '<a href="'. get_permalink($button['button_link']) .'"><span>'. $button['button_title'] .'</span></a>';
    						}

    With this result;
    Array ( [button_link] => 206 ) Array ( [button_link] => 271 ) Array ( [button_link] => 215 )

    #1867
    Anh TranAnh Tran
    Keymaster

    It seems the version of group extension is old. Please update the Group extension to the latest version 1.0.3 which has a fix for this.

    #1869
    FlikweertFlikweert
    Participant

    I installed the 'Meta Box Updater'. Can i get updates automatically with that?

    #1870
    Anh TranAnh Tran
    Keymaster

    Yes, doesn't it show new updates available for group extension? Have you entered your API key in the Updater's settings page? Can you please check the current version of the group extension that you're using?

    #1871
    FlikweertFlikweert
    Participant

    No Unfortunately. I entered my API key. Says 'Settings succesfully saved'.
    Current version of group extension: 1.0.1

    #1872
    FlikweertFlikweert
    Participant

    I have also checked other websites. They also do not get updates.

    #1876
    Anh TranAnh Tran
    Keymaster

    Hmm, the latest version is 1.0.3, so you should be able to see updates. Can you please click Check updates in Dashboard | Updates to force check for updates again?

    In case you still haven't seen updates, please go to your profile and re-download the extension. I will check the problem with updater again.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Saving problems’ is closed to new replies.