Discussion on Quick and easy Post creation for ACF Relationship Fields PRO

Bazalt

Bazalt supports this item

Supported

17 comments found.

Great work GLWS :)

Thanks!

Great work :-) GL

Thanks

Is there also a possibilty to create albums with songs / lyrics?

Luogo, This plugin is not about creating albums / songs / artists… These custom post types are just there as an example.

My plugin is an add-on for Advanced Custom Fields. More specifically for ‘Relationship fields’. I think you should start to take a look at https://www.advancedcustomfields.com/resources/relationship/

Will you have a demo for testing?

Hi Luogo, There is no demo available at this time, but you can download and install the free version of this plugin, which only works with ACF free version, and which provides the exact same features as this pro version.

Nice plugin, but bidirectional relationship would be perfect! When user creates an album from an artist page (“artistB hasAlbum albumA”), he shouldn’t have to create a redundant relationship from the album page (“albumA hasArtist artistB”). Maybe this plugin could be compatible with Advanced Custom Fields: 2-Way Post Relation to make it possible.

Bidirectional feature is not in the scope of this add-on. You can find a great tutorial about this in the ACF documentation : https://www.advancedcustomfields.com/resources/bidirectional-relationships/

Hi,

I’ve bought your plugin recently and I was wondering if the following feature is available. Imagine I have 2 CPTs: Parent, Child.

  • Parent has a relationship acf to Child.
  • Child has a Post Object acf to Parent.

I want to know, if in the Parent page, when I create a new Child using your plugin, is possible to pre-populate the post field (html select) value to the parent from where it was created. Is that possible with some hooks or filters the plugin has?

Thank you.

Hi Moxienyc, thanks for purchasing this add-on!

I recently had a similar case. `Quick and easy Post creation for ACF Relationship Fields PRO` add-on loads the child post form in a lightbox-contained iframe, with some additional URL args:

  • `acf_rc_from_content_type`: the post type of your parent post.
  • `acf_rc_from_content_ID`: the ID of your parent post.
I’ll try to document this asap in my plugin description.

So you are able to use these URL params to populate ACF fields on your child post. Example:

<?php
add_filter('acf/load_field/name=${NAME_OF_YOUR_ACF_FIELD}', 'populate_acf_field' );
function populate_acf_field( $field ) {
    if( !empty( $_REQUEST['acf_rc_from_content_type'] ) && $_REQUEST['acf_rc_from_content_type'] == '${YOUR_PARENT_CONTENT_TYPE}' && !empty( $_REQUEST['acf_rc_from_content_ID'] ) ) {
        $field['value'] = 'whatever you want';
    }
    return $field;
}

Of course, you’ll have to replace `${NAME_OF_YOUR_ACF_FIELD}` and `${YOUR_PARENT_CONTENT_TYPE}` with real values.

Hope this helps.

That’s exactly what I needed.

Thank you, it worked perfectly.

Glad to be helpful :) If you find this plugin useful, a quick review of your part would be much appreciated. Thanks Moxienyc

dweb

dweb Purchased

Bonjour J’ai installé votre module, le signe + s’affiche correctement mais je n’arrive pas à cliquer dessus pour créer un autre post ! Merci

Bonjour,

Premièrement, assurez-vous que tous vos plugins sont à jour.

Quels types de contenus peuvent être liés à votre champ (Articles, Pages, Media, ...) ? Actuellement, le plugin ne prend pas en charge les contenus de type Media, donc si vous avez paramétré votre champ pour que seuls des medias puissent y être liés, le plugin sera effectivement inopérant.

Si ce n’est pas votre cas : il est possible qu’un autre plugin interfère avec le mien. Pouvez-vous désactiver les plugins autres que “ACF” et “Quick and easy Post creation for ACF Relationship Fields PRO”, et retenter la manipulation ? Si ça fonctionne ainsi, c’est qu’effectivement un autre plugin provoque un dysfonctionnement. Vous pourrez alors les réactiver un à un pour identifier celui qui pose problème.

Si malgré tout ça ne fonctionne toujours pas, êtes-vous en mesure de me dire si vous observez des messages d’erreurs dans la console Javascript de votre navigateur ? Si vous n’avez aucune idée de ce que cette dernière phrase signifie, est-ce que ça vous embêterait de me donner un accès temporaire à votre site, pour que je tente d’identifier moi-même le soucis ?

Merci à vous pour votre achat.

dweb

dweb Purchased

Hello,

PM sent !

Thank you

gbreen

gbreen Purchased

I am going to be a buyer for sure. I am wondering if you have any idea how to make current posts click-able to edit in an iframe similar to how your plugin functions.

Well, that would be a nice feature for a future version of this plugin! I don’t know any other plugin that lets do this. Thanks for the idea gbreen.

Hello, a quick pre-sales question; can this plugin replicate woocommerce product data metabox?

Sorry, I don’t see the point about WooCommerce metabox… My plugin is just a kind of “shortcut” to create content without leaving the page you are working on. Could be a WooCommerce product though.

very very good.

