Forum Replies Created

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • in reply to: admin-workflow.php on line 82 #9091
    Ico
    Member

    I attach a image of the error, the workflow is working. Now it is on php 7.2 on production server, may be it’s not from the PHP version.

    Attachments:
    You must be logged in to view attached files.
    in reply to: admin-workflow.php on line 82 #9090
    Ico
    Member

    I have the same issue and I think it depends of the PHP version. I have these warnings on php 5.4

    Notice: Undefined index: parts in [site]/wp-content/plugins/piklist/parts/shared/admin-workflow.php on line 82

    Warning: Invalid argument supplied for foreach() in [site]/wp-content/plugins/piklist/parts/shared/admin-workflow.php on line 82

    I have no warnings or whatever in dev ( php 5.6 and php7 ). Same code, same content. The error is in custom admin page with tabs, with defined workflows. WP_DEBUG is set to false on both installations, WP 4.9.6

    Ico
    Member

    Thanks Steve,
    It turns out I didn’t defined proper Tab files ( Only header file ). Now works perfect!

    in reply to: Inconsistent repeater field and image #8887
    Ico
    Member

    I can use something like <?php $attachment_id = is_array($client['logo_image']) ? $client['logo_image'][0] : $client['logo_image']; ?> , but the inconsistency still bugs me.

    in reply to: Add more in Shortcodes #8791
    Ico
    Member

    Update:

    The data is displayed just fine, but clicking when trying to edit the shortcode (click on edit and modal pops-up ) only the first value is displayed;

    in reply to: New Piklist Documentation #8790
    Ico
    Member

    Hi Steve,
    It’s little bit offtopic, but I think for a site like “piklist tricks” and official list of piklist plugins.

    In my day-to-day development ( I’m front-ender btw, had to do also the back-end for a couple of projects ) I use a lot of piklist related snippets, that may benefit somebody else. For example – creating a field for image for category, picking a page from dropdown with all available pages, etc. Having a place to share them would be great, I’m thinking of such a site. For example, today I had to include button for clearing wp transient in piklist admin page…such stuff. Like “Piklist Cookbook”.

    The second is official list with plugins that rely on piklist. Some examples -> gallery field ( similar to ACF gallery ), Datetimepicker ( now have to be 2 separated fields – datepicker and html5 time field )

    in reply to: Add more in Shortcodes #8789
    Ico
    Member

    Thanks Steve, it is working for a single field. So the idea is I can pass single values just as shortcode vars and one’s with repeater using save_id, scope and hidden field, then retrieve them with get_post_meta($post->ID, 'my_shortcode_saved_to_db', false); .

    This is just great, thanks a lot!

    in reply to: Meta-boxes for blog page #8788
    Ico
    Member

    You can make different page template ( ex page-your-blog.php ), then add metaboxes for this page template and the from WP menu select this page as a blog page.

    in reply to: Add more in Shortcodes #8774
    Ico
    Member

    Up ⬆️

    in reply to: Add more in Shortcodes #8762
    Ico
    Member

    Hi, I’m not native english speaker, so my bad. What I want to create a shortcode and a form. Here is the code:

    test-form.php

    <?php
    /*
    Name: Post Shortcode
    Description: Adding add_more field to shortcoe
    Shortcode: test
    Inline: false
    */
    
    piklist('field', array(
        'type' => 'text',
        'field' => 'test_text',
        'label' => 'Text',
        'add_more' => true
      ));

    test.php

    <?php
    /*
    Shortcode: test
    */
    ?>
    <div style="color:grey;">
    <span> Args :</span>
    <pre><?php print_r( $arguments); ?></pre>
    </div>

    When I open the modal to insert the shortcode, I have repeating field in the form. If I create three fields ( 1, 2, 3 ), when I insert the shortcode into the editor, only the last shortcode value is added ( the result is ):

    [test test_text="3" _index="0"]

    I added some screenshots : https://my.pcloud.com/publink/show?code=kZn0SL7ZYQw0TpwsSMuL4Pi5rie6sLoCfPNV

    Is there a way to make it work? It would be very helpful!

    Best,
    Chris

    Attachments:
    You must be logged in to view attached files.
    in reply to: Project abandoned? #8444
    Ico
    Member

    Well, last commits were from 7 months ago ( ages in digital world ), and no new releases, no news, nothing. I have much respect for the Piklist team, but I also need to know if will be supported or not, because it is very important for my business. Just official statement that they’re supporting new Piklist releases will be good, but… just silence.

    in reply to: Project abandoned? #8441
    Ico
    Member

    I think most of the developers, that rely on Piklist for all their projects ( me including ) would willingly pay $100 for a one-time purchase, or $25 a year, if we know the piklist is supported and regularly updated.

    in reply to: Project abandoned? #8439
    Ico
    Member

    Yes, this is one of the things I feared most… Being so good and also free many times leads to dead of a framework, if not backed by big players. All my projects rely on Piklist and I’m really concerned about being abandoned.

    in reply to: Method to know what fields have been created using Piklist #8404
    Ico
    Member

    Rachel, thanks for sharing your code snippet. If you made it working, can you share some more code? I’m trying to use WP as a REST backend for SPA and there are not much up-to-date examples on using the WP Resti API with custom meta, custom posttypes and theme options.

    in reply to: Error installing piklist #7344
    Ico
    Member

    I think it might be from the PHP version;

    Current PHP version: 5.2.17

    All other plugins works as expected

Viewing 15 posts - 1 through 15 (of 21 total)