We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34213
    • 32 Posts
    Ok I have built a website alsministries.com, The only issue i’m having is getting these snippets to work.
    I’m trying to use formit and login.
    I am normally a Joomla user my other websites have either been regular html and css, joomla, and wordpress. So I am new to Modx but not new to websites.
    Just being a different setup then what I am used to.
    I am trying to get the login link (top right of page) to go to the login snippet.
    I also am trying to get the formit where I can create a custom forum so when somebody selects the contact us they can fill out the small form. I have just create a small form I coded until I can get this formit snippet to work.

    Thank you,
    kevin
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Basically, you put the snippet tag where you want the snippet’s output to appear (much like the inline <?php ... ?> tags). Snippets have parameter options; their documentation will tell you what they are. An interactive snippet must be called uncached [[!...]] if the resource it’s on is cacheable, or if you are using it in a template, where most pages using the template will most likely be cached. That’s the most common reason why a form snippet won’t work.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org