Hey there-
How could I make this situation possible:
Page A (list three root folders)
FolderA, FolderB, FolderC
Then, when clicking on one of these folders - you are taking to a page containing only THAT root folders sub-folders
Page B (The children of only THAT root)
FolderA --> SubA1, SubA2, SubA3, etc.
My current code is the following on Page A:
But at the moment this code lists all folders AND subfolders, I only want it to list the three ROOT folders - linked to a page of that ROOTs sub-folders, and then eventually, that sub-folders pages.
How could I make this situation possible:
Page A (list three root folders)
FolderA, FolderB, FolderC
Then, when clicking on one of these folders - you are taking to a page containing only THAT root folders sub-folders
Page B (The children of only THAT root)
FolderA --> SubA1, SubA2, SubA3, etc.
My current code is the following on Page A:
- Code: Select all
<cms:folders masterpage='addproduct.php' orderby='publish_date' order='asc'>
<a href="<cms:show k_folder_link />" class="product_category ol inner_ol hover">
<img src="<cms:show k_folder_image />">
<div class="category_text">
<h1><cms:show k_folder_title /></h1>
</div>
</a>
</cms:folders>
But at the moment this code lists all folders AND subfolders, I only want it to list the three ROOT folders - linked to a page of that ROOTs sub-folders, and then eventually, that sub-folders pages.