We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 87
    • 51 Posts
    Hello, I was wondering if there was a snippet available for easy quote manangement. I want the user (a few set people who run the site but might not have admin rights) to be able to pretty much copy/paste the quote into a textbox and have it post in a database. I’d like to be able to pull all those quotes out by different paremeters like random, newest, maybe even top rated.

    Any suggestions would be helpful. I dont have much PHP/Js experience.
      • 28042 ā˜† A M B ā˜†
      • 24,524 Posts
      I found the easiest way to do this was to create a folder in the document tree just for this, and use Ditto to display the quotes. Ditto is extremely flexible in what you can do with a folder full of documents! You could use the manager plugin that controls what a given user sees in the document editing page as well, to simplify the issue for your quote editors.
        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