Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Add-More group on settings page odd behavior #1549
    taishiziyi
    Member

    I have deleted the entry from the _options table and then de-activated and deleted Piklist. I then installed Piklist from the WordPress Plugin Repo (v0.9.3) and activated it. When I went to save data in the fields as shown in the previous screenshots I got the exact same problem as before.

    Here is the info from the DB entry in case that provides any insight:

    option_id: 767
    option_name: cbts_theme_settings
    option_value: a:2:{s:13:”related_links”;a:2:{i:0;a:1:{i:0;s:24:”Associated Baptist Press”;}i:1;a:1:{i:0;s:23:”http://www.abpnews.com/”;}}s:14:”selected_feeds”;a:3:{i:0;a:1:{i:0;s:0:””;}i:1;a:1:{i:0;s:0:””;}i:2;a:1:{i:0;s:4:”none”;}}}
    autoload: yes

    in reply to: Relating data to media uploader #1397
    taishiziyi
    Member

    I know you guys are incredibly busy, but I was wondering if anyone had a chance to take a look and see what I might have been missing here?

    Thanks for all your help!

    in reply to: Relating data to media uploader #1351
    taishiziyi
    Member

    Sure. Here you go (I anonymized some of it for placeholders here, but nothing material has been changed):

    /*
    Title: Slideshow
    Post Type: plugin_name
    Order: 0
    */
    piklist( 'field', array(
    	'type'			=> 'group',
    	'field'			=> 'slides_info',
    	'add_more'		=> true,
    	'label'			=> 'Slide Images',
    	'description'	=> 'Add the slides for the slideshow.  You can add as many slides as you want, and they can be drag-and-dropped into the order that you would like them to appear.',
    	'fields'		=> array(
    		array(
    		'type'			=> 'file',
    		'field'			=> 'slide_image',
    		'scope'			=> 'post_meta',
    		'label'			=> __( 'Add/Edit Image', 'plugin-text-domain' ),
    		'description'	=> __( 'Use the media uploader to add, select, or edit an image to use as a slide.', 'plugin-text-domain' ),
    		'options'		=> array(
    			'modal_title'	=> __( 'Add/Edit Image', 'plugin-text-domain' ),
    			'button'		=> __( 'Add/Edit', 'plugin-text-domain' )
    			)
    		),
    		
    		array(
    		'type'			=> 'text',
    		'field'			=> 'slide_url',
    		'scope'			=> 'slide_image',
    		'label'			=> 'Image Link URL',
    		'description'	=> 'If the slide should have a link, enter the URL for the link here.'
    		),
    	),
    	'on_post_status' => array(
    		'value' => 'lock'
    	)
    ));
Viewing 3 posts - 1 through 3 (of 3 total)