We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27889
    • 415 Posts
    @lpastor The download link is at the bottom of the first post in this thread.
      MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
      MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
      • 22549
      • 19 Posts
      Quote from: Soda at Jun 01, 2007, 12:31 AM

      updated 0.7.0 in ditto call : add document only once
      updated 0.7.1 Better alias generation

      @pachirulo and @ola can you test the new one and report back ?

      Sure, on saturday i’ll start my own test, and send u a feedback
        • 22095
        • 30 Posts
        Here’s a new bug...

        The following call:
        [!FDM? &model=`85` &canmoderate=`Blog Admins` &parent=`[[getUsersFolder]]`  &disabledelete=`1` &disableunpublish=`1` &disableedit=`1` &disablepublish=`1` &eform_tpl=`fdmEformBlog`!]

        Shows the add image to everyone (anyone can add a document).

        These: (in a ditto template)
        [[FDM? &id=`[+id+]` &disableadd=`1` &canmoderate=`Blog Admins` &eform_tpl=`fdmEformBlog` ]]

        works as expected.
          • 27889
          • 415 Posts
          Ola try to set the &canpost to a group, normally when empty anonymous post are allowed
            MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
            MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
            • 22095
            • 30 Posts
            Yes, that solves the problem.

            Is there any way to set all permissions in one parameter (like &authorgroup=`FDM Admins`), which would grant all permissions to the specifed groups?

            If I use one of the supplied chunks for adding a new document, the timestamp field is in this format: 1180260340, but changes to 03-06-2007 21:39:14 if I use the datepicker.
              • 27889
              • 415 Posts

              Is there any way to set all permissions in one parameter (like &authorgroup=`FDM Admins`), which would grant all permissions to the specifed groups?
              The &canmoderate parameter is made for this.

              I will find a solution for timestamp.
                MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
                MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
                • 22549
                • 19 Posts
                Testing over 0.7.1.... I’ve a new issue....

                When I click "add page" icon, have this error (with &debug=all)

                FDM Debug Mode On
                debug all
                
                cfdm Object
                (
                    [config] => Array
                        (
                            [language] => english
                            [realdelete] => 0
                            [debug] => all
                            [action] => add
                            [permissions] => Array
                                (
                                    [post] => 0
                                    [moderate] => 0
                                    [trusted] => 0
                                )
                
                            [moderation] => Array
                                (
                                    [disablemanager] => 0
                                )
                
                            [topublish] => 1
                        )
                
                    [eFormParameters] => Array
                        (
                        )
                
                    [user] => Array
                        (
                            [ismanager] => 1
                            [id] => 1
                            [isauthor] => 1
                            [isanonymous] => 
                            [ismoderator] => 1
                            [istrusted] => 1
                            [canpost] => 1
                        )
                
                    [doc] => Array
                        (
                            [id] => 17
                            [parent] => 17
                            [published] => 1
                            [createdby] => 1
                            [model] => 27
                        )
                
                    [ctime] => 1180985162
                    [templates] => Array
                        (
                            [link] => Array
                                (
                                    [tpl] => 
                
                
                	[+user.canpost:is=`1`:and:if=`[+link.disableadd+]`:is=`0`:then=`
                		New Document
                	`:strip+]
                	
                	[+link.disableedit:is=`0`:then=`
                		[+user.ismoderator:is=`1`:or:if=`[+user.isauthor+]`:is=`1`:then=`
                		Edit 
                		`:strip+]
                	`+]
                [+user.ismoderator:is=`1`:then=`
                	[+doc.published:is=`0`:and:if=`[+link.disablepublish+]`:is=`0`:then=`
                		Publish 
                	`:strip+]
                	[+doc.published:is=`1`:and:if=`[+link.disableunpublish+]`:is=`0`:then=`
                		Unpublish 
                	`:strip+]
                	[+link.disabledelete:is=`0`:then=`
                		Delete 			 
                	`:strip+]
                `+]
                	
                
                
                                )
                
                        )
                
                    [path] => /home/villasol/public_html/assets/snippets/FDM
                    [client] => Array
                        (
                            [ip] => 190.48.82.114
                            [ua] => mozilla/5.0 (windows; u; windows nt 5.1; es-es; rv:1.8.1.4) gecko/20070515 firefox/2.0.0.4
                            [browser] => mz
                            [long_name] => mozilla
                            [version] => 1.8.1.4
                            [maj_ver] => 1
                            [min_ver] => .8.1.4
                            [letter_ver] => 
                            [javascript] => 1.5
                            [platform] => win
                            [os] => xp
                            [language] => es-es,es,en-us,en
                            [gecko] => 20070515
                            [gecko_ver] => 1.8.1.4
                             => true
                            [images] => true
                            [frames] => true
                            [tables] => true
                            [java] => true
                            [plugins] => true
                            [css2] => true
                            [css1] => true
                            [iframes] => true
                            [xml] => true
                            [dom] => true
                            [hdml] => false
                            [wml] => false
                            [must_cache_forms] => true
                            [avoid_popup_windows] => false
                            [cache_ssl_downloads] => false
                            [break_disposition_header] => false
                            [empty_file_input_value] => false
                            [scrollbar_in_way] => false
                        )
                
                    [userT] => 
                    [parameters] => Array
                        (
                            [language] => 
                            [debug] => all
                            [id] => 
                            [parent] => 17
                            [model] => 27
                            [disableadd] => 
                            [disableedit] => 1
                            [disablepublish] => 1
                            [disableunpublish] => 1
                            [disabledelete] => 1
                            [moderated] => 
                            [disablemanager] => 
                            [guestname] => 
                            [canpost] => 
                            [canview] => 
                            [canedit] => 
                            [canmoderate] => 
                            [trusted] => 
                            [notify] => 
                            [aliastype] => 
                            [realdelete] => 
                            [tplLinks] => 
                            [eform_tpl] => fdmEformProduct
                            [eform_formid] => 
                            [eform_report] => 
                            [eform_to] => 
                            [eform_noemail] => 
                            [eform_subject] => 
                            [eform_autosender] => 
                            [eform_debug] => 
                        )
                
                    [link] => Array
                        (
                            [disableadd] => 0
                            [disableedit] => 1
                            [disablepublish] => 1
                            [disableunpublish] => 1
                            [disabledelete] => 1
                            [current] => /~villasol/index.php?id=17
                            [parent] => /~villasol/index.php?id=17
                            [add] => /~villasol/index.php?id=17&fdmaction=add&fdmmodel=27&fdmparent=17
                            [save] => /~villasol/index.php?id=17&fdmaction=save&fdmid=17
                            [edit] => /~villasol/index.php?id=17&fdmaction=edit&fdmid=17
                            [delete] => /~villasol/index.php?id=17&fdmaction=delete&fdmid=17
                            [publish] => /~villasol/index.php?id=17&fdmaction=publish&fdmid=17
                            [unpublish] => /~villasol/index.php?id=17&fdmaction=unpublish&fdmid=17
                        )
                
                    [eform] => Array
                        (
                            [tpl] => fdmEformProduct
                            [formid] => fdmForm
                            [report] => report
                            [to] => [email protected]
                            [noemail] => 1
                            [subject] => FDM: notification http://201.235.253.16/~villasol/
                            [autosender] => 
                            [debug] => 0
                        )
                
                )
                1
                
                
                « MODx Parse Error »
                MODx encountered the following error while attempting to parse the requested resource:
                « `` is not numeric and may not be passed to makeUrl() »
                 
                Parser timing
                  MySQL: 	0.0107 s	(9 Requests)
                  PHP: 	0.0500 s	 
                  Total: 	0.0607 s
                

                Same FMD call, I don’t know why :S

                I’ll try with a fresh 0.96 install in a few hours, so I make a reply soon
                  • 22549
                  • 19 Posts
                  Same problem with a new installation... in both sites, the page is created exactly the same as model, but i have that error, maybe a problem with edit module
                    • 27889
                    • 415 Posts
                    @ pachirulo, I will check that, what is your complete Friendly URL config in the manager ?

                    Give me the pagetitle field for both the document and the model.
                    Please edit your message and place it in the CODE tags so it’ll be not so long
                      MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
                      MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
                      • 27889
                      • 415 Posts
                      New version 0.0.74
                      @pachirulo, I think it solves your latest problems
                        MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
                        MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]