We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27889
    • 415 Posts
    beagle , all is in the doc:
    1. Upload the assets directory to the root of your site.
    2. Create a new snippet in the manager
    * Name it FDM
    * Copy and paste the content of file [snippet]FDM in the source content the php tags are present in the file so erase it before paste).
    * Optionnal: New category: FDM
    * Save !
    3. You must have a template for eForm wich allow to edit the document fields you want, this is the fdmEform chunk. Create your own or use the provided example.
    * Create a new chunk in the manager
    * Name it fdmEform (or change the eform_tpl parameter)
    * Copy and paste the content of a file [chunk]FDMeFormTpl in the source content (the php tags are present in the file so erase it before paste).
    * Optionnal: Select category: FDM
    * Save

    I will check these install problem as soon as I can
      MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
      MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
      • 2960
      • 16 Posts
      Tanks Soda.
      Now I try....
        • 27708 MODX Staff
        • 2,502 Posts
        I am getting desparate :’(

        I really need to sort out why FDM is not saving the pub_date and unpub_date using the dhtml calendar from MODx. The site is live but I can’t use FDM (0.1b) becuase the dates keep saving as NULL and returning the unix timestamp zero hour of January 1, 1970. I don’t know if this has to do with the Model Document or the way FDM is retreiving them from the database. They should be returned styled as part of the field but show up as the raw timestamp (if I had gone into the manager to edit them).

        I will take any advice from anyone to see where I should look or if I need to take a whack at the api with the FDM files themselves to make the dates populate and save properly.

        My thoughts are that you really ought not to be grabbing them from the DB in a loop as part of an array without doing strftime() on them.

        Please help. Please!

        All the best,

        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
          • 2960
          • 16 Posts
          Hi, I have a big problem. I don’t know the difference between document and model.... I’ve created a document and called it "ModelProducts" (id 17), and a folder "Products" (14) with the script that is called "<p>Add a product : [!FDM? &model=`17` &parent=`[*id*]` &disableedit=`1`..............................". When I select the botton "Add a product" it doesn’t open the model with the script "{{product}}", but it opens "fdmEformProduct" chunk.
          So, my problem is that I can’t update imagin with my products.

          I realy sorry for my english and for my explanation.

          Could someone help me.

          Thanks in advance.
            • 27889
            • 415 Posts
            @smashingred, I waitting code from helliotrope to edit all kind of field in FDM, but I will have a look, as soon as I can.
            @beagle, a model is ... a document, the model is duplicated as the new document to edit when you click add in the FDM. The chunk is stripped when editing and is replaced at save.
              MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
              MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
              • 19164
              • 1,215 Posts
              Hello!

              Is it possible to set default published value to 0 for canmoderate webgroup?

              Im trying to use hidden field
              <input type="hidden" name="published" value="0" />
              in eform_tpl but document is pulished by default.

              I need that users can edit, (un)publish their docs, but doc must be unpublished when created.

              Thank you.
                DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. | DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.

                Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.

                [PLUGIN] DirectResize - as Maxigallery but for single images :: Download :: [url=http://modxcms.com/forums/index.php/topic,21490]
                • 27889
                • 415 Posts
                @Mettaller try &moderated=`1`
                  MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
                  MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
                  • 19164
                  • 1,215 Posts
                  Thanks for your advise, but i am tried it before.

                  Snippet call is
                  [[FDM? &model=`0` &parent=`13` &disableedit=`1` &disabledelete=`1` &disableunpublish=`1` &disablepublish=`1` &eform_tpl=`fdmGalNew` &canmoderate=`Users` &moderated=`1`]]


                  and doc is published when created.

                  Please add this feature in the next version if its possible.
                    DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. | DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.

                    Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.

                    [PLUGIN] DirectResize - as Maxigallery but for single images :: Download :: [url=http://modxcms.com/forums/index.php/topic,21490]
                    • 23050
                    • 1,842 Posts
                    Hi Metaller,

                    My call is
                    [!FDM? &parent=`2` &redirect=`11` &anonymous=`1` &eform_tpl=`fdmEformannu` &model=`0` &language=`french` &eform_report=`ReportFDMForm` &disableedit=`1` &disablepublish=`1` &disableunpublish=`1` &disabledelete=`1`!]


                    and doc is unpublished by default.
                      • 19164
                      • 1,215 Posts
                      Hi Perrine, thank you. I forget to say, but only registered users can manage documents in my case.

                      I think thath i tried to use your snippet call but with phx "if user then call snippet" condition. This can work but its not very beautiful decision. Its not working. When using &anonymous=`1` snippet works only for unregistered users.
                        DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. | DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.

                        Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.

                        [PLUGIN] DirectResize - as Maxigallery but for single images :: Download :: [url=http://modxcms.com/forums/index.php/topic,21490]