Thanks, I was struggling to display the listing with the post query option inside the Listings grid and didn't know it is not recommended from Crocoblock.
thanks for a great tutorial... i only had one problem in the cct query i do EQUAL but it wont work. it only shows 1 cct item.. but there are more then 1...... so i try IN THE LIST... and it works... when anybody has the same problem hope it helps..
You suggested a solution that was not provided in crocoblock's guide and in this video. Thank you for resolving something I had been worrying about for hours.
how can i create relationship between two CCT? for example CCT1 and CCT2 I want to store the ID of cct2 in a field in cct1 now while listing cct1 can I show title field of cct2? ( i only have id of cc2 in cct1)
@@MoxetKhanPK I wish there was a video clip about it 🙏 may i ask if you can make a tutorial about it i watched many video tutorial about jetEngine and ur videos are a lot better! specially ticketing system! so informative
I also would love to have this question answered. I can't find any instruction on how to connect two CCTs together. I *can create the relationship between the two CCts, but I don't know how to build a query to show one-to-many data on the parent's page. Thanks for the video - one of the better ones on this topic!
@@manlymanchild i came to know that the best way now is using relationship. and to display the fields you can user related items. to add new related items or edit the relationship i had some problems but it seems that crocoblock resolved the issues on new updates. so now i suggest to work with default relation method not storing ID and ....
Hello Moxet! Thank you for your content!!! I'm trying to relate 2 CPTs, where the 1st CPT is "book" and the 2nd CPT is the "book platform", a 1 to n relationship, because 1 book can be sold on several platforms. I created the platform CPT and included in it the field "book" which shows the combination of all books from the CPT post "book". Then I created the "book" list grid with only the "book" field, which is an ID; next, I created the "platform" grid listing, which includes the "book" listing. That's right, it appears directly in the related book using the "POST QUERY" option. However, what I really need is to create an individual page where I show a book and just below the "platform" list grid showing all the platforms where the book is sold, right? However, I am in no way able to display the relationship on the individual book page with the corresponding platforms. Either all platforms appear, unrelated to the book, or no platform appears. I spend hours looking for solutions, whether with relations, with queries of all kinds and nothing works kkkk I'm already sleepless for a detail that I imagine must be simple, but I can't see the error. Importantly, the field names are identical in both CPTs (title-book) and I can see that this field only captures the ID and not the actual title. I've already gone through all the videos from Crocoblock and several youtubers and nothing similar to my case!!! Thank you if you can help.
Thank you Moxet, for the tutorial. Please I want to know how this method is, compared to the Jet Reviews Plugin (optimization, how data is saved in the database, etc.) Thanks.
Hi, Great Tutorial. I want to know one thing that when we create a data store for favourites then how can we give condition that only registered users will be able to add to fav
@@MoxetKhanPK Thank you so much for this. Actually, I want to show this option to users. My point was if the user is not log in then the add to fav button redirects them to get register or sign in. Can you guide me on this I will really appreciate your efforts
@@arifaarif172 You have to use the same logic Arifa, take two buttons one for logged in which serve for favorite and other for non-logged in users which takes them to login page or popup. Dynamic visibility does wonders if use properly.
Nice one bro ! I have question thought, how would you add a filter after all that? I mean, I have to do exactly the same, but I need to filter for a metafield that i created in the CCT. Is there any way you can filter from the listing grid settings? or would you do it directly from the custom query that you created
@@MoxetKhanPK Yeah! I added it in the custom query and it worked fine! I have projects, related to Campaigns (with metafield STATUS: In progress and Finished). Thank you !!!
Thank you Rik, it should be the same procedure. - In relationship you choose child and parent CPT - Create your listings - Build a query as mentioned above
I did this without query and only listing and cct front end form submission. Just add current post id aa hidden field in cct front end form and then listing with post query current post id.
CPT - Uses the same database table as normal WordPress posts. Generates a unique standalone post alongside each item. Good choice if you need each listing item to have it's own generated page. It's literally a custom POST. CCT - Uses it's own database table, making it faster if querying through large amounts of data or on large wordpress sites with lots of content. Doesn't have its own standalone post that gets created alongside each item. Good if each listing item doesn't need it's own generated page, and probably a healthier solution for the database. It's just custom CONTENT, not a POST.
@@rodlivz Sure thing, glad that was helpful. That's just what I remember of the two when I did my research on them, trying to figure out which was good for what sorts of scenarios. I mostly use custom post types, in my work I don't usually find much use for CCTs. Maybe if you needed some easily filterable list of names or brands displayed. I see software companies that like to list the other software they integrate with, and its often dozens or hundreds of brand names that need to be filterable but don't need a post associated with them. That would be a good example of an application for CCTs. Otherwise, CPTs are way more versatile.
@@SuperIce6374 I just built a website which had filterable downloads with a title, date and document type. Unfortunately, I used CPT and now each one of them behaves as a single page. The CCT solution would've been perfect for this! So I've been thinking of rebuilding the entire section... 😔
@@rodlivz dang, that would have been a good use case. Well, perhaps you can add additional information about the file on the CPT page. You technically don’t have to link to the generated page either if you don’t want, but it will be in the database and on the site map, and if you’re doing tons of downloadable files it might be worth a rebuild with CCT. Best of luck!!
Hi Moxet, thank you for this video. Do you have an update on the form functionality?
Thanks, I was struggling to display the listing with the post query option inside the Listings grid and didn't know it is not recommended from Crocoblock.
thanks for a great tutorial... i only had one problem in the cct query i do EQUAL but it wont work. it only shows 1 cct item.. but there are more then 1...... so i try IN THE LIST... and it works... when anybody has the same problem hope it helps..
@@doktoredelremix thanks for update
You suggested a solution that was not provided in crocoblock's guide and in this video. Thank you for resolving something I had been worrying about for hours.
@@chade_korea you are welcome
how can i create relationship between two CCT? for example CCT1 and CCT2
I want to store the ID of cct2 in a field in cct1
now while listing cct1 can I show title field of cct2? ( i only have id of cc2 in cct1)
You can do it directly from relationships now, its already launched by JetEngine
@@MoxetKhanPK
I wish there was a video clip about it 🙏
may i ask if you can make a tutorial about it
i watched many video tutorial about jetEngine and ur videos are a lot better! specially ticketing system! so informative
I also would love to have this question answered. I can't find any instruction on how to connect two CCTs together. I *can create the relationship between the two CCts, but I don't know how to build a query to show one-to-many data on the parent's page. Thanks for the video - one of the better ones on this topic!
@@manlymanchild
i came to know that the best way now is using relationship.
and to display the fields you can user related items. to add new related items or edit the relationship i had some problems but it seems that crocoblock resolved the issues on new updates.
so now i suggest to work with default relation method not storing ID and ....
Hello Moxet! Thank you for your content!!! I'm trying to relate 2 CPTs, where the 1st CPT is "book" and the 2nd CPT is the "book platform", a 1 to n relationship, because 1 book can be sold on several platforms. I created the platform CPT and included in it the field "book" which shows the combination of all books from the CPT post "book". Then I created the "book" list grid with only the "book" field, which is an ID; next, I created the "platform" grid listing, which includes the "book" listing. That's right, it appears directly in the related book using the "POST QUERY" option. However, what I really need is to create an individual page where I show a book and just below the "platform" list grid showing all the platforms where the book is sold, right? However, I am in no way able to display the relationship on the individual book page with the corresponding platforms. Either all platforms appear, unrelated to the book, or no platform appears. I spend hours looking for solutions, whether with relations, with queries of all kinds and nothing works kkkk I'm already sleepless for a detail that I imagine must be simple, but I can't see the error. Importantly, the field names are identical in both CPTs (title-book) and I can see that this field only captures the ID and not the actual title. I've already gone through all the videos from Crocoblock and several youtubers and nothing similar to my case!!! Thank you if you can help.
Hello, send a message on any of my social profile mentioned in description, i ll help u
@@MoxetKhanPK sent
Great video! Please make an update when Coroblock fixes the problem with not being able to add relations in the frontend with a form.
I ll keep you updated..
@@MoxetKhanPK I believe this has been corrected, right?
@@darylmeese9621 i saw some updates but did'nt tried so far.
@@MoxetKhanPK any updates yet? front end moderation is, of course, important for staff. Thanks for the great video!
@@MoxetKhanPK any update on the front-end relationship building, please?
Thank you Moxet, for the tutorial.
Please I want to know how this method is, compared to the Jet Reviews Plugin (optimization, how data is saved in the database, etc.)
Thanks.
Dude, this video save my life, thank you very much :)
Awesome. Make complete croco blocks tutorials. Plz plz.
Great video! I followed every detail but it doesn't work for me sadly
Thank you. Can we redirect user to homepage if that user don't have relation with post?
It's been a year since this video was created. Can we now add a CCT from a form on the frontend?
Can u make a complete basic to advanced series on crocoblock plugins please?
Shakib there are lots of tutorial on youtube from Crocoblock, WPTuts and other creators which covers basic, i focus on a bit advance level.
@@MoxetKhanPK but yours are by far the best, and easier to understand. :) Thank you for your tutorials!
In listing grid, only one CCT item is showing, please help me bro
Is it possible to create a SaaS multi-tenant structure with jetengine?
Yes possible, mind sharing specific scenario
Just checking to know if it is now possible to add cct through a fomr
Yes it is possible
hello sir listing item can have custom post option why
In the query builder is not available anymore the type "related items" how can we make it work with the current version?
Related item is still there..
It is also possible with post id and a query as in the video commenting system. isn't it?
Yes that works as well
awweeesomee, thanks a lot. Question: Can you auto asign feedback to tickets instead doing manually?
Hi, is this question related to this tutorial, i am not sure?
Hi, Great Tutorial. I want to know one thing that when we create a data store for favourites then how can we give condition that only registered users will be able to add to fav
You have to show favorite button to logged in users only using dynamic visibility.
@@MoxetKhanPK Thank you so much for this. Actually, I want to show this option to users. My point was if the user is not log in then the add to fav button redirects them to get register or sign in. Can you guide me on this I will really appreciate your efforts
@@arifaarif172 You have to use the same logic Arifa, take two buttons one for logged in which serve for favorite and other for non-logged in users which takes them to login page or popup. Dynamic visibility does wonders if use properly.
@@MoxetKhanPK Great Thank you so Much
@@MoxetKhanPK Thank you so much. I appreciate your feedback
Thank u.
Please make more videos from Crocoblocks plugins. Special Jet Engine.
Nice one bro ! I have question thought, how would you add a filter after all that? I mean, I have to do exactly the same, but I need to filter for a metafield that i created in the CCT.
Is there any way you can filter from the listing grid settings?
or would you do it directly from the custom query that you created
Apparently, when u use a custom query, you cant use others querys
In custom query, you can apply meta filter on CCT or CPT. What is your use case?
@@MoxetKhanPK Yeah! I added it in the custom query and it worked fine!
I have projects, related to Campaigns (with metafield STATUS: In progress and Finished).
Thank you !!!
Nice, but how to create the same relationship between a CCT and another CCT?
well it is possible but i don't recommend, if you need a single page of CCT it create CPT again; so no practical use as of now.
Nicely done!! Thank you!👌
Awesome video. Very clear. Could you make a video about CPT parent and CPT child and show related CPT child items on parent CPT?
Thank you Rik, it should be the same procedure.
- In relationship you choose child and parent CPT
- Create your listings
- Build a query as mentioned above
Hi Moxet. Been trying my best, but can't figure it out... Both cpt's are many to many, could that be the issue?
@Rik Derks J.R. Not at all, many to many must show on both side, will see and share soon.
Love how this chqp replies. Very kind.
waiting for your next video
Nice one! 👌🏼😁
moreee video, love youuu!!!
I did this without query and only listing and cct front end form submission. Just add current post id aa hidden field in cct front end form and then listing with post query current post id.
Same thing
Thanks for this amazing tutorial, please do a tutorial of when one can use CCT and CPT and their differences. Many thanks
CPT - Uses the same database table as normal WordPress posts. Generates a unique standalone post alongside each item. Good choice if you need each listing item to have it's own generated page. It's literally a custom POST.
CCT - Uses it's own database table, making it faster if querying through large amounts of data or on large wordpress sites with lots of content. Doesn't have its own standalone post that gets created alongside each item. Good if each listing item doesn't need it's own generated page, and probably a healthier solution for the database. It's just custom CONTENT, not a POST.
@@SuperIce6374 many thanks for this explanation, very straightforward. You're a legend... It seems I may have to redo some of my projects... 😏😄😄
@@rodlivz Sure thing, glad that was helpful. That's just what I remember of the two when I did my research on them, trying to figure out which was good for what sorts of scenarios.
I mostly use custom post types, in my work I don't usually find much use for CCTs. Maybe if you needed some easily filterable list of names or brands displayed.
I see software companies that like to list the other software they integrate with, and its often dozens or hundreds of brand names that need to be filterable but don't need a post associated with them. That would be a good example of an application for CCTs.
Otherwise, CPTs are way more versatile.
@@SuperIce6374 I just built a website which had filterable downloads with a title, date and document type. Unfortunately, I used CPT and now each one of them behaves as a single page. The CCT solution would've been perfect for this! So I've been thinking of rebuilding the entire section... 😔
@@rodlivz dang, that would have been a good use case. Well, perhaps you can add additional information about the file on the CPT page. You technically don’t have to link to the generated page either if you don’t want, but it will be in the database and on the site map, and if you’re doing tons of downloadable files it might be worth a rebuild with CCT. Best of luck!!
Salom bro ! really BIG TNX ! Insholo
Great!
Please let me know your whatsapp/email Contact. i want to learn jetengine from you. I'm From Indonesia.