Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • in reply to: anonymize data stored #10625
    Nabil
    Member

    Data anonymization has been defined as a “process by which personal data is irreversibly altered in such a way that a data subject can no longer be identified directly or indirectly

    – Wikipedia

    Is this what you want?

    in reply to: title translation #9530
    Nabil
    Member

    I’m satisfied with this workaround:

    
    <?php
    
    // File: parts/meta-boxes/my-metabox.php
    
    /**
     * Title: {{ My Metabox }}
     * Post Type: my_cpt
     */
    	
    piklist( 'field', [
    	'type' => 'file',
    	'field' => '_thumbnail_id',
    	'scope' => 'post_meta',
    	'options' => [
    		'title' => __( 'Set featured image(s)', 'my_textdomain' ),
    		'button' => __( 'Set featured image(s)', 'my_textdomain' ),
    	],
    ] );
    
    /**
     * Localize Title
     */
    add_action('piklist_pre_render_meta_box', function() {
    	ob_start();
    } );
    add_action('piklist_post_render_meta_box', function() {
    	echo str_replace( '{{ My Metabox }}', __( 'My Metabox', 'my_textdomain' ), ob_get_clean() );
    } );
    
    in reply to: Minor bug with PHP 7 (E_DEPRECATED) #6310
    Nabil
    Member

    Something like this

    
    Index: trunk/includes/class-piklist-universal-widget.php
    ===================================================================
    --- trunk/includes/class-piklist-universal-widget.php	(revision 1399025)
    +++ trunk/includes/class-piklist-universal-widget.php	(working copy)
    @@ -45,7 +45,7 @@
       public $widgets_path = '';
       
       /**
    -   * Piklist_Universal_Widget
    +   * __construct
        * Create a new universal widget.
        *
        * @param string $name The name.
    @@ -57,7 +57,7 @@
        * @static
        * @since 1.0
        */
    -  public function Piklist_Universal_Widget($name, $title, $description, $path = array(), $control_options = array()) 
    +  public function __construct($name, $title, $description, $path = array(), $control_options = array()) 
       {
         global $pagenow;
    
    in reply to: Minor bug with PHP 7 (E_DEPRECATED) #6309
    Nabil
    Member

    @Jason, I’m using trunk.

    I would guess changing the method name from Piklist_Universal_Widget to __constuct would fix that.

    in reply to: CPT front-end Form #6280
    Nabil
    Member

    Yes found it! I did my research first but missed it. Thanks @Steve.

    in reply to: Group Add-more field save problem #1475
    Nabil
    Member

    This bug it still present

    Thanks,
    Nabil

    in reply to: Piklist 0.8.0 Beta 2 – Issues/Fixes #1447
    Nabil
    Member

    Awesome, I completely missed it.

    Thanks.

    in reply to: Piklist 0.8.0 Beta 2 – Issues/Fixes #1443
    Nabil
    Member

    @Marcus,

    Have you been able to use multiple conditions?

    Thanks,
    Nabil

    in reply to: Limit add_more #1215
    Nabil
    Member

    Thank you !

    in reply to: [bug] add_more not working in settings. #1178
    Nabil
    Member

    Works great, Thanks.

    in reply to: [bug] add_more not working in settings. #1172
    Nabil
    Member

    Now that you mention it, yes, I’m using Firefox.

    I checked and it works on Google Chrome and Chromium but it doesn’t work on Firefox & Opera, I don’t know for IE, the project is on a local Linux machine.

    in reply to: [bug] add_more not working in settings. #1168
    Nabil
    Member

    Oh, I’m using version 0.8.0b6

    I found that by setting sortable to false in wp-content/plugins/picklist/parts/js/piklist.js:277, I can access the field with a mouse click, although the description is now beside the first field and not below the fields.

    Preview

Viewing 12 posts - 1 through 12 (of 12 total)