Page 1 of 1

Mega Menu: List of Folders

Posted: 20 Nov 2014, 00:02
by alexhenes
With respect to the Mega Menu...

Is is possible to display (on the mega menu) a list of folders (which contain sub folders) but the list of the sub folders themselves?

For example... on test.merelyafleshwound.com under the Mountaineering section... I would like to list folders that each represent a mountain range. When the user clicks on a mountain range folder they would get a page with a list of folders for each mountain in the range (these folders would contain images).

Re: Mega Menu: List of Folders

Posted: 20 Nov 2014, 01:28
by mjau-mjau
Yes ... Just try it ...

You could have:
mountaineering/major/minor/gallery1/
mountaineering/major/minor/gallery2/


The menu menu for mountaineering would list the major->minor folders, which basically could contain more folders (galleries). When the visitor clicks a "minor" page within the menu, it would load that page which contains additional galleries.

You would just have to use the folders setting on your "minor" pages to create an "albums" layout for that page.

Re: Mega Menu: List of Folders

Posted: 21 Nov 2014, 01:07
by alexhenes
the link to folders examples in the documentation is broken. It points to https://www.photo.gallery/x3docs/folders/ which is a 404 error.

Re: Mega Menu: List of Folders

Posted: 21 Nov 2014, 01:18
by mjau-mjau
alexhenes wrote:the link to folders examples in the documentation is broken. It points to https://www.photo.gallery/x3docs/folders/ which is a 404 error.
Where do you see that link?

In this page, there is a link to /demo/x3/examples/folders/, which works fine.

Re: Mega Menu: List of Folders

Posted: 21 Nov 2014, 01:20
by alexhenes
In the folder section of this page in the X3 Beta Documenation:

https://www.photo.gallery/x3docs/pages/settings/

Re: Mega Menu: List of Folders

Posted: 21 Nov 2014, 01:38
by mjau-mjau
thanks, will have this corrected asap ... it should point here:
https://www.photo.gallery/demo/x3/examples/folders/

Re: Mega Menu: List of Folders

Posted: 21 Nov 2014, 01:42
by alexhenes
thanks!

I still can't figure out how to list just the major folders in the mega menu and not list the galleries under them.

For example... on test.merelyafleshwound.com in the Mountaineering section... I would like to list the major folders (ie. the ranges) without listing the mountains(galleries) on the menu. However... when a user clicks on the range... they would get a grid of the mountain folders.

hope I am making sense

Re: Mega Menu: List of Folders

Posted: 21 Nov 2014, 02:12
by mjau-mjau
alexhenes wrote:I still can't figure out how to list just the major folders in the mega menu and not list the galleries under them.
If you only want to list one level (the first level of items), then why are you using the mega menu in the first place? The whole point of the list mega menu is to show subfolders+subsubfolders in a single element.

Re: Mega Menu: List of Folders

Posted: 21 Nov 2014, 02:19
by alexhenes
I thought it would be a cool way to show a half dozen or more mountain ranges. I didn't see an option in the demo that did the job better. I really like being able to list the second tier of folders... but there are simply going to be too many.

Maybe there could be a way to list a predetermined number of sub folders... then have a "more..." which would link the the grid of galleries for the parent folder?

Re: Mega Menu: List of Folders

Posted: 21 Nov 2014, 05:09
by mjau-mjau
alexhenes wrote:I thought it would be a cool way to show a half dozen or more mountain ranges. I didn't see an option in the demo that did the job better. I really like being able to list the second tier of folders... but there are simply going to be too many.
Let me make sure I understand you correctly: You only want to list 1 level of subfolders in the mega menu, but you have such a large amount of items here that you would like to use the full width of the mega menu instead of a plain dropdown menu? That would be a feasible request.
alexhenes wrote:Maybe there could be a way to list a predetermined number of sub folders... then have a "more..." which would link the the grid of galleries for the parent folder?
You can already limit the amount if items listed, by adding limit:[amount] to the menu setting of the parent menu page:
Code
menu: limit:10
There is no "more" option available though, but I would definitely consider adding it.