We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16892
    • 107 Posts
    This is the javascript error that IE6 is throwing:

    Line: 90
    Char: 1
    Error: Object Expected
    Code: 0

    Please help.
      • 26435
      • 1,193 Posts
      Quote from: legatissima at Mar 05, 2006, 12:07 AM

      This is the javascript error that IE6 is throwing:

      Line: 90
      Char: 1
      Error: Object Expected
      Code: 0

      Please help.

      Does the original version of MiniGallery work on your site?
      http://modxcms.com/forums/index.php/topic,1606.0.html

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


        I send pointless little messages
        • 33337
        • 3,975 Posts
        Scotty! Those are really nice looking effects !

        Thanks for sharing.

        regards,

        zi
          Zaigham R - MODX Professional | Skype | Email | Twitter

          Digging the interwebs for #MODX gems and bringing it to you. modx.link
          • 11515
          • 2 Posts
          Hello There

          Thank you Scotty for this great Mod!

          Now i have one little Problem, i have made a Directory called Gallery in my MODx, an in this Directory i created 2 Pages, "Landscape" and "Friends", now the Problem is that these both pages shares the same photos, so in Landscape and Friends are the same photos! I call miniGallery with the following command on both pages:

          [[MiniGallery?pics_in_a_row=4&max_dim=80]]


          can you please help me?

          Thank you very much
          greets
          Gurgel
            • 26435
            • 1,193 Posts
            Quote from: Gurgel at Mar 15, 2006, 09:26 AM

            Hello There

            Thank you Scotty for this great Mod!

            Now i have one little Problem, i have made a Directory called Gallery in my MODx, an in this Directory i created 2 Pages, "Landscape" and "Friends", now the Problem is that these both pages shares the same photos, so in Landscape and Friends are the same photos! I call miniGallery with the following command on both pages:

            [[MiniGallery?pics_in_a_row=4&max_dim=80]]


            can you please help me?

            Thank you very much
            greets
            Gurgel

            Hi...
            I can’t say I have come across this before. Try FTP’ing to your webserver, and deleting the folders underneath /assets/galleries/. Each time a new MiniGallery is called, it creates a folder there based on the title of the page it was called from. I am not sure if your folders got clumped, but maybe that would help to delete the folders and start over again.

            what kind of webserver are you on?
            OS:
            WebServer:
            Database:

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


              I send pointless little messages
              • 27788
              • 6 Posts
              That’s a sweet looking snippet, I can’t wait to give it a go. The focus effect of dimming the rest of the page is fantastic, and really inspires as another example of the power of MODx.

              Great work Scotty D, thanks for releasing work of such quality.
                • 11515
                • 2 Posts
                Thank You Scotty, it worked!

                My OS is: CentOS ( with BlueQuartz GUI installed )
                DB is: MySQL 4.1.12
                  • 21595
                  • 159 Posts
                  somebody can tell me if the options of the original snippet are working cause i try to put an order and it’s not working.

                  * display=[embedded | childgalleries]
                  Two special modes:
                  embedded: Makes full size pictures pop up in a new window without any HTML around them.
                  childgalleries: Will produce an overview of galleries in the children pages.
                  Default: not chosen
                  * picture_target=NUMBER
                  Full size pictures can be displayed on a different page (possibly with a different template/text around it), whose ID you can specify here. You just have to place an [[EtoGal?is_target=yes]] call on that page. (overwrites display=embedded)
                  If nothing is specified, it uses the same page as the gallery is on.
                  Default: not chosen
                  * titles_in_overview=[no | yes]
                  Shall picture titles be shown in the picture overview, or only on the picture view page? Useful for embedded mode, because no titles are shown in the "pure picture" pop up window
                  Default: no
                  * max_pic_size=NUMBER
                  If this is nonzero, larger pictures will get resized on uploading.
                  Default: 800
                  * max_thumb_size=NUMBER
                  Thumbnails will get created with the longer edge this size.
                  Default: 150
                  * pics_in_a_row=NUMBER
                  Pretty self-explanatory... number of pictures in a row in the overview
                  Default: 3
                  * order_by=[date | id | filename | title]
                  In the picture overview, pictures are ordered by: EXIF/last edit date, picture id ("upload date"), filename or title.
                  Default: date
                  * order_direction=[ASC | DESC]
                  together with the order_by parameter, this determines which direction the order should take: ascending or descending.
                  Default: DESC (together with date brings newest pictures on top)
                  * keep_date=[yes | no]
                  If yes, then EtoGal won’t reset the date on each picture when editing. This means, the date will be left at the upload status (which is either the upload date or the EXIF date).
                  Default: no
                  * gtable=TEXT
                  This allows you to rename the name of the table that gets created in your database (should not be necessary except for testing purposes).
                  Default: etogal
                    • 26435
                    • 1,193 Posts
                    * display=[embedded | childgalleries] : Both work.
                    * titles_in_overview=[no | yes] : Have not gotton this to work.
                    * max_pic_size=NUMBER : Works.
                    * max_thumb_size=NUMBER : Works.
                    * pics_in_a_row=NUMBER : Works.
                    * order_by=[date | id | filename | title] : Have not gotton this to work.
                    * order_direction=[ASC | DESC] : Have not gotton this to work.
                    * gtable=TEXT : I did not check this one.

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


                      I send pointless little messages
                      • 21595
                      • 159 Posts
                      for all the people who want to order by name
                      line 41
                      if(!isset($order_direction)) $order_direction="DESC";

                      line 301
                        $pics=$modx->getIntTableRows("id,title,filename", $pics_tbl, "gal_alias='" . $pageinfo['alias'] . "'",$order_by,$order_direction);


                      et you put option
                      &order_direction=[ASC | DESC]

                      et voilà