We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26921
    • 4 Posts
    http://harmonwilfred.com/lumina-diem/Case-History-section-7/

    in the left side the list of pdf files are shown and in the content area normal content displays.please note when drop down value changes both are changed..i need a document library back end where all the pdf files will be shown and uploaded to the server, then for a page i also need the left hand side list of pdfs also need those to add remove the pdfs for that page.. how to make this ,any idea please ...share..i m using modx 0.9.6
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Please, please upgrade your MODx. The version you are using is very old, and a number of security vulnerabilities have been discovered and fixed since then.

      As far as your question, you’ll need a module for the back-end, and a TV or snippet to fetch the list of files for a given page. You could create a specialized page to manage the whole list of files from the front-end for a logged-in user if you prefer.
        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
        • 26921
        • 4 Posts
        Hello,
        Thanks for reply.
        Yes you are right, module for backend, but i am new in modx, can you give me any module name that handles with pdf files.

        You said that: "You could create a specialized page to manage the whole list of files from the front-end for a logged-in user if you prefer."
        It seems to be interesting, how can i create specialized page ?

        Waiting for your reply.

        Thanks again.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          You create a module by going to Modules -> Manage Modules, the Create New button. The Manager is frame-based, so your module can be created using ordinary mixed HTML/PHP code .php files.

          http://sottwell.com/create-module.html

          I suppose the "specialized" adjective confused the issue; create a page that has a form with the "resource manager" that TinyMCE uses. Leave it unpublished, since logged-in Manager users can view unpublished pages. You can add any Javscript resource browser to the form for uploading/deleting/renaming files. These would also work just fine for a module if you prefer that approach.

          http://www.solitude.dk/filethingie/

          This would be a very useful custom TV as well; especially since you could use a javascript file manager that allows multiple uploads.
            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