I wasn’t really thinking about adding it on multiple pages, but sure, you could.
When reading about and installing the Gallery, I learned you show it on your page by slapping the following in your visual page editor:
[[PhotoGallery?galleryid=`1`]]
It worked, but I did not realize right away that I was using a snippet. It just worked (my gallery appeared on my page), but it was postiioned way to far down the page and you had to scroll down to see it. You might have not even seen the gallery if your screen size wasn’t big enough or you didn’t notice the scroll bars on the browser.
I then tried to read all the template files and the gallery files to determine if there was any positioning info. It looked quite perplexing. I tried a few things and nothing worked, so I figured I need to learn how things are working.
So I figured, I got this text that I typed into the top of my editor (it’s a snippet call, but it’s still text), but how would I force it to go somewhere else I wanted when something was causing it to appear somewhere else? I remembered from my CSS tutorial on
http://www.echoecho.com/cssintroduction.htm ( specifically
http://www.echoecho.com/cssselectors03.htm ) that I could position items at exact locations. That page showed me the code, so I was thinking about how I would implement it.
In the MODX documentation intro to terminology section I read : "Chunks - these are re-usable pieces of HTML content". That is what I wanted to do. Put some html on my page. At the time, I did not care about the ’re-usable’ part.
I might start writing some tips for beginners like me as I overcome my obstacles. I think I posted another question recently and still the answer some one gave did not help due to some other knowledge that was assumed or overlooked.