We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18367
    • 834 Posts
    I’ve installed it ok, but when I try to edit anything nothing happens.

    That is, I see the buttons, press the Edit button, and all the editing features come up, but when I try to change any text nothing happens.

    Any ideas?

    Thanks
      Content Creator and Copywriter
      • 3493
      • 66 Posts
      It may help to call the snippet uncached, like this; [!FDM!]
      If you’re using the editorpageid parameter, remember to use the exact same uncached call on the page where you want the form to appear.

      Also, if you’re using modx 1.0, FDM might not be supported.

      There’s also a known bug when using the editorpageid. FDM requires the parameter id on both the editor page, and on the page displaying the FDM toolbar. In most instances, the id parameter is dynamic, which causes a problem, since both calls must be absolutely identical. There could be a solution to that problem further back in this thread, but I’m not quite sure.
        • 29525
        • 388 Posts
        I’ve setup FDM to create documents and want to allow the original authors to edit their own docs.

        This is what’s working so far.
        Users can register for login and pw.
        New users are put into a specific document group
        Registered users can create a new document using FDM
        FDM will put the new doc into the same document group as new users
        Logged in users can see all the documents created in a ditto list
        When users go to their documents (from ditto) they see the edit document button

        Here’s the strange part

        When they click on the edit button, the are presented with only a few of the fields on the form and some of the fields are not presenting the correct data.

        See screen shots

        This is the call to create the document:
        [[FDM? &language=`english` &eform_tpl=`fdmEformbackup2` &parent=`318` &model=`325` &redirect=`326` &&canpost=`agents` &disableedit=`0` &disabledelete=`1` &disableunpublish=`1`  &eform_noemail=`0` &eform_subject=`[+subject+]` &eform_report=`emailreport`   ]]


        I’ve placed this call in the template used by the document above the form.
        [!FDM? &disableadd=`0`&id=`[+id+]` !]


        When the user views their own document the edit button appears but when they try to edit the document, they see only four of 13 fields. Also, since the data isn’t matching the fields, the form returns validation errors that prevent it from being submitted.

        Any thoughts on this?

        Terry
          www.terrybarthdesign.com
          • 36624
          • 535 Posts
          Quote from: Terry at Aug 22, 2009, 10:12 AM

          ...

          ... in your call you have a typo.. &&canpost=`agents`...
            CTRL+SHIFT+U - Clear Cache
            CTRL+SHIFT+H - Hiding Heft Panel
            CTRL+SHIFT+N - Fast Create Resource
            CTRL+ALT+P - Preview Recource (in edit resorce window)
            CTRL+ALT+S - Save
            • 29525
            • 388 Posts
            manu

            Good catch! However, correcting this had no effect on this editing behavior.

            Am I approach this correctly with the two different calls where they are?

            Other thoughts?

            Terry
              www.terrybarthdesign.com
              • 23419
              • 9 Posts
              I have this wonderful snippet working just like I want apart from one thing!?

              When the user clicks to add an image from the TinyMCE editor, it appears incomplete like so:


              As apposed to when you use the front end manager editor, quickedit:


              Does anyone know why please?

              This is my chunk that calls it:
              <script language="javascript" type="text/javascript" src="assets/plugins/tinymce3241/jscripts/tiny_mce/tiny_mce.js"></script>
              <script language="javascript" type="text/javascript">
              
              // Configuration detail check http://wiki.moxiecode.com/index.php/TinyMCE:Configuration
              tinyMCE.init({
              	theme : "advanced",
              	mode : "exact", // textareas:    Converts all textarea elements to editors when the page loads. exact: Converts elements of the specified names, as listed in the elements option.
              plugins : "spellchecker,pagebreak,style,advhr,advimage,advlink,preview,media",
              // This option should contain a comma separated list of element id's to convert into editor instances. This option is only used if mode is set to "exact".
              //	ie:	elements : "elm1,elm2"
              	elements : "contentedit",
              content_css : "assets/templates/angelamary/css/portfolio_style2.css",
              });
              </script>
              


              smiley
                • 18878
                • 210 Posts
                Quote from: pinkpoliceman at Aug 28, 2009, 07:07 AM

                I have this wonderful snippet working just like I want apart from one thing!?

                When the user clicks to add an image from the TinyMCE editor, it appears incomplete like so:


                As apposed to when you use the front end manager editor, quickedit:


                Does anyone know why please?

                I think we’re having a similar problem. I posted a detailed description of my problem here: http://modxcms.com/forums/index.php/topic,30554.msg186619.html but never received an answer. huh

                Mc
                  • 3493
                  • 66 Posts
                  Here’s an option for all users with interest in front-end editing:
                  pkBlog: http://modxcms.com/forums/index.php/topic,38685.0.html

                  Good stuff, and as far as I can understand a better alternative at this point. FDM’s developer does not have the opportunity to continue this project, in its rather buggy state. Absolutely understandable, but I’m glad someone picked up on it, and started fresh smiley

                  Check it out!
                    • 19374
                    • 41 Posts
                    So FDM does not work with MODx 1.0.2 ? I would use the pkblog but I don’t get how to bring it to work, it’s a little bit harder than the simple blog tutorial on Wiki etc.

                    Maybe one could make a simple tutorial for the pkblog?
                      • 9460
                      • 12 Posts
                      @micronetic : I am usinf FDM with MODx 1.0.4 and it works.

                      I have an issue with FDM.
                      Is-it possible to assign to the menuindex an incremental value for new page creation?

                      I have not managed also to assign menuindex variable to the docid (or the alias field) using the form template. Is there a way to do that?

                      Thanks in advance.