Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
Hi,

Really love working with couch. I'm kinda new in coding thoug so I could use a little help.

I've created a nested pages menu for the 'gallery' part of a website so the client can add a page and subpages if he likes.
I have also created a menu list so the user can navigate to a subpage. Now I would like to create something of a list view for the submenu's. But instead of showing the data of de child pages beneath the visited page, the list show's all the data.

There must be a simple solution, I can't seem to find it though.

this is my code:

<cms:pages masterpage='impressie_nest.php' page_name=k_folder_name >
-lay out data-
<image src="<cms:show image />" alt="" width="78" height="45" href="<cms:show k_immediate_children cms:show k_nestedpage_link />"/>
</cms:pages>
Hi and welcome, Saskia.
I am glad you liked Couch :)

As for the problem you mentioned, please forgive me but I couldn't really completely understand it (it might have something to do with the fact that it is 3 hours past mid-night now at my place :) )

Could you please post some screenshots or explain more the structure of your site?
Some more details about what the output should ideally look like would be very helpful.

I am sure once the problem is understood, we'll work out a solution.

Thanks.
Hi KK,

I'm sorry I didn't explain my problem clear enough, I'll give it another shot.

My client wants a portfolio section on his website. Inside this portfolio part there must be categories, which he would like to be able to create himself. First I created cloned pages but then the client wouldn't be able to create new categories. So I started over using nested pages. I'm fairly happy with the result except one tiny part. In the cloned pages there is a folder view which allows the website visitor to see only the images belonging to one category. I woul like to make just such a view within the nested pages. A list view containing all of the child pages and then when a visitor selects a category (direct child of first nested page) only sees all the images of pages below the category page (all children of the page).

I've got the list view working, but am stuck on the category view.

I've added some screenshots.

Hope it's more clear now.

Attachments

Ok, I get it now. Thanks for the explanation.

You mentioned -
. Inside this portfolio part there must be categories, which he would like to be able to create himself. First I created cloned pages but then the client wouldn't be able to create new categories. So I started over using nested pages.
Well, that is not the case at all! Your client can easily create the folders (categories) himself - please see http://www.couchcms.com/docs/miscellane ... lders.html.

So, while we can use nested-pages for the portfolio, i think using sinple cloned-pages (with the dynamic folders) would be more straightforward to implement.
I suggest you please revise the code and use cloned-pages.

If, however, you'd still want to continue using nested-pages, please let me know. I'm sure we'll work out something to mimic the folder-view.

Thanks.
Yes! Thanks, it totally worked. I never thought of searching for a solution there, simply followed the tutorial.
5 posts Page 1 of 1