Support Forum » User Profile

Forum Replies Created

Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • in reply to: Conditional logic + clonable group #5439
    grafikgrafik
    Participant

    *Bump* Any ideas? Is this bug or limitation?

    in reply to: Conditional logic + clonable group #5435
    grafikgrafik
    Participant

    I'm having the same problem, here is my code belo. The plugin seems to change ID's when a repeater is added, how do I get around this?

    $meta_boxes[] = array(
    	'id'		=> 'post_images',
    	'title'		=> 'Post Images',
    	'pages'		=> array( 'post'),
    	'fields'	=> array(
    
    	
    		array(
    			'id'     => 'post_image',
    			'type'   => 'group',
    			'clone'  => true,
    			'max_clone' => 15,
    			'sort_clone' => true,
    			'collapsible' => true,
    			'group_title' => 'image',
    			'fields' => array(
    				array(
    					'name'     => __( 'Layout', 'rwmb' ),
    					'id'       => "{$prefix}image_layout_post",
    					'type'     => 'select',
    					'options'  => array(
    						'full' => __( 'Full Width Image', 'rwmb' ),
    						'double' => __( 'Double Image', 'rwmb' ),					
    						'half' => __( 'Half Page Image', 'rwmb' ),					
    					),
    					'multiple'    => false,
    					'placeholder' => __( 'Select', 'rwmb' ),
    				),
    				array(
    					'type' => 'heading',
    					'name' => 'Full Page Image',
    					'hidden'     => array( 'meta_image_layout_post', '!=', 'full' )
    
    				),
    				array(
    					'name' => __( 'Image', 'rwmb' ),
    					'id'               => "{$prefix}post_image_teaser_full",
    					'type'             => 'image_advanced',
    					'max_file_uploads' => 1,
    					'clone'		=> false,
    					'hidden'     => array( 'meta_image_layout_post', '!=', 'full' )
    					
    				),
    				array(
    					'type' => 'heading',
    					'name' => 'Double Image',
    					'hidden'     => array( 'meta_image_layout_post', '!=', 'double' )
    				),
    				array(
    					'name' => __( 'Image Left', 'rwmb' ),
    					'id'               => "{$prefix}post_image_teaser_double",
    					'type'             => 'image_advanced',
    					'max_file_uploads' => 1,
    					'clone'		=> false,
    					'hidden'     => array( 'meta_image_layout_post', '!=', 'double' )
    				),
    				array(
    					'name' => __( 'Image Right', 'rwmb' ),
    					'id'               => "{$prefix}post_image_teaser_double_two",
    					'type'             => 'image_advanced',
    					'max_file_uploads' => 1,
    					'clone'		=> false,
    					'hidden'     => array( 'meta_image_layout_post', '!=', 'double' )
    				),
    				array(
    					'type' => 'heading',
    					'name' => 'Image Options',
    					'hidden'     => array( 'meta_image_layout_post', '!=', 'double' )
    				),
    				array(
    					'name'     => __( 'Size', 'rwmb' ),
    					'id'       => "{$prefix}image_arrangement",
    					'type'     => 'select',
    					'options'  => array(
    						'leftbig' => __( 'Left Image Bigger', 'rwmb' ),
    						'rightbig' => __( 'Right Image Bigger', 'rwmb' ),					
    						'equal' => __( 'Images Equal Sizes', 'rwmb' ),					
    					),
    					'multiple'    => false,
    					'placeholder' => __( 'Select', 'rwmb' ),
    					'hidden'     => array( 'meta_image_layout_post', '!=', 'double' )
    		            	
    				),
    
    				array(
    					'type' => 'heading',
    					'name' => 'Half Page Image',
    					'hidden'     => array( 'meta_image_layout_post', '!=', 'half' )
    					
    				),
    				array(
    					'name' => __( 'Image', 'rwmb' ),
    					'id'               => "{$prefix}post_image_teaser_half",
    					'type'             => 'image_advanced',
    					'max_file_uploads' => 1,
    					'clone'		=> false,
    					'hidden'     => array( 'meta_image_layout_post', '!=', 'half' )
    				),
    				array(
    					'name'     => __( 'Align image', 'rwmb' ),
    					'id'       => "{$prefix}half_image_align",
    					'type'     => 'select',
    					'options'  => array(
    						'left' => __( 'Align left', 'rwmb' ),
    						'center' => __( 'Align center', 'rwmb' ),					
    						'right' => __( 'Align Right', 'rwmb' ),					
    					),
    					'multiple'    => false,
    					'placeholder' => __( 'Align ', 'rwmb' ),
    					'hidden'     => array( 'meta_image_layout_post', '!=', 'half' )
    
    				),
    			
    
    			),
    		),
    
    	)
    );
    
    in reply to: Metabox & Taxonomy Pages — Possible? #4229
    grafikgrafik
    Participant

    Ignore me I just saw you have a term meta plugin, good stuff!

    in reply to: class 'RWMB__Field' not found #3075
    grafikgrafik
    Participant

    Nice, that has fixed the error messages, will do some more testing to see if everything else is working as expected

    in reply to: class 'RWMB__Field' not found #3070
    grafikgrafik
    Participant

    How are you defining the metaboxes? I am using a separate file meta.php if that makes any difference.

    in reply to: class 'RWMB__Field' not found #3066
    grafikgrafik
    Participant

    I also get the error if I load the metabox-group plugin via the wp-admin plugins. I'm on WP version 4.5.2

    in reply to: class 'RWMB__Field' not found #3065
    grafikgrafik
    Participant

    Hi there, thanks for the quick reply.

    I'm using the latest version of metabox from github 4.8.5, and also the latest version of metabox-group (downloaded from My Account). Still getting the same error message.

    Any ideas?

    in reply to: class 'RWMB__Field' not found #3059
    grafikgrafik
    Participant

    Here is a screenshot of the error if you require more information http://grfk.co.nz/1drms

Viewing 8 posts - 16 through 23 (of 23 total)