We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22303 MODX Staff
    • 10,725 Posts
    Right, I think the issue here is the way you are using makeUrl() -- you should never supply a ? before a parameter string given in makeUrl() -- you only ever need to use &, because all MODx URL’s have a ? already, even if when rewritten by mod_rewrite, you can’t see it anymore. wink
      • 7923
      • 4,213 Posts
      Yes yes, I know this and I never use ? in the parameters when calling makeUrl function. But even though you call make url api with &someparameter, it automatically changes the first parameter to be ?someparameter when furls are enabled. And when user has FURLs enabled and uses index.php?q= as prefix (that allready has ? to be in url) then when makeUrl builds the url, it becomes index.php?q=<alias><suffix>?someparameter.. you see? So makeUrl should look when generating the urls that if FURLs are enabled, if prefix or suffix allready has ? it should use & at the first parameter.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 8164
        • 51 Posts
        Okay, I hope this isn’t just something I’ve been overlooking for two hours or some really fundamental thing I’m just not managing to grasp (either is possible), but I can’t seem to get two things working with my implementation of MaxiGallery on this page:

        http://www.ideabankpreview.com/mhm/take-a-look.htm

        The snippet call is:

        [[MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &pics_in_a_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &titles_in_overview=`1` &thumb_use_dropshadow=`1`]]

        1. Why do the thumbnails have a border?

        2. Why can’t I see the caption/title etc. that was entered in the manage gallery interface? How do I get captions into the overview and the larger photo?

        Thanks so much for your help...

        Duane
          • 11975
          • 2,542 Posts
          Hi,

          i don(t have all the answers but concerning the first one, do you use IE to see your website huh
          If so you have to turn off this border with css.

          img {
          border:none;
          }

          sould do the trick.

          Hope that helps.
            Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
            • 8164
            • 51 Posts
            Quote from: heliotrope at Jul 03, 2006, 12:16 PM

            Hi,

            i don(t have all the answers but concerning the first one, do you use IE to see your website huh
            If so you have to turn off this border with css.

            img {
            border:none;
            }

            sould do the trick.

            Hope that helps.

            Perfect! Now, if I could just figure out why the title/caption thing won’t work. LOL.

            Must be Monday. My brain is fogged.

            Duane

            UPDATE: THIS WAS ALSO A CSS ISSUE. I PUT THE SNIPPET CALL INSIDE A SPAN CLASS THAT CHANGED THE FONT COLOR FROM WHITE (THE DEFAULT CSS) TO BLACK.
              • 21075
              • 24 Posts
              Hello,

              There are quite a few posts to go through in this thread, so forgive me if someone’s already posted an answer for this.

              I’ve installed this snippet, but when I go to upload images, I get the following error:

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

              PHP error debug
              Error: mkdir(): SAFE MODE Restriction in effect. The script whose uid is 572 is not allowed to access / owned by uid 0
              Error type/ Nr.: Warning - 2
              File: /home/www/thefrenchtradition/MODx/manager/includes/document.parser.class.inc.php(705) : eval()’d code
              Line: 360

              Parser timing
              MySQL: 0.0426 s s (10 Requests)
              PHP: 0.1047 s s
              Total: 0.1473 s s

              I’ve already seen the posts about the cacheable/uncacheable issue and that doesn’t seem to be it. Can anyone help me get to the bottom of this?

              Thanks
                • 7923
                • 4,213 Posts
                Quote from: Duane at Jul 03, 2006, 01:25 PM

                Perfect! Now, if I could just figure out why the title/caption thing won’t work. LOL.
                Sorry for the late answers, been busy all week.. Have you gotten this resolved yet? If not, could you send me a url to the site via PM and I’ll take a look what’s happening..

                If you have set some titles and/or descriptions for the pictures at picture management, they should be visible on the lightboxes instantly.. But just to make sure, you do have the gallery document set to be uncached, right? I guess, because the picture management wouldn’t work otherwise.

                Quote from: Neatoman at Jul 03, 2006, 11:53 PM

                I’ve installed this snippet, but when I go to upload images, I get the following error:

                mkdir(): SAFE MODE Restriction in effect. The script whose uid is 572 is not allowed to access / owned by uid 0

                I’ve already seen the posts about the cacheable/uncacheable issue and that doesn’t seem to be it. Can anyone help me get to the bottom of this?
                This is because you have php safe mode restrictions on the server (for openbase dir, i guess). There isn’t really a fix for this, but you can get around it. Look for instructions here.


                  "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                  • 20621
                  • 8 Posts
                  Quote from: doze at May 22, 2006, 01:57 PM

                  Quote from: hexagone at May 22, 2006, 09:16 AM

                  No, I haven’t changed any of the default images. If it might help the default image mask don’t work also. I don’t get any error messages the image simply display without any drop shadow.
                  What’s the path where you have copied the snippet files? Are you sure that all files and folders are in place? Do you use Windows server?

                  Hi!

                  I just installed ModX (wonderful!) and started playing with it and some snippets, and of course MaxiGallery, as I need it.

                  But I have the same problem as hexagone, the dropshadow and imagemask options aren’t working for me.

                  I call the snippet exactly as hexagon does:
                  [[MaxiGallery? &pics_in_a_row=`3` &manager_webgroups=`Registered Users` &display=`embedded` &embedtype=`lightboxv2` &titles_in_overview=`1` &thumb_use_dropshadow=`1` &pic_use_dropshadow=`1`]]


                  I’m using MaxiGallery MaxiGallery v0.4.1. I ticked off the "Cacheable" option on "Page Settings" tab. I also did not changed anything on the code of the snippet and uploaded to the default places following the instructions shown on the Repository. I copied the snipped files to /assets/snippets/maxigallery/ and didn’t change any name or anything else.

                  You can see my Gallery test at http://www.multiverso.com/galeria.html

                  Thanks in advance for any help, as this snippet looks great.
                    • 7923
                    • 4,213 Posts
                    Quote from: multiverso at Jul 07, 2006, 02:53 AM

                    But I have the same problem as hexagone, the dropshadow and imagemask options aren’t working for me.

                    I call the snippet exactly as hexagon does:
                    [[MaxiGallery? &pics_in_a_row=`3` &manager_webgroups=`Registered Users` &display=`embedded` &embedtype=`lightboxv2` &titles_in_overview=`1` &thumb_use_dropshadow=`1` &pic_use_dropshadow=`1`]]

                    Hi,

                    There’s nothing wrong with the snippet call.. The server where you run your modx installation doesn’t seem to support imagealtering.. Could you check your GD library version from PHP info and maybe put it visible somewhere for me to look at. You can find php info at the modx manager by looking to Administration -> View system info -> View link at phpinfo().

                    Or you could do a snippet with code "return phpinfo();" and call it at some document.

                    EDIT:

                    Quote from: multiverso at Jul 07, 2006, 02:53 AM

                    You can see my Gallery test at http://www.multiverso.com/galeria.html
                    BTW. To get that login page link show up correctly at the menu, go to MODx manager and Resources -> Manage resources -> Template Variables -> loginName -> Template access and check your template there. It allows the template variable to be used in your template, and it’s used as page title for login page what goes to menu.


                      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                      • 20621
                      • 8 Posts
                      Hi doze, thanks for your fast and helpful reply.

                      Could you check your GD library version from PHP info and maybe put it visible somewhere for me to look at. You can find php info at the modx manager by looking to Administration -> View system info -> View link at phpinfo().

                      Please check http://www.multiverso.com/phpinfo, you can see the the phpinfo there.


                      BTW. To get that login page link show up correctly at the menu, go to MODx manager and Resources -> Manage resources -> Template Variables -> loginName -> Template access and check your template there. It allows the template variable to be used in your template, and it’s used as page title for login page what goes to menu.

                      Thanks also for this, I’m just new to ModX and still have to learn the relation between all the components.

                      This discussion is closed to further replies. Keep calm and carry on.