We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32696
    • 2 Posts
    Hi there

    Fairly new to this cms/framework but liking it, great job!

    Have a few issues/queries...

    1. Was checking out how to create a module and the documentation is missing images....
    http://svn.modxcms.com/docs/display/Evo1/How+to+create+and+run+a+module+from+within+the+Content+Manager

    2. Is there a better way to recreate ’page attachments’ in a similar fashion to your documentation?
    Basically I want a page to have multiple pdf documents attached to a page, but don’t want to keep on adding TV’s...
    If there is not, would the best way to go about it be to code a module from scratch?

    Cheers!



      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Perhaps load a Jot call on the pages in question? I’ve successfully added image upload/insertion and file upload/insertion fields to a Jot form. You could use a Jot form tpl that only had this field, and a "comments" tpl to display them. If you don’t assign any "canedit" or "canmoderate" or "canpost" parameters, only a logged-in Manager user gets the form and the edit/delete buttons. I’ve even added a Javascript drag-and-drop ordering feature, so along with the edit and delete buttons for each item there is a "move" button.
        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
        • 32696
        • 2 Posts
        Thanks for the reply and suggestion! I suppose we could go this direction but the process of managing the website is a little odd for workflow (I won’t be updating it when it’s done). Would rather keep all editing inside the CMS admin!