We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14724
    • 27 Posts
    Quote from: JorgenM at Nov 02, 2008, 09:53 AM

    Quote from: doze at Oct 31, 2008, 11:54 AM

    Hmm.. MaxiGallery should work with SAFE MODE also.

    You know that when you call snippets cached like [[MaxiGallery]] you need to set the document to be uncached or change the snippet call to uncached using [!MaxiGallery!], right?

    Hi Doze

    I didn’t! I will try that tomorrov - great if this is the solution - thanks

    Jorgen

    I have now checked and I have used the [!.tags, which should mean the page is uncached. The only indication I get that MaxiGallery is installed is the manager-button, if I log out I cant see any pictures - the pictures are uploaded via FTP, as I cant use the upload function because of the SAFEMODE.

    I thought it should be allright this way - when pictures are uploaded in the subfolder in galleries (mine is named 2) should they have a specific name - eg. 1.jpg, 2.jpg or how is the order indicated??

    Sorry to be such a newbie...
      • 7923
      • 4,213 Posts
      Quote from: JorgenM at Nov 03, 2008, 03:15 AM

      I have now checked and I have used the [!.tags, which should mean the page is uncached. The only indication I get that MaxiGallery is installed is the manager-button, if I log out I cant see any pictures - the pictures are uploaded via FTP, as I cant use the upload function because of the SAFEMODE.

      I thought it should be allright this way - when pictures are uploaded in the subfolder in galleries (mine is named 2) should they have a specific name - eg. 1.jpg, 2.jpg or how is the order indicated??

      Sorry to be such a newbie...
      After you have uploaded files via FTP to /assets/galleries/2, you need to go to the document with ID 2 and use the manage pictures button to make maxigallery management visible and then select the "resynch gallery" button to make maxigallery look for new pictures in the file system. Then the pictures will appear in MaxiGallery picture management and you can order them etc.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 14724
        • 27 Posts

        After you have uploaded files via FTP to /assets/galleries/2, you need to go to the document with ID 2 and use the manage pictures button to make maxigallery management visible and then select the "resynch gallery" button to make maxigallery look for new pictures in the file system. Then the pictures will appear in MaxiGallery picture management and you can order them etc.

        Thanks for the advice - unfortunately the SAFE MODE prevents me from using the MaxiGallery management in any way - also if I just try to resynch, I get the same error message.
        I think the conclusion is that I wont be able to use ModX / MaxiGallery for the project.
          • 16183
          • 1,390 Posts
          Quote from: JorgenM at Nov 03, 2008, 08:25 AM


          I think the conclusion is that I wont be able to use ModX / MaxiGallery for the project.

          That’s a pity sad coz this is a great CMS. Why not use modx and jQuery as I suggested? There’s lots of examples on such an implementation...I can send you the links if you want...

          cheers/k
            • 14724
            • 27 Posts
            I’m aware that I give up a good CMS - I have tried implementing jQuery Cycle Plugin, but I’m a designer with very little knowledge of programming, and couldn’t get it work... wonder how JQuery is working, can I place pictures from the Modx control panel, and the plugin will automatically put the pictures in a slideshow, or do I have to write some code (e.g. the names of the pictures) in the content area for each slideshow I want???
              • 16183
              • 1,390 Posts
              Have a look at this tutorial by a modx community member

              http://www.gregorysmart.com/2008/05/15/follow-up-using-jcarousel-with-modx/

              Gregory uses JCarousel in a very smart way with very clear instructions for implementation in modx.

              JCarousel Lite is here:

              http://www.gmarwaha.com/jquery/jcarousellite/ scroll down for the documentation and the installation. It is relatively easy to implement

              That first link should get you going....JQuery is relatively easy to use...
                • 14724
                • 27 Posts
                Kongondo - thanks a lot for your effort, keeping me working for a solution smiley smiley

                I will check out jCarousel - and especially the instructions.... I will let you know if I succeed!

                Jorgen
                  • 14724
                  • 27 Posts
                  Kongondo - could you please use just a few minutes to tell me if I doing all wrong - this is what I have done:


                  Downloaded the jcarousel.zip-file from sorgalla.com/

                  Extracted and ftp’ed the folder ’jcarousel’ to manager/media/script

                  Put this in my template in <head>:

                  <script type="text/javascript" src="manager/media/script/jcarousel/lib/jquery-1.2.3.pack.js"></script>
                  <script type="text/javascript" src="manager/media/script/jcarousel/lib/jquery.jcarousel.pack.js"></script>
                  <link rel="stylesheet" type="text/css" href="manager/media/script/jcarousel/lib/jquery.jcarousel.css" />
                  <link rel="stylesheet" type="text/css" href="manager/media/script/jcarousel/skins/tango/skin.css" />
                  <script type="text/javascript">

                  jQuery(document).ready(function() {
                  jQuery(’#mycarousel’).jcarousel();
                  });

                  Copied the snippet-text from http://www.gregorysmart.com/downloads/gallery.txt

                  Made a new snippet - named it ’directory’ - and pasted the text into it

                  At the page where I want the gallery I know put this in my content-area:
                  [!directory? &Location=`assets/images/`!]

                  What do I do then? Add som images? - I have tried that but the images just show normally - no slideshow :-(

                  Hope you can use some minutes helping a totally confused newbie smiley
                    • 25483
                    • 741 Posts
                    Quote from: JorgenM at Nov 04, 2008, 03:12 AM

                    I&#146;m aware that I give up a good CMS - I have tried implementing jQuery Cycle Plugin, but I&#146;m a designer with very little knowledge of programming, and couldn&#146;t get it work... wonder how JQuery is working, can I place pictures from the Modx control panel, and the plugin will automatically put the pictures in a slideshow, or do I have to write some code (e.g. the names of the pictures) in the content area for each slideshow I want???

                    With jQuery you can just place you images inside a DIV, jQuery will then automaticly create a slideshow for you. The code from jQuery is very simple, just look in the plugin library from jQuery to find simple examples.

                    I use modx + maxigallery + jQuery on a site to get a slideshow, works perfect for me!
                      with regards,

                      Ronald Lokers
                      'Front-end developer' @ h2o Media

                      • 16183
                      • 1,390 Posts
                      Like MediaGuy says, there are different implementation methods. The method described by Gregory was to achieve a certain goal, i.e. "creating a MODx snippet that could dynamically create an unordered list by only placing and removing images in a specific directory"...i.e. making things easy for the customer.

                      That said, there are other ways of achieving what you want. If you want to achieve what Gregory did, then you can follow that method. However, since this will be your porfolio site (won’t it?) you probably don’t need that method. You can use the other methods. Have a read of this http://sorgalla.com/projects/jcarousel/ if you haven’t already. It tells you how to implement the carousel.

                      How many photos will you have? The argument for using jcarousel lite is that "it is a light-weight alternative for users whose primary focus is not to build a full-blown image gallery"

                      I have to go out at the moment...will look at this when I come back...

                      /k