We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27708 MODX Staff
    • 2,502 Posts
    I wonder if one of the Forum Admins could consider creating a subforum for FDM. While it is in development and no other development subforums exist the thread is getting longer and longer and it might make it easier for the forward movement of FDM if it had its own SF.

    Thanks,

    Jay

    PS: Lets not forget our new Dad Soda for such an awesome and groundbreaking Snippet. smiley
      Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
      • 21191
      • 236 Posts
      Sorry not trying to be a pain, just curious if there is a possibility of uploading a file into a TV with FDM ..

      We are trying to make a pdf document manager here at work.
        ~Shawn Himmelberger
        Check out my MODx Development and MODx Design Company - Himmelberger Design
        • 36416
        • 589 Posts
        Quote from: Eol at Jan 08, 2008, 09:43 AM

        Quote from: smashingred at Jan 08, 2008, 08:46 AM

        If didn’t sort it out. If your client wants to just publish today all will be fine but if you are using model and want to change the pubdate then you may have problems. I think that the answer is that the dates are being handled by a loop as a string and if I look at the way News Publisher does it is not the same.

        I certainly have problems - about to jump in FDM code and see where’s the problem... most NewsPublisher comes with default MODx installation and is snippet-only (without included file classes), right?

        This fix works, but it is too specific (pub_date field only):
        http://modxcms.com/forums/index.php/topic,14977.msg108317.html#msg108317

        Need to think a bit more about field metadata...
          • 27708 MODX Staff
          • 2,502 Posts
          Quote from: neon_eddy at Jan 08, 2008, 10:42 AM

          Sorry not trying to be a pain, just curious if there is a possibility of uploading a file into a TV with FDM ..

          We are trying to make a pdf document manager here at work.

          Just to backtrack a little...

          Could you explain the final output or at least your concept process?

          I want to know why a TV or if you could add a snippet (or plugin) to use a TV to grab a file in a particular location after it has been updated? It may also be possible to extend the FdmDocument class to handle this.
            Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
            • 21191
            • 236 Posts
            Our end goal is a form you fill out with:
            a job number
            a job name
            a client name
            project description
            project thumbnail
            project pdf

            then I’m hoping to use a sweet ajax search to search it all easily

            Attaching the pdf is the tricky part..
              ~Shawn Himmelberger
              Check out my MODx Development and MODx Design Company - Himmelberger Design
              • 27708 MODX Staff
              • 2,502 Posts
              This form is the process which helps out but what is the end result? Who is going to see the output? Is it public? Where front or back end?

              Would you just want to end up with a link to the saved pdf in the page content somewhere?

              You certainly can post to a TV but a file upload is not as straight forward as this.

              You may need to wait for someone more adept at file handling than I. There is a FileUpload snippet in the Repo and I know that you can use files with eForm so I don’t see why it can’t be done.

              Sorry. Hope you find your solution.

              Cheers,

              Jay
                Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
                • 7231
                • 4,205 Posts
                I think that this is one of the cornerstone snippets for MODx, it has great potential (is great ’as is’ but could be even better). NewsPublisher is nice but has it’s limitations compared to FDM.
                  [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

                  Something is happening here, but you don't know what it is.
                  Do you, Mr. Jones? - [bob dylan]
                  • 21191
                  • 236 Posts
                  Clients and or us... it’s more of a digital archive I guess, right now we have large binders with hard copy archives, bleh.

                  I think I have a solution, We are going to sue some sort of ajax file upload.. , then insert the end file path to a TV for the download link.

                  Yes the end product would be a full " job description" with a link to the pdf and a thumbnail, etc.. it should be sweet when it’s done.

                  I have not decided on any ajax file uploader.. any ideas?
                    ~Shawn Himmelberger
                    Check out my MODx Development and MODx Design Company - Himmelberger Design
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                      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
                      • 21191
                      • 236 Posts
                      hmm crap, turns out I’m too much of a dunce to figure this out.

                      What has me thinking this should be "doable" is the fact that eform can take files for email attachment right? eform is the core of FDM if I’m not mistaken. If anyone can help with this in theory or code it would be helpful
                        ~Shawn Himmelberger
                        Check out my MODx Development and MODx Design Company - Himmelberger Design