Looks like a great plugin. Thought – I don’t necessarily want people to be interrupted from writing their first post by creating this second post. Maybe there is a way to just add the post and they can edit it later? Perhaps even better is that once the post has been created a notification box is added to the top of the current editing window that says, “Hey, click here to go and edit the post you made for this post.”

Thanks David. Writing the “second post” is not mandatory. This add-on just gives the possibility to do that, if needed. A future version will give users the possibility to not only create, but also edit posts without leaving the page they’re working on.

Pre-purchase question: Does this plugin work with acf’s front-end forms (via acf_form())? Thanks!

Yes it is!

Nice one.

One suggestion right now which would make this plugin just a bit better: - Open modal directly (one-click) to add a new item, if only one object is referenced.

Kind regards,

Dominik

Dominik, In a couple of days, Code Canyon would accept my new version, which brings this functionality, as well as wider lightbox while editing content. Thanks

Great. In the meantime we found a small bug, I believe.

We have PHP functions that calculate the post_title when acf/save_post ist triggered (prio 20). On the “relation”-field, everything works fine. But on the select2-fields of the relational-object-fields, the title is not shown. The ID is set and after clicking save on the primary post, the title occurs correctly.

Kind regards,

Dominik

I think I understand what you’re talking about. Sometimes, when the primary post is not saved yet, or when the user creates the secondary content too quickly (without letting WordPress make a first saving, calculating permalink, and so on…), the displayed post title is wrong. I have not found a workaround for that yet.

stijndw

stijndw Purchased

It’s working great.

One remark, when the popup opens, the side menu is displayed and after 1 second it is hidden. That doesn’t look very clean. Is it possible to do something about it?

Thanks

Actually, the side menu is deliberately removed to let the user focus on his main task: creating a new content, without being tempted to navigate elsewhere.

For now, I use some JavaScript to hide this menu, so I got to wait the page to be fully loaded before executing the script. This is what causes this “blink” effect. In a future version, I’ll try to achieve the same result using CSS, which may be applied quicker than JavaScript on page load.

Thanks

stijndw

stijndw Purchased

I completely agree that it should be hidden. But it’s indeed about the ‘blink’ effect. Could you load this CSS line in the iframe? #adminmenuwrap{display:none}

That should hide it immediately

Hello When I buy this item I get the 1.1 version of the plugin, while it states that the latest one is 2.1. How come? I already have another version (1.1) whit no update??? I need this to work on post objects!! Thanks

Hello, Oh gosh, I don’t known what happened during CodeCanyon upgrade process. Looking after this.

Ok thanks! Could you please provide me with the latest version? I really do need this for my client.

Can you please contact me at contact[at]bazalt.fr, so I can send you the latest version?

Hey, I’m using WP 4.7.3 and ACF Pro 5.5.10.

I bought and installed your plugin, and I activated the option on an ACF Relationship field. I see the “Plus” icon on that field, but when I click it, nothing appears.

Hello,

First, thanks for purchasing my plugin :)

I just tested with a fresh WP 1.7.3 with latest ACF Pro version. My plugin works well under this configuration. Please check that your relationship field on which you have enabled my plugin is set to accept one or more Post Types other than “attachments” . Also, could you tell me if some Javascript errors appears in your browser console?

Maybe the next version of my plugin will fix your issues. I’m currently waiting Code Canyon to approve this ready-to-release version.

Hi Bazalt! I appreciate the quick reply.

I started to look through the plugin code, and I realized what the problem is. I didn’t understand that you need to click the Tooltip to get the form to load. I understand why that makes sense if you have multiple post types allowed on a relationship, but since mine only had a single post type, the UI just wasn’t entirely clear to me.

Once I looked through the code, I understood what you were trying to do – and I can confirm everything works as expected.

You may want to make that user flow more clear in your documentation / screenshots, and possible consider adding a heading to the tooltip, such as “Create:”, before the list of entities – just to make it clear it’s a menu and not a tooltip.

Thanks again!

Thanks for your suggestion. The next release solves this problem, by automatically opening the form when there’s only one Custom Post Type available for the relationship field!

If you like it, I would be glad to see you post a small review on my plugin page ;) Bye

Hi Bazalt,

I’m using WP 1.7.3 and ACF Pro 5.5.11. I’m also using TablePress 1.8 (latest).

I bought and installed your plugin and it works well for creating any post type on the fly except for TablePress tables.

If I Filter by Post Type with only Table Press Tables selected, the ‘Plus’ icon doesn’t show up and inspecting the html there is no tag. For any other post type, the ‘Plus’ icon shows up and is clickable.

Any thoughts?

Hi, Thank you for purchasing this add-on.

After looking at TablePress, I’m afraid that won’t be possible: TablePress uses custom capabilities and a custom UI that make it behave not exactly like a normal Custom Post Type should. Did you already take a look at this plugin? https://fr.wordpress.org/plugins/acf-tablepress/

i have installed the plugin yet…but i have a problem with this plugin. left menu custom filed after installing doesnt show. can i know what a problem ? can u help me ? thx b4

Sorry, I don’t understand your issue: which “left menu custom field” are you talking about please? (Attach a screenshot if possible)

by
by
by
by
by
by