• Resolved mahmoudawadeen

    (@mahmoudawadeen)


    Hello,

    I am creating an ACT and I’d like to view that on a pod page. I activated the pod page component and the ACT component. I created a PHP template “page-pod.php”, created an ACT “pod-at” with Detail Page URL “pod-ats/{@permalink}”, and page with URL “pod-ats/*” where i chose the template “page-pod”.

    Now whenever I visit the page by clicking view on an ACT instance, it goes to localhost:port/wordpress/pods-ats/<insert-act-permalink> and I get 404.

    What do is wrong with my configuration?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Bernhard Gronau

    (@quasel)

    Hi,

    been ages since i used ACT but if I remember correctly the configuration looks correct – hard to tell what’s going on, maybe another setting is interfering?

    That being said – make sure you truly understand when to use https://pods.io/docs/learn/what-are-advanced-content-types/ they more or less live completely outside of WP and since the introduction of CPT only make sense in very rare use cases!

    Thread Starter mahmoudawadeen

    (@mahmoudawadeen)

    Hey @quasel

    thanks for reaching out, I need to have the data in “clean” structure to be able to pull the db and do some data analysis on the data which is pretty hard if all the info is in the WordPress post table mingled with everything else around it. I’m fairly new to WordPress, so maybe I’m missing some kind of configuration. could you maybe suggest what could possibly be wrong? It’s a fresh new website that I’m playing around with, so there shouldn’t be that many configurations done on it. Please let me know if there’s anything i can provide that would help you help me ??

    Plugin Contributor Bernhard Gronau

    (@quasel)

    Oh yeah that can be a reason still ACT makes it very tricky to use all the Stuff that WP provides…

    Depending on your needs I would take a look at “Table Storage” as an option then all “custom fields” will be stored in a separate table except the relationship data ( https://pods-pro.skc.dev/downloads/advanced-relationship-storage/ that’s to be related in the future) – https://pods.io/docs/comparisons/compare-storage-types/

    Maybe you have a mixup with pod-at and pod-ats somewhere in your configuration – https://docs.pods.io/tutorials/using-pods-pages-with-advanced-content-types/

    Thread Starter mahmoudawadeen

    (@mahmoudawadeen)

    Hey @quasel

    I would actually like to use custom post types only because ACT looks like it’s going to complicate things going forward. How does the table storage component store the tables, i already gave it a try but i see everything is in postmeta, is that it? or does it add a new table for each post type to store the meta? i think i can live with this as long as i can do some joining magic when exporting the data for further analysis.

    Plugin Contributor Bernhard Gronau

    (@quasel)

    Hi @mahmoudawadeen

    there should be a a new table for each post type but that’s only for fields added by pods (except relationship information) – every other field from WordPress core still lives in posts / postmeta

    Hope that helps!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to connect pages with ACT’ is closed to new replies.