Forum Replies Created
-
AuthorPosts
-
IcoMemberI 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.
IcoMemberI 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
June 24, 2018 at 3:50 pm in reply to: [ PL 0.11.4 ] Settings tabs missing even when workflow is defined #9079
IcoMemberThanks Steve,
It turns out I didn’t defined proper Tab files ( Only header file ). Now works perfect!
IcoMemberI 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.
IcoMemberUpdate:
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;
IcoMemberHi 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 )
IcoMemberThanks 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!
IcoMemberYou 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.
IcoMemberUp ⬆️
IcoMemberHi, 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,
ChrisAttachments:
You must be logged in to view attached files.
IcoMemberWell, 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.
IcoMemberI 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.
IcoMemberYes, 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.
October 2, 2017 at 10:33 am in reply to: Method to know what fields have been created using Piklist #8404
IcoMemberRachel, 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.
IcoMemberI think it might be from the PHP version;
Current PHP version: 5.2.17
All other plugins works as expected
-
AuthorPosts