I've been trying to solve a listing issue I'm having. I know how to use folders and pages tags to list folders and pages, but I can't figure out how to achieve the following structure:
FOLDER NAME 1
-folder name 1 thumbnails
-folder name 1 thumbnails
-folder name 1 thumbnails...etc
FOLDER NAME 2
-folder name 2 thumbnails
-folder name 2 thumbnails
-folder name 2 thumbnails...etc
What I can achieve are:
FOLDER NAME 1
Folder name 1 thumbnail
FOLDER NAME 1
Folder name 1 thumbnail
FOLDER NAME 2
Folder name 2 thumbnail
FOLDER NAME 2
Folder name 2 thumbnail
OR
FOLDER NAME 1
- folder name 1 thumbnail
- folder name 1 thumbnail
- folder name 2 thumbnail
- folder name 2 thumbnail
FOLDER NAME 2
- folder name 1 thumbnail
- folder name 1 thumbnail
- folder name 2 thumbnail
- folder name 2 thumbnail
Is this even a possible structure for couch to achieve without hard coding it? I have found a possible javascript solution to re-order the information once the database prints it out into the document.
FOLDER NAME 1
-folder name 1 thumbnails
-folder name 1 thumbnails
-folder name 1 thumbnails...etc
FOLDER NAME 2
-folder name 2 thumbnails
-folder name 2 thumbnails
-folder name 2 thumbnails...etc
What I can achieve are:
FOLDER NAME 1
Folder name 1 thumbnail
FOLDER NAME 1
Folder name 1 thumbnail
FOLDER NAME 2
Folder name 2 thumbnail
FOLDER NAME 2
Folder name 2 thumbnail
OR
FOLDER NAME 1
- folder name 1 thumbnail
- folder name 1 thumbnail
- folder name 2 thumbnail
- folder name 2 thumbnail
FOLDER NAME 2
- folder name 1 thumbnail
- folder name 1 thumbnail
- folder name 2 thumbnail
- folder name 2 thumbnail
Is this even a possible structure for couch to achieve without hard coding it? I have found a possible javascript solution to re-order the information once the database prints it out into the document.