We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21136
    • 103 Posts
    Oh yes - the CSS "a img" worked great. I was so rapped into this that I forgot to look at the simple way out smiley

    Working on the new line you gave me but seems its still not working.

    I can hit the folder directly from my browser without a problem and the path in this error is correct so not sure why it doesn’t work. It’s strange that it will work when only using [!RandomAd!].

    Regards,

    Ken

    --------------------------------------
    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: opendir(’http://www.domainname.com/assets/images/random’): failed to open dir: No such file or directory
    Error type/ Nr.: Warning - 2
    File: /..../manager/includes/document.parser.class.inc.php(705) : eval()’d code
    Line: 30

    Parser timing
    MySQL: 0.0007 s s (0 Requests)
    PHP: 0.0291 s s
    Total: 0.0298 s s
      • 21136
      • 103 Posts
      Scotty,

      Have any thoughts on the above?

      Thanks,

      Ken
        • 26435
        • 1,193 Posts
        Sorry Ken,
        I’ve been away from the forums for a few days. I am not sure what is causing that error. I don’t have this snippet installed on any of my current setups, but I will install It and see If I can find out what is going on tomorrow. I will report back here with my findings.

        -sD-
        Dr. Scotty Delicious, Scientist
          Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
          All of the above... in no specific order.


          I send pointless little messages
          • 21136
          • 103 Posts
          Scotty,

          Thanks smiley

          Will look forward to hearing from you.

          Regards,

          Ken
            • 17717
            • 433 Posts
            Does anyone know if it is possible to randomly load flash files?

            Thanks
            Lee
              http://www.blend.uk.com | Web Design by Blend
              • 11429
              • 90 Posts
              this doesn’t validate ?

              getting html validation errors
                • 23050
                • 1,842 Posts
                Hi,

                RandomImage uses .thumb made by FCKEditor. Anyone knows how to add a check in under to not take this .thumb ?

                Thank you wink
                  • 23050
                  • 1,842 Posts
                  Quote from: gspark at Feb 13, 2007, 01:34 PM

                  this doesn’t validate ?

                  getting html validation errors

                  It doesn’t validate because a element is outside the div element.
                    • 13736
                    • 345 Posts
                    I was wondering how hard it would be to just loop through the list on a timer instead of randomly. Kind of like a blend between RandomAd and the SimpleSlideSHow snippet.



                      • 1454
                      • 11 Posts
                      When I am adding the snippet, after I press "save", I get this error:

                      Forbidden

                      You don’t have permission to access /manager/index.php on this server.
                      Apache Server at www.rsvpcabo.com Port 80

                      I have successfully installed many snippets, chunks, etc...
                      I am following the directions in the RandomAd.Snippet.txt file.
                      I have never received an error while adding any additions.

                      I am using MODx 9.6.1, PHP 4.4.4

                      Any suggestions what might be wrong?
                        Knowledge is power...ignorance is bliss.