We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25883
    • 128 Posts
    I haven’t installed this yet, but I’m interested.

    Does the user get a box to type in the password? Is it a pop-up box for authentication, or something right on the page?

    Or, can the password be appended as a string onto the URL?
    That would be a great feature, so a link to a password protected page could be included in an email, etc.
      • 7690
      • 166 Posts
      any news about passwords with the childs?

      i have also tried the @inhertit, but how do i do this exactly?

      dont understand where to put the @inherit. In a new TV with the snippetcall?
        • 4749
        • 623 Posts
        Thanks! Works as advertised!
          The MODx has you...
          Utah Web Design
          • 23491 ☆ A M B ☆
          • 1,056 Posts
          Sorry guys, haven’t had much time to work on correcting @INHERIT. I will see what time I can carve-out and see if I can get an updated release out!
            Mike Reid - www.pixelchutes.com
            MODx Ambassador / Contributor
            [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
            ________________________________
            Where every pixel matters.
            • 29525
            • 388 Posts
            i have also tried the @inhertit, but how do i do this exactly?

            dont understand where to put the @inherit. In a new TV with the snippetcall?

            I love this snippet!

            However, I’m also stuck on this.   How is this supposed to work?

            I have determined that putting @INHERIT[!DocPassword!] will cause the child documents to adopt the password of the parent document. However, I still have to enter the password on each child document to view it.
              www.terrybarthdesign.com
              • 23491 ☆ A M B ☆
              • 1,056 Posts
              Quote from: Terry at Mar 14, 2009, 01:20 PM

              I love this snippet!

              However, I’m also stuck on this.   How is this supposed to work?

              I have determined that putting @INHERIT[!DocPassword!] will cause the child documents to adopt the password of the parent document.  However, I still have to enter the password on each child document to view it.

              Terry,

              What happens when you simply enter @INHERIT as the child’s password? Or, when you set @INHERIT as the Default Value for DocPasswordTV template variable?

              I just tried a test case (MODx v0.9.6.3) where I set @INHERIT as the default value when setting up the TV. Then, I created a parent container (assigning it a password) as well as a few child documents with my DocPassword snippet call:

              [!DocPassword? &redirect=`113`!]

              (where 113 is my "password form" page...also, I confirmed that DocPasswordTV value was coming through as @INHERIT on the child document)

              When I try to access the child document, I am taken to my password form page and only by entering the password I set up on the Parent Container am I able to access this child document...

              The main limitation I see with the current version is having to re-type the same Inherited password for each child document...
                Mike Reid - www.pixelchutes.com
                MODx Ambassador / Contributor
                [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
                ________________________________
                Where every pixel matters.
                • 29525
                • 388 Posts
                pixelchutes

                I think you have confirmed that you do have to enter the password on parent document and the same (inherited) password again to access the child document.

                So the #INHERIT is working as expected.

                I had hoped that it would make the child document accessible without entering the password again.

                Looking forward to the new version!

                Thank you!
                  www.terrybarthdesign.com
                  • 31039
                  • 49 Posts
                  I’ve been looking at the "DocPassword" snippet and it seems that there is some information missing on how to get it working.

                  There are instructions 1, 2, 3 and 5. However, "4." seems to be missing?

                  --

                  I’ve got the snippet to install and it’s comming up with my custom login box but it won’t then permit me to submit a password.
                    • 27302
                    • 154 Posts
                    I have got this snippet working as intended. But one thing is puzzling me. Once I have logged in and the page is show, there are two links at the top of the page. One to the page that I am viewing, and one to the Unauthorised page. Why are these links appearing? And is there a way to get rid of them?
                      • 27302
                      • 154 Posts
                      Oay, this snippet is really causing issues now. For some reason the TV is affecting ALL pages in my site even when it isn’t associated with their templates!!!