Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Hello,
I've been working with this all different ways and don't know what I'm doing wrong. I'm open to the fact this may be a glitch with my db, but before I wipe it and start over I just want to verify.

I have a Couch page called Products with 2 folders, "Industrial" and "Home".
Prettyurl is on.
My list page, /product/ which shows up when no specific product is chosen.
My breadcrumb will show the correct link (Products >> Industrial >> product#1) when a specific product is chosen (Industrial in this case).
When I click the link for "Industrial" in the breadcrumb (or when I input the url manually) the URL is correct as //mywebsite.com/product/industrial/ but it is still showing the listing of all the products, not just the ones in the "Industrial" folder.

Is there a way to ONLY list what's in the specific folder? I've tried looking at the tutorial, the core concepts and tag references and nothing seems to be only giving me that view. Is it possible?

Thank you. below is my breadcrumb code:

Code: Select all
<cms:if k_page_foldertitle >
      <cms:if k_is_page || k_is_folder >     
            <cms:breadcrumbs separator='&nbsp;>&nbsp;' include_template='1'/>
        </cms:if>
        <cms:if k_page_title >
            > <cms:show k_page_title /><hr><hr>
           
        </cms:if>
        <cms:else />
             <a href="<cms:show k_template_link />" >
                 <cms:show k_template_title />
              </a>
    </cms:if>
Hi,

Are you sure you have instructed the cms:pages tag doing the listing to take the folder into account as follows? -
<cms:pages folder=k_folder_name ..

Please see http://www.couchcms.com/docs/concepts/l ... pages.html if you are unsure about this.

Does it help?
that was it KK... thank you so much.

so, on my list page (products_list.php) where my 'pages' tag iterates through each cloned page, I added, folder=k_folder_name to that 'pages' tag and now when I click on the link created by the breadcrumb, the only things that are listed are the products inside that specific folder.

Thank you again. I don't know why that thing didn't click in my head. Thanks for your time and consistent timely replies. This is a great system.
3 posts Page 1 of 1