Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Add more group with file upload not saving #4233
    nate9024
    Member

    I apologize – this was not an error with Piklist. It was an error with my host’s caching which was causing the save problems. Please disregard my previous post; it is working fine!

    in reply to: Add more group with file upload not saving #4232
    nate9024
    Member

    A new version just came out today (0.9.4.28) but this has not fixed the issue with file uploads saving.

    Here is my code:

    piklist('field', array(
        'type' => 'group'
        ,'field' => 'downloads'
        ,'label' => __('Files PDF')
        ,'columns' => 12
        ,'add_more' => true
        ,'fields' => array(
            array(
                'type' => 'file'
                ,'field' => 'download_image_pdf'
                ,'multiple' => 'multiple'
                ,'label' => 'Image/icon and PDF file'
                ,'description' => __('Upload your image (234x126px) and PDF file')
            ),
            array(
                'type' => 'text'
                ,'field' => 'download_title'
                ,'label' => 'Download text'
                ,'description' => __('Appears underneath the image')
            )
        )
    ));

    I know this is a little different than the original post because this code allows for multiple file uploads within the addmore. Do you have any suggestions on how to allow for them to save? Currently it does not allow saving of the files, text field, or the positioning/order of the addmore elements.

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