PricingBlog

Create dynamic template pages for projects in my CRM?

  • alexsiale_17363-1245478489000251465

    Alex

    1 year ago

    In Webflow you can create Template pages based off of your CMS lists. This is powerful so you can create dynamic pages for each CMS item, essentially giving each item a landing page or profile page etc etc. How can this be achieved in Toddle?

    Do I create a new page with essentially everything hooked up to Variables which is then controlled by a previous click event or something?

    Complete noob over here, so any help is very appreciated!
  • lucasg-1245481547990302921

    Lucas G

    1 year ago

    Use components
  • You're building a CRM so I am assuming you have a list or table which the user can click into to via detailed page
  • alexsiale_17363-1245481755222474845

    Alex

    1 year ago

    yes, but haven't created that suqeuence yet
  • lucasg-1245481780677443655

    Lucas G

    1 year ago

    In which case, you could pass the item's ID to the detailed page which is used to fill the info
  • alexsiale_17363-1245481816505188473

    Alex

    1 year ago

    I'm just about finished the dashboard page, now I want the unique project pages - correct
  • lucasg-1245481820296974508

    Lucas G

    1 year ago

    Via a URL param for example
  • jacobkofoed-1245481924193943582

    Jacob Kofoed

    1 year ago

    I'm not 100% sure I'm understanding the question, but perhaps you are just talking about URL params. On the page URL setting you can make dynamic routes so each item can have its own page.
  • alexsiale_17363-1245481940505854044

    Alex

    1 year ago

    I'm still learning how to do this type URL param workflow - forgive my noobness
  • lucasg-1245482122727395480

    Lucas G

    1 year ago

    URL parameters are very handy
  • jacobkofoed-1245482138552500384

    Jacob Kofoed

    1 year ago

    There's some docs on it here https://docs.nordcraft.com will be happy to update them if its not clear
  • lucasg-1245482197775810590

    Lucas G

    1 year ago

    Set up your details page and assign URL params to it, in your case maybe somethign like ID
  • Then from your table you can pass the item's ID via a dynamic URL
  • alexsiale_17363-1245482333499560096

    Alex

    1 year ago

    1245482333268742236-Screenshot_2024-05-30_at_9.01.18_AM.png
  • Tod-1245482335575609465

    Tod

    1 year ago

    Great energy @Alex! Your continuous contribution to the toddle Community just made you advance to Community Level 8!
  • lucasg-1245482353011327117

    Lucas G

    1 year ago

    And on your details page, you can use that ID to fetch any info that is needed
  • 239798169037176833-@Jacob Kofoed
    There's some docs on it here https://docs.nordcraft.com will be happy to update them if its not clear
    alexsiale_17363-1245482362414956604

    Alex

    1 year ago

    oh nice!
  • 1235848107946672168-@Alex
    lucasg-1245482622742827120

    Lucas G

    1 year ago

    Instead of using the Go to action, you could set it as a link which will allow you to give it dynamic data
    👍1
  • Change the div tag to a and give it an href attribute
  • Then you can build that URL with a concat node for example
  • And pass along the item's ID via the URL
  • Then you can have a dynamic page from that URL
  • Make sense?
  • lucasg-1245483287305130004

    Lucas G

    1 year ago

    You can of course do it different ways if you want to do an SPA type of thing but that would be how you would do it using URL parameters