Build CPT & CCT Relationships & Display Listings with JetEngine

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 74

  • @stephenandrewjacobs
    @stephenandrewjacobs 9 месяцев назад +2

    Hi Moxet, thank you for this video. Do you have an update on the form functionality?

  • @harveybotero9392
    @harveybotero9392 2 года назад +1

    Dude, this video save my life, thank you very much :)

  • @hanifbahari6606
    @hanifbahari6606 Год назад +1

    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.

  • @doktoredelremix
    @doktoredelremix Месяц назад +1

    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..

    • @MoxetKhanPK
      @MoxetKhanPK  28 дней назад

      @@doktoredelremix thanks for update

    • @chade_korea
      @chade_korea 8 дней назад

      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.

    • @MoxetKhanPK
      @MoxetKhanPK  День назад

      @@chade_korea you are welcome

  • @abdulhamid.469
    @abdulhamid.469 2 года назад +2

    Awesome. Make complete croco blocks tutorials. Plz plz.

  • @hooponopono.alfarrabiosdaalma
    @hooponopono.alfarrabiosdaalma Год назад +3

    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.

    • @MoxetKhanPK
      @MoxetKhanPK  Год назад +2

      Hello, send a message on any of my social profile mentioned in description, i ll help u

    • @skaldiltd5008
      @skaldiltd5008 Год назад

      @@MoxetKhanPK sent

  • @bigtutos5804
    @bigtutos5804 Год назад

    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.

  • @stillready6405
    @stillready6405 2 года назад +4

    Great video! Please make an update when Coroblock fixes the problem with not being able to add relations in the frontend with a form.

    • @MoxetKhanPK
      @MoxetKhanPK  2 года назад +1

      I ll keep you updated..

    • @darylmeese9621
      @darylmeese9621 2 года назад

      @@MoxetKhanPK I believe this has been corrected, right?

    • @MoxetKhanPK
      @MoxetKhanPK  2 года назад

      @@darylmeese9621 i saw some updates but did'nt tried so far.

    • @emptysonofdoubt
      @emptysonofdoubt 2 года назад +1

      @@MoxetKhanPK any updates yet? front end moderation is, of course, important for staff. Thanks for the great video!

    • @seriatimgroup9454
      @seriatimgroup9454 2 года назад

      @@MoxetKhanPK any update on the front-end relationship building, please?

  • @moallaacademy
    @moallaacademy Год назад +2

    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
      @MoxetKhanPK  Год назад

      You can do it directly from relationships now, its already launched by JetEngine

    • @moallaacademy
      @moallaacademy Год назад +2

      @@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

    • @manlymanchild
      @manlymanchild Год назад

      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!

    • @moallaacademy
      @moallaacademy Год назад +1

      @@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 ....

  • @popopp2297
    @popopp2297 5 месяцев назад

    It's been a year since this video was created. Can we now add a CCT from a form on the frontend?

  • @lamicropipeta
    @lamicropipeta Год назад

    awweeesomee, thanks a lot. Question: Can you auto asign feedback to tickets instead doing manually?

    • @MoxetKhanPK
      @MoxetKhanPK  Год назад

      Hi, is this question related to this tutorial, i am not sure?

  • @DigitalrealtyApartment
    @DigitalrealtyApartment Год назад

    Thank you. Can we redirect user to homepage if that user don't have relation with post?

  • @EarningJindabad
    @EarningJindabad 2 года назад

    hello sir listing item can have custom post option why

  • @sm0k1ngsku1l
    @sm0k1ngsku1l 4 месяца назад

    Great video! I followed every detail but it doesn't work for me sadly

  • @theDigital4X
    @theDigital4X Месяц назад

    In listing grid, only one CCT item is showing, please help me bro

  • @Art-01
    @Art-01 2 года назад

    Thank u.
    Please make more videos from Crocoblocks plugins. Special Jet Engine.

  • @A3lxxxx
    @A3lxxxx 2 года назад

    moreee video, love youuu!!!

  • @ngoclamlai
    @ngoclamlai 2 года назад

    waiting for your next video

  • @shakibkhan1921
    @shakibkhan1921 2 года назад +2

    Can u make a complete basic to advanced series on crocoblock plugins please?

    • @MoxetKhanPK
      @MoxetKhanPK  2 года назад +2

      Shakib there are lots of tutorial on youtube from Crocoblock, WPTuts and other creators which covers basic, i focus on a bit advance level.

    • @treepocket2834
      @treepocket2834 Год назад

      @@MoxetKhanPK but yours are by far the best, and easier to understand. :) Thank you for your tutorials!

  • @sgripen
    @sgripen 2 года назад +1

    Is it possible to create a SaaS multi-tenant structure with jetengine?

    • @MoxetKhanPK
      @MoxetKhanPK  2 года назад +1

      Yes possible, mind sharing specific scenario

  • @moncholo_
    @moncholo_ 2 года назад +1

    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

    • @moncholo_
      @moncholo_ 2 года назад

      Apparently, when u use a custom query, you cant use others querys

    • @MoxetKhanPK
      @MoxetKhanPK  2 года назад

      In custom query, you can apply meta filter on CCT or CPT. What is your use case?

    • @moncholo_
      @moncholo_ 2 года назад

      ​@@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 !!!

  • @Locallatitudetutorials
    @Locallatitudetutorials Год назад

    Nicely done!! Thank you!👌

  • @alessandropuricelli7400
    @alessandropuricelli7400 11 месяцев назад

    In the query builder is not available anymore the type "related items" how can we make it work with the current version?

    • @MoxetKhanPK
      @MoxetKhanPK  11 месяцев назад

      Related item is still there..

  • @ddewilt
    @ddewilt 2 года назад

    Nice one! 👌🏼😁

  • @OnyeStephen
    @OnyeStephen Год назад

    Just checking to know if it is now possible to add cct through a fomr

  • @jenniferward6821
    @jenniferward6821 2 года назад +1

    Great!

  • @roygh
    @roygh 2 года назад

    It is also possible with post id and a query as in the video commenting system. isn't it?

  • @rikderks5099
    @rikderks5099 2 года назад +2

    Awesome video. Very clear. Could you make a video about CPT parent and CPT child and show related CPT child items on parent CPT?

    • @MoxetKhanPK
      @MoxetKhanPK  2 года назад +1

      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

    • @rikderks5099
      @rikderks5099 2 года назад

      Hi Moxet. Been trying my best, but can't figure it out... Both cpt's are many to many, could that be the issue?

    • @MoxetKhanPK
      @MoxetKhanPK  2 года назад +2

      ​ @Rik Derks J.R. Not at all, many to many must show on both side, will see and share soon.

    • @jenniferward6821
      @jenniferward6821 2 года назад +1

      Love how this chqp replies. Very kind.

  • @rodlivz
    @rodlivz Год назад

    Thanks for this amazing tutorial, please do a tutorial of when one can use CCT and CPT and their differences. Many thanks

    • @SuperIce6374
      @SuperIce6374 Год назад +1

      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
      @rodlivz Год назад +1

      @@SuperIce6374 many thanks for this explanation, very straightforward. You're a legend... It seems I may have to redo some of my projects... 😏😄😄

    • @SuperIce6374
      @SuperIce6374 Год назад +1

      @@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.

    • @rodlivz
      @rodlivz Год назад +1

      @@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... 😔

    • @SuperIce6374
      @SuperIce6374 Год назад +1

      @@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!!

  • @arifaarif172
    @arifaarif172 2 года назад

    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
      @MoxetKhanPK  2 года назад

      You have to show favorite button to logged in users only using dynamic visibility.

    • @arifaarif172
      @arifaarif172 2 года назад

      @@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

    • @MoxetKhanPK
      @MoxetKhanPK  2 года назад +2

      @@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.

    • @arifaarif172
      @arifaarif172 2 года назад

      @@MoxetKhanPK Great Thank you so Much

    • @arifaarif172
      @arifaarif172 2 года назад

      @@MoxetKhanPK Thank you so much. I appreciate your feedback

  • @faromazjafarov7251
    @faromazjafarov7251 5 месяцев назад

    Salom bro ! really BIG TNX ! Insholo

  • @745651
    @745651 Год назад

    Nice, but how to create the same relationship between a CCT and another CCT?

    • @MoxetKhanPK
      @MoxetKhanPK  Год назад

      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.

  • @johndemolbot
    @johndemolbot Год назад

    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.

  • @omzool89
    @omzool89 26 дней назад

    Please let me know your whatsapp/email Contact. i want to learn jetengine from you. I'm From Indonesia.