We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27889
    • 415 Posts
    &model parameter dont work correctly. With out &model parent doc copy them self.

    That’s totally normal, as is it wrote in the doc.
    The snippet select is removed, because snippet chunk are not correctly parsed in eForm.
      MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
      MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
      • 29039
      • 58 Posts
      Quote from: Soda at Jun 18, 2007, 02:32 AM

      &model parameter dont work correctly. With out &model parent doc copy them self.

      That’s totally normal, as is it wrote in the doc.
      Yes, its clean.
      Problem is. I cant make (edit and save) a new doc with &model. In manager area or in menu I see new doc (copy of &model) in parent dir after adding doc. But have not edit form, i have 404 eror page.

      PS. I think we need to make new doc with curent system setings parameters (not dublicate of curent doc) by pressing add button if &model not set.
        • 33992 ☆ A M B ☆
        • 455 Posts
        @ Soda
        Quote from: Soda at Jun 17, 2007, 12:43 PM

        Can you post your fdmEform template, and your call ?
        I installed FDM 0.0.8 and use default fdmEform chunk and snippet code below:
        [[FDM? &parent=`185` &anonymous=`1` &eform_tpl=`fdmEform`]]

        and i can’t use TinyMCE, when i add the codes all of content part place in TinyMCE editor space.
        maybe it happens because [*content*] is placed in <div id="content">...</div>

        Thanks
        AHHP
          God loves me. 【ツ】


          MODX.ir (Persian Support)

          Boplo.ir/modx/ (Persian)
          • 29039
          • 58 Posts
          russian-UTF8 lang file
            • 29039
            • 58 Posts
            Newone!
            Access forbidden!
            You don’t have permission to access the requested object. It is either read-protected or not readable by the server.
            If you think this is a server error, please contact the webmaster.
            Error 403
            siteurl/.html?fdmaction=edit&fdmid=151
              • 27889
              • 415 Posts
              @albert_hp try the last version. You must have a "content" id in your template, change it to another name.
              @swit4er, it seems that is is a problem with generated alias, I will do somes checks.
                MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
                MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
                • 29039
                • 58 Posts
                @soda I think problem in stripAlias function.

                solved
                add in array
                ’а’=>’a’, ’б’=>’b’,’в’=>’v’, ’г’=>’g’, ’д’=>’d’, ’е’=>’e’,’ё’=>’e’, ’ж’=>’j’, ’з’=>’z’, ’и’=>’i’,’й’=>’y’, ’к’=>’k’, ’л’=>’l’, ’м’=>’m’,’н’=>’n’, ’о’=>’o’, ’п’=>’p’, ’р’=>’r’,’с’=>’s’, ’т’=>’t’, ’у’=>’u’, ’ф’=>’f’,’х’=>’h’, ’ц’=>’ts’ ,’ч’=>’ch’, ’ш’=>’sh’,’щ’=>’sch’, ’ъ’=>"’" ,’ы’=>’i’, ’ь’=>"’",’э’=>’е’, ’ю’=>’yu’, ’я’=>’ya’, ’А’=>’A’,’Б’=>’B’, ’В’=>’V’, ’Г’=>’G’, ’Д’=>’D’,’Е’=>’E’, ’Ё’=>’E’, ’Ж’=>’J’, ’З’=>’Z’,’И’=>’I’, ’Й’=>’Y’, ’К’=>’K’, ’Л’=>’L’,’М’=>’M’, ’Н’=>’N’, ’О’=>’O’, ’П’=>’P’,’Р’=>’R’, ’С’=>’S’, ’Т’=>’T’, ’У’=>’U’,’Ф’=>’F’, ’Х’=>’H’, ’Ц’=>’TS’, ’Ч’=>’CH’,’Ш’=>’SH’ ,’Щ’=>’SCH’, ’Ъ’=>"’", ’Ы’=>’I’,’Ь’=>"’", ’Э’=>’Е’,’Ю’=>’YU’, ’Я’=>’YA’
                  • 27889
                  • 415 Posts
                  I add this for next version smiley
                    MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
                    MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
                    • 29039
                    • 58 Posts
                    OK. All work.

                    But, when i create a new doc, fdm just copy model doc in parent dir and open it for edition. In this time users can see edited draft doc in ditto or in menu. If big number of blogers in some time will create new docs, In ditto user will see list of blank, edited in this time docs.
                    Bad news.

                    I seems..... by pressing add button, open for edition &model doc, and force set $parent and $user when save changes.
                      • 27889
                      • 415 Posts
                      I ’m not sure to understand what you mean, but if you don’t wan’t to display "empty" docs, you can filter them using phx, or set them unpublished and/or hide in menu.
                        MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
                        MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]