Viewing 3 reply threads
  • Author
    Posts
    • #5107
      vgrch
      Member

      Hello,

      I found in the forum that it was a known issue and supposedly fixed, but I still can’t make it work. The file I’m adding to a grouped field is never saved.

      Another little thing, the file uploader seems to take the whole width and doesn’t follow the instructions in the ‘columns’ option.

      The code I’m using is below:

        piklist('field', array(
          'type' => 'group'
          ,'field' => 'artist'
          ,'label' => __('Artist')
          ,'add_more' => true
          ,'fields' => array(
            array(
              'type' => 'text'
              ,'field' => 'artist_name'
              ,'label' => 'Artist name'
              ,'columns' => 4
            )
            ,array(
              'type' => 'text'
              ,'field' => 'artist_url'
              ,'label' => 'Artist URL'
              ,'columns' => 8
            )
            ,array(
              'type' => 'file'
              ,'field' => 'artist_contract'
              ,'scope' => 'post_meta'
              ,'label' => __('Add Contract','piklist')
              ,'columns' => 8
              ,'description' => __('Upload contract in PDF.','piklist')
              ,'options' => array(
                'modal_title' => __('Add Contract','piklist')
                ,'button' => __('Add','piklist')
              )
            )
            ,array(
              'type' => 'checkbox'
              ,'field' => 'artist_secured'
              ,'label' => 'Secured'
              ,'columns' => 4
              ,'choices' => array(
                'secured' => 'Secured'
              )
            )
          )
        ));
      

      I’m using the 0.9.4.29 version, the current one from the WordPress directory. I tried to install your beta version (0.9.9.6) but it gave me these errors:

      Warning: include_once(Z:\home\localhost\demo/wp-content/plugins/piklist/parts/updates/0.9.9.php): failed to open stream: No such file or directory in Z:\home\localhost\demo\wp-content\plugins\piklist_beta\includes\class-piklist-admin.php on line 826

      Warning: include_once(): Failed opening ‘Z:\home\localhost\demo/wp-content/plugins/piklist/parts/updates/0.9.9.php’ for inclusion (include_path=’.;C:\php\pear’) in Z:\home\localhost\demo\wp-content\plugins\piklist_beta\includes\class-piklist-admin.php on line 826

      Fatal error: Class ‘Piklist_Update_0_9_9’ not found in Z:\home\localhost\demo\wp-content\plugins\piklist_beta\includes\class-piklist-admin.php on line 830

      I also wanted to ask: do I understand right that with newly added front-end forms it’s possible to submit posts directly from the front-end with the same range of fields as it’s possible from back-end now? Do you plan to extend that functionality to be able to edit custom post types from front-end with all their custom fields? That would be so awesome.

      Thank you in advance.

    • #5116
      Steve
      Keymaster

      @vgrch– It looks like there was a problem with the download and the 0.9.9.php file isn’t included. Please try again.

    • #5127
      vgrch
      Member

      I tried, and the file is actually there. It doesn’t see it somehow. Maybe it’s the problem with my localhost, I’ll try on another one.

      So the bug with the file uploader, is it fixed in the version I’m using now (0.9.4.29) or only in the beta version?

      Thanks.

    • #5128
      Steve
      Keymaster

      It would be fixed in v0.9.9.x

Viewing 3 reply threads
  • You must be logged in to reply to this topic.