Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
hi all,

i am new to couch and CMS as a whole.
so i just starting to use couch as my first cms and found it very good.

but i have a problem,

i wanted to show all clone pages under a folder, however, it does not work. no matter folder name i put. the pages shows all the clone pages.

Code: Select all
<cms:pages masterpage='must_see.php' folder="Street Markets">
      <div class="grid_6">
           <!--start archivetour-->
            <div class="archivetour yellow fade-left animate1">
               
                <!--left-->
                <div class="leftarchivetour">
               
                    <a href="<cms:show k_page_link />"><img alt="" class="imgleftarchivetour opacity" src="<cms:show main_image />"></a>
               
                    <div class="pricetitleleftarchivetour">
                       
                       
                        <p class="titleleftarchivetour"><cms:show opening_hours /></p>
                    </div>
               
               
                </div>
                <!--end left-->
               
                <!--right-->
                <div class="rightarchivetour">
               
                    <div class="titledayarchivetour">
                        <a href="<cms:show k_page_link />"><p class="titlearchivetour"><cms:show k_page_title /></p></a>
                                                             
                    </div>
                   
                    <div class="descriptioniconsarchivetour">
                   
                        <p class="descriptionarchivetour"> <cms:excerpt count='20'><cms:show must_see_content /> </cms:excerpt>
                  
                  <p style="text-align:right;margin-right:20px;">
                  <a href="<cms:show k_page_link />"> see more </a>
                  <p>
                  
                  </p>
                                           
                    </div>
               
                </div>
                <!--end right-->
                   
            </div>
            <!--end archivetour-->
        </div>
        </cms:pages >


that is part of my code that want to show the clones pages.

any help is much appreciated.
Hello and welcome :)

I see from your code that you are using the folder's 'Title' instead of its 'Name'.

Titles are meant for display and can contain spaces while names are unique identifiers and follow a stricter naming convention.
If you edit a folder in admin-panel, you'll see both the values. Please use the name e.g.
instead of
<cms:pages masterpage='must_see.php' folder="Street Markets">
use
<cms:pages masterpage='must_see.php' folder="street-markets">

Hope this helps.
wow!!

so stupid of me.

thanks for the help.
3 posts Page 1 of 1