Use Ditto to get the most recent document from the folder that holds the gallery pages. If you need a picture from that gallery, use MaxiGallerySolo and the [+id+] placeholder from Ditto as &gal_ids parameter.
1. Have the main ’Index’ page of the site show the most recent gallery addition, with the title and introtext of the gallery;
Same as above, but retrieve all documents from the folder.
2. Have the main gallery page show a random picture from the child gallery page with the title, date and introtext from that specific child gallery page;
Modify NewsManager snippet what some usergroup can use to create new documents to the gallery folder. Have the MaxiGallery snippet call in some template and use it’s parameters to limit the maximum pics amount to 6 and make the NewsManager snippet to use that template when creating new documents.
3. Allow managed users access to create a new child gallery page easily and upload a maximum of 6 pics into the gallery with the title, date and introtext for that gallery without having to go into the main content managment system to create a new child page (computer and user friendly for the users).
In ditto template, have something like this (a chunk called "dittoTpl"):
Ok, I have spent several hours trying to figure out the Ditto with MaxiGallerySolo to get the main page to work. You said:
Use Ditto to get the most recent document from the folder that holds the gallery pages. If you need a picture from that gallery, use MaxiGallerySolo and the [+id+] placeholder from Ditto as &gal_ids parameter.
How would I call this on the main page? My main page id=2 and main gallery page=19 if that helps.....
<div class="latestGalleryPic"> <p>Random picture from latest gallery:</p> [!MaxiGallerySolo? &galIDs=`[+id+]` &pics_to_show=`1` &type=`random` &open=`gallery_browser`!] </div>
Sorry, I meant the NewsPublisher snippet what is part of NewsManager resource. It has parameters &folder and &template where you set the folder of gallery documents and template id of the template that has the maxigallery call. Then you make the document that has that NewsPublisher call to be available only for selected webusers/groups and they can create new gallery documents from frontend. Modify the NewsPublisher templates to hide any fields that you don’t want/need.
And, with the newsmanager snippet, I could use some help with that one too....
So you want that the pages that are created with NewsEditor all have a MaxiGallery in them? You are not supposed to have that MaxiGallery call in the page with NewsEditor, that doesn’t make it automatically go to the newly created documents.. You could put the MaxiGallery call in to the templates that NewsEditor uses to create the new pages with.. i think.
The NewsEditor (54) has:
[!NewsEditor? &folder=`19` &postid=`55` &clearcache=`1` &template=`global_main`!]
[[MaxiGallery]]
but only the editor portion shows up. I can create a new page this way into my gallery page (19), however if I go to the gallery page to see it in order to get the manage button to show up, it says file not found, so I am unable to add any images.