We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2786
    • 2 Posts
    hi all
    I am a novice to Modx .. i have been trying to get understand how the whole system works .. this is proving a little difficult ... i have bee able to work the template and add articles in .. i am now looking at learning to add a gallery .. i have worked with Joomla and this system is so very different .. i am not sure how to get this all working ... just where should i be putting the assets folder .... I am trying to set up the gallery .... hmm i know this is probably so simple.. i just would like somebody to give a pointer in the right direction ... i have read the wiki and have not had much luck there .. is there a starting point or something that I am maybe missing .... thanks

    Barefootedboy
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      The assets folder (directory) is already in your site root. You have the manager folder, the assets folder, and the index.php file there, along with the ht.access file (that gets renamed to .htaccess to handle the rewriting of the URLs for Friendly Urls) and a utility file called ajax-index.php.

      The manager folder you should never need to mess with; it contains the files for the Manager. The assets folder has the cache, a folder for any external snippet files, one for javascript files, one for site images, one for plugins, one for modules, and one for your template’s CSS and images.

      To run MaxiGallery, you need to create another folder in that assets folder called "galleries" and make sure it’s writable (this depends on your server’s configuration), since the MaxiGallery script will need to be able to write into that folder to upload and manipulate the images and thumbnails.

        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 7923
        • 4,213 Posts
        I cannot explain it any better than what’s here:

        http://wiki.modxcms.com/index.php/MaxiGallery#New_installation

        http://wiki.modxcms.com/index.php/MaxiGallery#Usage

        Are you sure you read those?


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 2786
          • 2 Posts
          Thank you very much for both of your imput .. i had read the notes .. but they just did not make sense to me .. Scotwells help got me on the right track

          thanks to you both

          kind regards
          barefootedboy
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            It can get confusing at first, there are "folders" in the document tree in the Manager that are documents with children, then there are "folders" that are directories in your file system!

            I remember thinking that would cause confusion way back when graphical interfaces began to become popular. Just because they used a cute little icon of a folder didn’t mean they weren’t still directories.

            And I prefer to call the document "folders" containers.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 22427
              • 793 Posts
              What can get confusing for a Newbee is in the New Installation section of http://wiki.modxcms.com/index.php/MaxiGallery#Usage the formulation "Put the extracted assets folder to the site root and the files will go to correct place" - because the assets folder is already present: You have only to copy the maxigallery folder into assets/snippets.
              ottogal
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Most fpt uploads will only replace new/changed files, so just putting the extracted assets folder into your site root will just add the new files/folders necessary, existing files and folders won’t be changed. Basically, just do what the instructions say to do, and you’ll be fine.
                  Studying MODX in the desert - http://sottwell.com
                  Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                  Join the Slack Community - http://modx.org
                  • 22427
                  • 793 Posts
                  When I was new to it, I wasn’t sure at all it would work the way you say. If it does - fine!
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    OS X doesn’t work like that; if you drag or paste a folder, it replaces the original and all of its content! I am not sure what Windows does; it’s been years since I’ve used it for anything more than checking on how badly IE has trashed my site tongue
                      Studying MODX in the desert - http://sottwell.com
                      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                      Join the Slack Community - http://modx.org